paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Midas: Mining Profitable Exploits in On-Chain Smart Contracts via Feedback-Driven Fuzzing and Differential Analysis

Midas:通过反馈驱动模糊测试与差分分析挖掘链上智能合约中的盈利型漏洞利用
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 1/10 · 该论文属于智能合约动态模糊测试与漏洞挖掘,虽涉及程序分析与反馈驱动测试,但并非用户关注的方向:它与LLM/Agent、静态分析、浮点程序分析以及贝叶斯程序分析均无直接交叉。引用 7 inbox
Mingxi Ye, Xingwei Lin, Yuhong Nan, Jiajing Wu, Zibin Zheng
crossref: 2026-09-12

AI 速览

一句话:提出反馈驱动模糊测试框架 Midas,结合差分分析高效挖掘链上智能合约的盈利型漏洞利用。

链上智能合约攻击多旨在造成资金损失,即盈利型漏洞利用,而非程序崩溃;但调用链复杂且缺乏有效判定预言,现有模糊测试效率与效果不佳。Midas 是反馈驱动的模糊测试框架,包含多样化有效性模糊测试和盈利交易识别两个模块:前者设置两个路点以高效生成有效交易,应对复杂调用链;后者利用差分分析有效识别盈利型漏洞利用,避免依赖临时预言。在链上智能合约上的评估表明,Midas 以 80% 精确率识别出 40 个真实漏洞利用,效率与效果优于 ItyFuzz 和 Slither,并在高价值合约中挖掘出 5 个未知漏洞利用,其中 2 个已被 DApp 开发者确认。

问题
链上智能合约的盈利型漏洞利用通过构造看似无害的输入谋取额外收益或损害他人利益;由于调用链复杂且缺乏有效判定预言,现有模糊测试难以高效、有效地发现此类漏洞利用。
方法
提出 Midas,包含多样化有效性模糊测试(用两个路点高效生成有效交易)和盈利交易识别(用差分分析识别盈利型漏洞利用)两个模块。
评估
在链上智能合约上评估,Midas 以 80% 精确率识别 40 个真实漏洞利用,效率与效果优于 ItyFuzz 和 Slither,并发现 5 个未知漏洞利用,其中 2 个获 DApp 开发者确认。
原文摘要(Abstract)

In the context of boosting smart contract applications, prioritizing their security becomes paramount. Smart contract exploits often result in notable financial losses. Ensuring their security is by no means trivial. Rather than resulting in program crashes, most attacks in on-chain smart contracts aim to induce financial loss, referred to as profitable exploits. By constructing seemingly innocuous inputs, profitable exploits try to extract extra profit or compromise the interests of others. However, due to the complexity of call chains in on-chain smart contracts and the need for effective oracles for profitable exploits, smart contract fuzzing suffers from low efficiency and low effectiveness in finding profitable exploits. In this paper, we present Midas, a novel feedback-driven fuzzing framework to mine profitable exploits in on-chain smart contracts effectively. Midas consists of two modules: diverse validity fuzzing and profitable transaction identification. The diverse validity fuzzing module applies two waypoints to efficiently generate valid transactions, addressing the complexity of on-chain smart contract call chains. The profitable transaction identification module applies differential analysis to effectively identify profitable exploits, addressing the limitation of ad-hoc oracles. Evaluation of Midas over on-chain smart contracts showed it effectively identified 40 real-world exploits with a precision of 80%, outperforming state-of-the-art tools (i.e., ItyFuzz and Slither) in both efficiency and effectiveness. Particularly, Midas effectively mines five unknown exploits in valuable smart contracts, and two of them have already been confirmed by their DApp developers.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8595,
  title = {Midas: Mining Profitable Exploits in On-Chain Smart Contracts via Feedback-Driven Fuzzing and Differential Analysis},
  author = {Mingxi Ye and Xingwei Lin and Yuhong Nan and Jiajing Wu and Zibin Zheng},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3680321}
}