arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01788cs.CRcs.SE
收藏

DogeFuzz:一种简单而高效的以太坊智能合约灰盒模糊测试器

DogeFuzz: A Simple Yet Efficient Grey-box Fuzzer for Ethereum Smart Contracts

Ismael Medeiros, Fausto Carvalho, Alexandre Ferreira, Rodrigo Bonifácio, Fabiano Cavalcanti Fernandes

AI总结:

本文提出DogeFuzz,一个支持黑盒及两种灰盒策略的以太坊智能合约模糊测试基础设施,实验表明其在未使用符号执行或机器学习的情况下仍优于sFuzz和ILF,但不及Smartian。

摘要:

以太坊是一个分布式、点对点的区块链基础设施,已吸引了数十亿美元的资金。或许正是由于其成功,以太坊已成为各种攻击的目标,这促使研究人员探索不同的技术来识别EVM字节码(以太坊虚拟机语言)中的漏洞,包括形式化验证、符号执行和模糊测试。尽管近期已有研究对智能合约模糊测试器进行了实证比较,但文献中仍缺乏关于较简单的灰盒模糊测试器与更先进的模糊测试器相比表现如何的研究。为填补这一空白,本文提出了DogeFuzz,一个可扩展的以太坊智能合约模糊测试基础设施,目前支持黑盒模糊测试和两种灰盒模糊测试策略:覆盖率引导的灰盒模糊测试(DogeFuzz-G)和定向灰盒模糊测试(DogeFuzz-DG)。我们利用文献中已有的基准进行了一系列实验,并将DogeFuzz策略与最先进的智能合约模糊测试器进行了比较。令人惊讶的是,尽管DogeFuzz没有利用先进技术来改进输入生成(如符号执行或机器学习),DogeFuzz仍优于sFuzz和ILF这两个最先进的模糊测试器。然而,Smartian模糊测试器在代码覆盖率和漏洞发现能力方面优于DogeFuzz。

英文摘要:

Ethereum is a distributed, peer-to-peer blockchain infrastructure that has attracted billions of dollars. Perhaps due to its success, Ethereum has become a target for various kinds of attacks, motivating researchers to explore different techniques to identify vulnerabilities in EVM bytecode (the language of the Ethereum Virtual Machine), including formal verification, symbolic execution, and fuzz testing. Although recent studies empirically compare smart contract fuzzers, there is a lack of literature investigating how simpler greybox fuzzers compare to more advanced ones. To fill this gap, in this paper, we present DogeFuzz, an extensible infrastructure for fuzzing Ethereum smart contracts, currently supporting black-box fuzzing and two grey-box fuzzing strategies: coverage-guided grey-box fuzzing (DogeFuzz-G) and directed grey-box fuzzing (DogeFuzz-DG). We conduct a series of experiments using benchmarks already available in the literature and compare the DogeFuzz strategies with state-of-the-art fuzzers for smart contracts. Surprisingly, although DogeFuzz does not leverage advanced techniques for improving input generation (such as symbolic execution or machine learning), DogeFuzz outperforms sFuzz and ILF, two state-of-the-art fuzzers. Nonetheless, the Smartian fuzzer shows higher code coverage and bug-finding capabilities than DogeFuzz.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑