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

EnFuzz:基于种子同步的模糊增强算法

EnFuzz: Ensemble Fuzzing with Seed Synchronization among Diverse Fuzzers

Yuanliang Chen, Yu Jiang, Fuchen Ma, Jie Liang, Mingzhe Wang, Chijin Zhou, Zhuo Su, Xun Jiao

摘要:

模糊技术被广泛应用于软件漏洞检测。模糊器的种类繁多,采用的模糊策略也各不相同,大多数模糊器对目标的模糊效果都很好。然而,在工业实践和实证研究中,那些设计良好的模糊策略的性能和泛化能力受到现实世界应用的复杂性和多样性的挑战。在本文中,受集成学习思想的启发,我们首先提出了一种集成模糊方法EnFuzz,它集成了多种模糊策略,以获得更好的性能和泛化能力比任何单独的组成模糊。首先,我们定义了基模糊的多样性,并选择那些最新的和设计良好的模糊作为基模糊。然后,EnFuzz集成这些基本模糊种子同步和结果集成机制。为了进行评估,我们实现了EnFuzz,这是一个基于四个强大的开源模糊器(AFL,AFLFast,AFLGo,FairFuzz)的原型,并在Google的模糊测试套件上进行测试,该套件由广泛使用的真实应用程序组成。24小时实验表明,在相同的资源使用情况下,这四种基本模糊器在不同应用中的表现不同,而EnFuzz具有更好的泛化能力,在路径覆盖、分支覆盖和崩溃发现方面始终优于其他模糊器。即使与AFL,AFLFast,AFLGo和FairFuzz的最佳案例相比,EnFuzz也发现了26.8%,117%,38.8%和39.5%的独特崩溃,执行了9.16%,39.2%,19.9%和20.0%的路径,并分别覆盖了5.96%,12.0%,21.4%和11.1%的分支。

英文摘要:

Fuzzing is widely used for software vulnerability detection. There are various kinds of fuzzers with different fuzzing strategies, and most of them perform well on their targets. However, in industry practice and empirical study, the performance and generalization ability of those well-designed fuzzing strategies are challenged by the complexity and diversity of real-world applications. In this paper, inspired by the idea of ensemble learning, we first propose an ensemble fuzzing approach EnFuzz, that integrates multiple fuzzing strategies to obtain better performance and generalization ability than that of any constituent fuzzer alone. First, we define the diversity of the base fuzzers and choose those most recent and well-designed fuzzers as base fuzzers. Then, EnFuzz ensembles those base fuzzers with seed synchronization and result integration mechanisms. For evaluation, we implement EnFuzz , a prototype basing on four strong open-source fuzzers (AFL, AFLFast, AFLGo, FairFuzz), and test them on Google's fuzzing test suite, which consists of widely used real-world applications. The 24-hour experiment indicates that, with the same resources usage, these four base fuzzers perform variously on different applications, while EnFuzz shows better generalization ability and always outperforms others in terms of path coverage, branch coverage and crash discovery. Even compared with the best cases of AFL, AFLFast, AFLGo and FairFuzz, EnFuzz discovers 26.8%, 117%, 38.8% and 39.5% more unique crashes, executes 9.16%, 39.2%, 19.9% and 20.0% more paths and covers 5.96%, 12.0%, 21.4% and 11.1% more branches respectively.

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

↑