arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.02652cs.CR
收藏

AntFuzzer:一个用于EOSIO智能合约的灰盒模糊化框架

AntFuzzer: A Grey-Box Fuzzing Framework for EOSIO Smart Contracts

Jianfei Zhou, Tianxing Jiang, Shuwei Song, Ting Chen

摘要:

在过去的几年里,针对EOSIO智能合约漏洞的几次攻击给这个流行的区块链平台造成了严重的财务损失。作为一种轻量级的测试生成方法,灰盒模糊技术可以提高EOSIO智能合约的安全性。然而,从头开始为EOSIO智能合约开发一个实用的灰盒模糊器是耗时的,并且需要对EOSIO内部结构有深入的了解。在这项工作中,我们提出了AntFuzzer,这是EOSIO智能合约的第一个高度可扩展的灰盒模糊框架。AntFuzzer实现了一种新颖的方法,该方法与AFL接口,以对EOSIO智能合约进行AFL风格的灰盒模糊。与黑盒模糊工具相比,AntFuzzer可以有效地触发那些难以覆盖的分支。在我们的基准数据集中,它在37.5%的智能合约上实现了代码覆盖率的提高。AntFuzzer为用户提供了统一的接口,以便针对不断出现的漏洞轻松开发新的检测插件。我们在AntFuzzer上实现了6个检测插件,用于检测EOSIO智能合约的主要漏洞。在我们对4,616个真实智能合约进行的大规模模糊测试中,AntFuzzer成功检测到741个漏洞。实验结果证明了AntFuzzer算法和我们的检测算法的有效性和效率。

英文摘要:

In the past few years, several attacks against the vulnerabilities of EOSIO smart contracts have caused severe financial losses to this prevalent blockchain platform. As a lightweight test-generation approach, grey-box fuzzing can open up the possibility of improving the security of EOSIO smart contracts. However, developing a practical grey-box fuzzer for EOSIO smart contracts from scratch is time-consuming and requires a deep understanding of EOSIO internals. In this work, we proposed AntFuzzer, the first highly extensible grey-box fuzzing framework for EOSIO smart contracts. AntFuzzer implements a novel approach that interfaces AFL to conduct AFL-style grey-box fuzzing on EOSIO smart contracts. Compared to black-box fuzzing tools, AntFuzzer can effectively trigger those hard-to-cover branches. It achieved an improvement in code coverage on 37.5% of smart contracts in our benchmark dataset. AntFuzzer provides unified interfaces for users to easily develop new detection plugins for continually emerging vulnerabilities. We have implemented 6 detection plugins on AntFuzzer to detect major vulnerabilities of EOSIO smart contracts. In our large-scale fuzzing experiments on 4,616 real-world smart contracts, AntFuzzer successfully detected 741 vulnerabilities. The results demonstrate the effectiveness and efficiency of AntFuzzer and our detection pl

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

↑