Surviving in Dark Forest: Towards Evading the Attacks from Front-Running Bots in Application Layer
Zuchao Ma, Muhui Jiang, Feng Luo, Xiapu Luo, Yajin Zhou
摘要
Blockchains face significant risks from front-running attacks, leading to multi-billion USD losses. These attacks are often executed by front-running bots, automated tools that operate at high speed to execute transactions, exacerbating the threat landscape. Consequently, it is crucial for blockchain developers to design strategies at the application layer to mitigate these attacks. Interestingly, real-world strategies for evading front-running remain under-explored in their taxonomy and distribution due to their covert nature. Understanding these evasion tactics is vital for assessing the resilience of the current blockchain application layer and identifying areas for potential enhancement, thereby strengthening the ecosystem. In this work, we take the first step to demystify evading strategies in Ethereum and BNB Smart Chain. We propose EVScope , a novel framework combining binary analysis and machine learning to detect known and unknown evading strategies. Using EVScope , we examine 6,761,186 arbitrage transactions and 71 significant attack transactions that evaded the front-running attacks from bots in the wild. Our findings uncover 32 refined strategies involving access control, profit control, execution split, and code obfuscation. 25/32 are first introduced in this work, and 28/32 are first applied in evading front-running, which fills a critical gap in the literature.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Soleker: Uncovering Vulnerabilities in Solana Smart Contracts 引用了 Recasting Type Hints from WebAssembly Contracts
- Soleker: Uncovering Vulnerabilities in Solana Smart Contracts 引用了 Securify: Practical Security Analysis of Smart Contracts
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source Contracts 引用了 Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain
- 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
- Light into Darkness: Demystifying Profit Strategies Throughout the MEV Bot Lifecycle 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
- Light into Darkness: Demystifying Profit Strategies Throughout the MEV Bot Lifecycle 引用了 Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum Blockchain
- Light into Darkness: Demystifying Profit Strategies Throughout the MEV Bot Lifecycle 引用了 Quantifying Blockchain Extractable Value: How dark is the forest?
- How effective are smart contract analysis tools? evaluating smart contract static analysis tools using bug injection 引用了 Securify: Practical Security Analysis of Smart Contracts
- Quantifying Blockchain Extractable Value: How dark is the forest? 引用了 Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability
引用它的顶会 Paper6
- Light into Darkness: Demystifying Profit Strategies Throughout the MEV Bot LifecycleFeng Luo, Zihao Li, Wenxuan Luo, Zheyuan He 等NDSS 2026 · 4 次引用
- Insecurity Through Obscurity: Veiled Vulnerabilities in Closed-Source ContractsSen Yang, Kaihua Qin, Aviv Yaish, Fan ZhangCCS 2026 · 3 次引用
- Recasting Type Hints from WebAssembly ContractsKunsong Zhao, Zihao Li, Weimin Chen, Xiapu Luo 等FSE 2025 · 2 次引用
- Soleker: Uncovering Vulnerabilities in Solana Smart ContractsKunsong Zhao, Yunpeng Tian, Zuchao Ma, Xiapu LuoASE 2025
- Why Is My Transaction Risky? Understanding Smart Contract Semantics and Interactions in the NFT EcosystemYujing Chen, Xuanming Liu, Zhiyuan Wan, Zuobin Wang 等ASE 2025
它引用的 Paper9
- Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
- Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus InstabilityPhilip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li 等S&P 2020 · 607 次引用
- Quantifying Blockchain Extractable Value: How dark is the forest?Kaihua Qin, Liyi Zhou, Arthur GervaisS&P 2022 · 336 次引用
- How effective are smart contract analysis tools? evaluating smart contract static analysis tools using bug injectionAsem Ghaleb, Karthik PattabiramanISSTA 2020 · 183 次引用
- Frontrunner Jones and the Raiders of the Dark Forest: An Empirical Study of Frontrunning on the Ethereum BlockchainChristof Ferreira Torres, Ramiro Camino, Radu StateUSENIX Security 2021 · 179 次引用
相关 Paper
- Nyx: Detecting Exploitable Front-Running Vulnerabilities in Smart ContractsWuqi Zhang, Zhuo Zhang, Qingkai Shi, Lu Liu 等S&P 2024 · 23 次引用
- On Identifying Sound Conditions for Frontrunning ResistanceSebastian Holler, Anna Piscitelli, Jannik Albrecht, Stephan Dübler 等CCS 2026
- Phishing in Wonderland: Evaluating Learning-Based Ethereum Phishing Transaction Detection and PitfallsAhod Alghuried, David MohaisenNDSS 2026 · 4 次引用
- An Ever-evolving Game: Evaluation of Real-world Attacks and Defenses in Ethereum EcosystemShunfan Zhou, Zhemin Yang, Jie Xiang, Yinzhi Cao 等USENIX Security 2020
- LookAhead: Preventing DeFi Attacks via Unveiling Adversarial ContractsShoupeng Ren, Lipeng He, Tianyu Tu, Di Wu 等FSE 2025 · 3 次引用
