Lune

NDSS2019顶会

Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attacks

Michael Rodler, Wenting Li, Ghassan O. Karame, Lucas Davi

摘要

Recently, a number of existing blockchain systems have witnessed major bugs and vulnerabilities within smart contracts. Although the literature features a number of proposals for securing smart contracts, these proposals mostly focus on proving the correctness or absence of a certain type of vulnerability within a contract, but cannot protect deployed (legacy) contracts from being exploited. In this paper, we address this problem in the context of re-entrancy exploits and propose a novel smart contract security technology, dubbed Sereum (Secure Ethereum), which protects existing, deployed contracts against re-entrancy attacks in a backwards compatible way based on run-time monitoring and validation. Sereum does neither require any modification nor any semantic knowledge of existing contracts. By means of implementation and evaluation using the Ethereum blockchain, we show that Sereum covers the actual execution flow of a smart contract to accurately detect and prevent attacks with a false positive rate as small as 0.06% and with negligible run-time overhead. As a by-product, we develop three advanced re-entrancy attacks to demonstrate the limitations of existing offline vulnerability analysis tools.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 59 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Erays: Reverse Engineering Ethereum's Opaque Smart Contracts
  • Erays: Reverse Engineering Ethereum's Opaque Smart Contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • ZEUS: Analyzing Safety of Smart Contracts 引用了 Making Smart Contracts Smarter
  • TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum 引用了 Making Smart Contracts Smarter
  • TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Making Smart Contracts Smarter
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Erays: Reverse Engineering Ethereum's Opaque Smart Contracts
  • Ethainter: a smart contract security analyzer for composite vulnerabilities 引用了 Securify: Practical Security Analysis of Smart Contracts
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Making Smart Contracts Smarter
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Smart Contract Vulnerabilities: Vulnerable Does Not Imply Exploited
  • SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds 引用了 Securify: Practical Security Analysis of Smart Contracts
  • GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis 引用了 Ethainter: a smart contract security analyzer for composite vulnerabilities
  • GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis 引用了 SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in Seconds
  • GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Smart Contract Vulnerabilities: Vulnerable Does Not Imply Exploited 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Smart Contract Vulnerabilities: Vulnerable Does Not Imply Exploited 引用了 Making Smart Contracts Smarter
  • Smart Contract Vulnerabilities: Vulnerable Does Not Imply Exploited 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Erays: Reverse Engineering Ethereum's Opaque Smart Contracts 引用了 Making Smart Contracts Smarter
  • Securify: Practical Security Analysis of Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper59

  1. Ethainter: a smart contract security analyzer for composite vulnerabilitiesLexi Brent, Neville Grech, Sifis Lagouvardos, Bernhard Scholz 等PLDI 2020 · 163 次引用
  2. Smart Contract Vulnerabilities: Vulnerable Does Not Imply ExploitedDaniel Perez, Benjamin LivshitsUSENIX Security 2021 · 150 次引用
  3. SAILFISH: Vetting Smart Contract State-Inconsistency Bugs in SecondsPriyanka Bose, Dipanjan Das, Yanju Chen, Yu Feng 等S&P 2022 · 142 次引用
  4. TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in EthereumTing Chen, Yufei Zhang, Zihao Li, Xiapu Luo 等CCS 2019 · 140 次引用
  5. GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program AnalysisYuqiang Sun, Daoyuan Wu, Yue Xue, Han Liu 等ICSE 2024 · 131 次引用

它引用的 Paper5

  1. Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
  2. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
  3. ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 次引用
  4. teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用
  5. Erays: Reverse Engineering Ethereum's Opaque Smart ContractsYi Zhou, Deepak Kumar, Surya Bakshi, Joshua Mason 等USENIX Security 2018 · 107 次引用

相关 Paper

  1. Uncover the Premeditated Attacks: Detecting Exploitable Reentrancy Vulnerabilities by Identifying Attacker ContractsShuo Yang, Jiachi Chen, Mingyuan Huang, Zibin Zheng 等ICSE 2024 · 24 次引用
  2. Enhancing Smart Contract Security Analysis with Execution Property GraphsKaihua Qin, Zhe Ye, Zhun Wang, Weilin Li 等ISSTA 2025 · 1 次引用
  3. Reentrancy Vulnerability Detection and Localization: A Deep Learning Based Two-phase ApproachZhuo Zhang, Yan Lei, Meng Yan, Yue Yu 等ASE 2022 · 56 次引用
  4. TXSPECTOR: Uncovering Attacks in Ethereum from TransactionsMengya Zhang, Xiaokuan Zhang, Yinqian Zhang, Zhiqiang LinUSENIX Security 2020
  5. Turn the Rudder: A Beacon of Reentrancy Detection for Smart Contracts on EthereumZibin Zheng, Neng Zhang, Jianzhong Su, Zhijie Zhong 等ICSE 2023 · 52 次引用
黄昏的海面,两侧是细线勾勒的悬崖