Lune

ICSE2023顶会

Demystifying Exploitable Bugs in Smart Contracts

Zhuo Zhang, Brian Zhang, Wen Xu, Zhiqiang Lin

摘要

Exploitable bugs in smart contracts have caused significant monetary loss. Despite the substantial advances in smart contract bug finding, exploitable bugs and real-world attacks are still trending. In this paper we systematically investigate 516 unique real-world smart contract vulnerabilities in years 2021–2022, and study how many can be exploited by malicious users and cannot be detected by existing analysis tools. We further categorize the bugs that cannot be detected by existing tools into seven types and study their root causes, distributions, difficulties to audit, consequences, and repair strategies. For each type, we abstract them to a bug model (if possible), facilitating finding similar bugs in other contracts and future automation. We leverage the findings in auditing real world smart contracts, and so far we have been rewarded with 102,660bugbountiesforidentifying15criticalzero−dayexploitablebugs,whichcouldhavecausedupto102,660 bug bounties for identifying 15 critical zero-day exploitable bugs, which could have caused up to 22.52 millions monetary loss if exploited.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
  • Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 SmartInv: Multimodal Learning for Smart Contract Invariant Inference
  • Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis
  • Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 Securify: Practical Security Analysis of Smart Contracts
  • SmartInv: Multimodal Learning for Smart Contract Invariant Inference 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • SmartInv: Multimodal Learning for Smart Contract Invariant Inference 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • SmartInv: Multimodal Learning for Smart Contract Invariant Inference 引用了 Making Smart Contracts Smarter
  • ZEUS: Analyzing Safety of Smart Contracts 引用了 Making Smart Contracts Smarter
  • Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Making Smart Contracts Smarter
  • Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? 引用了 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 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 Making Smart Contracts Smarter
  • Empirical review of automated analysis tools on 47, 587 Ethereum smart contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts 引用了 ZEUS: Analyzing Safety of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program AnalysisYuqiang Sun, Daoyuan Wu, Yue Xue, Han Liu 等ICSE 2024 · 131 次引用
  2. SmartInv: Multimodal Learning for Smart Contract Invariant InferenceSally Junsong Wang, Kexin Pei, Junfeng YangS&P 2024 · 38 次引用
  3. Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with JustificationsWei Ma, Daoyuan Wu, Yuqiang Sun, Tianwen Wang 等ICSE 2025 · 28 次引用
  4. Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We?Kaixuan Li, Yue Xue, Sen Chen, Han Liu 等FSE 2024 · 26 次引用
  5. Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart ContractsWuqi Zhang, Zhuo Zhang, Qingkai Shi, Lu Liu 等S&P 2024 · 23 次引用

它引用的 Paper16

  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. Empirical review of automated analysis tools on 47, 587 Ethereum smart contractsThomas Durieux, João F. Ferreira, Rui Abreu, Pedro CruzICSE 2020 · 373 次引用
  5. teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用

相关 Paper

  1. Towards Finding Accounting Errors in Smart ContractsBrian ZhangICSE 2024 · 8 次引用
  2. An Ever-evolving Game: Evaluation of Real-world Attacks and Defenses in Ethereum EcosystemShunfan Zhou, Zhemin Yang, Jie Xiang, Yinzhi Cao 等USENIX Security 2020
  3. Large-Scale Study of Vulnerability Scanners for Ethereum Smart ContractsChristoph Sendner, Lukas Petzi, Jasper Stang, Alexandra DmitrienkoS&P 2024 · 19 次引用
  4. Smart Contract Vulnerabilities: Vulnerable Does Not Imply ExploitedDaniel Perez, Benjamin LivshitsUSENIX Security 2021 · 150 次引用
  5. Smart Contract and DeFi Security Tools: Do They Meet the Needs of Practitioners?Stefanos Chaliasos, Marcos Antonios Charalambous, Liyi Zhou, Rafaila Galanopoulou 等ICSE 2024 · 49 次引用
黄昏的海面,两侧是细线勾勒的悬崖