Your Exploit is Mine: Instantly Synthesizing Counterattack Smart Contract
Zhuo Zhang, Zhiqiang Lin, Marcelo Morales, Xiangyu Zhang, Kaiyuan Zhang
摘要
Smart contracts are susceptible to exploitation due to their unique nature. Despite efforts to identify vulnerabilities using fuzzing, symbolic execution, formal verification, and manual auditing, exploitable vulnerabilities still exist and have led to billions of dollars in monetary losses. To address this issue, it is critical that runtime defenses are in place to minimize exploitation risk. In this paper, we present STING, a novel runtime defense mechanism against smart contract exploits. The key idea is to instantly synthesize counterattack smart contracts from attacking transactions and leverage the power of Maximal Extractable Value (MEV) to front run attackers. Our evaluation with 62 real-world recent exploits demonstrates its effectiveness, successfully countering 54 of the exploits (i.e., intercepting all the funds stolen by the attacker). In comparison, a general front-runner defense could only handle 12 exploits. Our results provide a clear proof-of-concept that STING is a viable defense mechanism against smart contract exploits and has the potential to significantly reduce the risk of exploitation in the smart contract ecosystem.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts 引用了 Making Smart Contracts Smarter
- Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 Rollups 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 Rollups
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Making Smart Contracts Smarter
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
- Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Making Smart Contracts Smarter
- Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
- Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
- sFuzz: an efficient adaptive fuzzer for solidity smart contracts 引用了 teEther: Gnawing at Ethereum to Automatically Exploit Smart Contracts
- sFuzz: an efficient adaptive fuzzer for solidity smart contracts 引用了 Making Smart Contracts Smarter
- SlimArchive: A Lightweight Architecture for Ethereum Archive Nodes 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
- Demystifying Invariant Effectiveness for Securing Smart Contracts 引用了 Making Smart Contracts Smarter
- Demystifying Invariant Effectiveness for Securing Smart Contracts 引用了 sFuzz: an efficient adaptive fuzzer for solidity smart contracts
- Securify: Practical Security Analysis of Smart Contracts 引用了 Making Smart Contracts Smarter
引用它的顶会 Paper14
- Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart ContractsWuqi Zhang, Zhuo Zhang, Qingkai Shi, Lu Liu 等S&P 2024 · 23 次引用
- Demystifying Invariant Effectiveness for Securing Smart ContractsZhiyang Chen, Ye Liu, Sidi Mohamed Beillahi, Yi Li 等FSE 2024 · 15 次引用
- Rolling in the Shadows: Analyzing the Extraction of MEV Across Layer-2 RollupsChristof Ferreira Torres, Albin Mamuti, Ben Weintraub, Cristina Nita-Rotaru 等CCS 2024 · 12 次引用
- SlimArchive: A Lightweight Architecture for Ethereum Archive NodesHang Feng, Yufeng Hu, Yinghan Kou, Runhuai Li 等USENIX ATC 2024 · 11 次引用
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source ContractsSen Yang, Kaihua Qin, Aviv Yaish, Fan ZhangCCS 2026 · 3 次引用
它引用的 Paper19
- Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena 等CCS 2016 · 2,306 次引用
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- teEther: Gnawing at Ethereum to Automatically Exploit Smart ContractsJohannes Krupp, Christian RossowUSENIX Security 2018 · 345 次引用
- Quantifying Blockchain Extractable Value: How dark is the forest?Kaihua Qin, Liyi Zhou, Arthur GervaisS&P 2022 · 336 次引用
- sFuzz: an efficient adaptive fuzzer for solidity smart contractsTai D. Nguyen, Long H. Pham, Jun Sun, Yun Lin 等ICSE 2020 · 260 次引用
相关 Paper
- An Ever-evolving Game: Evaluation of Real-world Attacks and Defenses in Ethereum EcosystemShunfan Zhou, Zhemin Yang, Jie Xiang, Yinzhi Cao 等USENIX Security 2020
- On Identifying Sound Conditions for Frontrunning ResistanceSebastian Holler, Anna Piscitelli, Jannik Albrecht, Stephan Dübler 等CCS 2026
- SmarTest: Effectively Hunting Vulnerable Transaction Sequences in Smart Contracts through Language Model-Guided Symbolic ExecutionSunbeom So, Seongjoon Hong, Hakjoo OhUSENIX Security 2021 · 118 次引用
- Summary-Based Symbolic Evaluation for Smart ContractsYu Feng, Emina Torlak, Rastislav BodíkASE 2020 · 15 次引用
- Demystifying Exploitable Bugs in Smart ContractsZhuo Zhang, Brian Zhang, Wen Xu, Zhiqiang LinICSE 2023 · 80 次引用
