3.8 Proceedings Paper

CONFUZZIUS: A Data Dependency-Aware Hybrid Fuzzer for Smart Contracts

出版社

IEEE
DOI: 10.1109/EuroSP51992.2021.00018

关键词

Ethereum; smart contracts; hybrid fuzzing; data dependency analysis; genetic algorithm; symbolic execution

资金

  1. Luxembourg National Research Fund (FNR) [13192291]
  2. European Unions Horizon 2020 research and innovation programme [830927]

向作者/读者索取更多资源

Smart contracts are Turing-complete programs executed on a blockchain that cannot be modified once deployed, making them attractive targets for attackers. Various bug detection tools have been proposed, with symbolic execution often leading to false positives and fuzzers more effective at finding shallow bugs. Hybrid fuzzing, combining symbolic execution and fuzzing, has shown promising results in improving bug detection and code coverage in smart contracts.
Smart contracts are Turing-complete programs that are executed across a blockchain. Unlike traditional programs, once deployed, they cannot be modified. As smart contracts carry more value, they become more of an exciting target for attackers. Over the last years, they suffered from exploits costing millions of dollars due to simple programming mistakes. As a result, a variety of tools for detecting bugs have been proposed. Most of these tools rely on symbolic execution, which may yield false positives due to over-approximation. Recently, many fuzzers have been proposed to detect bugs in smart contracts. However, these tend to be more effective in finding shallow bugs and less effective in finding bugs that lie deep in the execution, therefore achieving low code coverage and many false negatives. An alternative that has proven to achieve good results in traditional programs is hybrid fuzzing, a combination of symbolic execution and fuzzing. In this work, we study hybrid fuzzing on smart contracts and present CONFUZZIUS, the first hybrid fuzzer for smart contracts. CONFUZZIUS uses evolutionary fuzzing to exercise shallow parts of a smart contract and constraint solving to generate inputs that satisfy complex conditions that prevent evolutionary fuzzing from exploring deeper parts. Moreover, CONFUZZIUS leverages dynamic data dependency analysis to efficiently generate sequences of transactions that are more likely to result in contract states in which bugs may be hidden. We evaluate the effectiveness of CONFUZZIUS by comparing it with state-of-the-art symbolic execution tools and fuzzers for smart contracts. Our evaluation on a curated dataset of 128 contracts and a dataset of 21K real-world contracts shows that our hybrid approach detects more bugs than state-of-the-art tools (up to 23%) and that it outperforms existing tools in terms of code coverage (up to 69%). We also demonstrate that data dependency analysis can boost bug detection up to 18%.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

3.8
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据