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

语料库提取方法在模糊检索中的应用比较

Corpus Distillation for Effective Fuzzing: A Comparative Evaluation

Adrian Herrera, Hendra Gunadi, Liam Hayes, Shane Magrath, Felix Friedlander, Maggi Sebastian, Michael Norrish, Antony L. Hosking

摘要:

基于变异的模糊化通常使用一组初始的非崩溃种子输入(语料库),通过变异来生成新的输入。潜在种子的语料库通常包含数千个类似的输入。这种多样性的缺乏可能导致从所有可用种子中进行穷举突变而浪费模糊努力。为了解决这个问题,模糊器带有蒸馏工具(例如,AFL-Cmin),其选择触发与完整语料库相同的检测数据点范围的种子的最小子集。通常的做法表明,最小化种子的数量和累积大小会导致更有效的模糊,我们系统地探索。我们提出了34+ CPU-年的模糊结果与五种蒸馏方法,以了解它们在现实世界的软件中发现错误的影响。我们评估了一些技术,包括现有的afl-cmin和Minset,以及MoonLight-一个免费提供的,可配置的,最先进的,开源的工具。我们的实验比较了蒸馏方法的有效性,目标是Google Fuzzer Test Suite和一组不同的六个真实世界的库和程序,涵盖了16个程序中的13种不同的输入文件格式。我们的研究结果表明,蒸馏是一个必要的前兆,任何模糊运动时,开始与一个大的初始语料库。我们比较了替代蒸馏方法的有效性。值得注意的是,我们的实验表明,最先进的蒸馏工具(如MoonLight和Minset)并不能完全找到我们的综合活动暴露的所有33个bug(在现实世界的目标中):每种技术似乎都有自己的优势。我们发现(并报告)Minset没有发现的MoonLight的新错误,反之亦然。此外,afl-cmin未能揭示许多这些错误。在我们的活动中发现的33个bug中,有7个新bug已经收到了CVE。

英文摘要:

Mutation-based fuzzing typically uses an initial set of non-crashing seed inputs (a corpus) from which to generate new inputs by mutation. A corpus of potential seeds will often contain thousands of similar inputs. This lack of diversity can lead to wasted fuzzing effort by exhaustive mutation from all available seeds. To address this, fuzzers come with distillation tools (e.g., afl-cmin) that select the smallest subset of seeds that triggers the same range of instrumentation data points as the full corpus. Common practice suggests that minimizing the number and cumulative size of the seeds leads to more efficient fuzzing, which we explore systematically. We present results of 34+ CPU-years of fuzzing with five distillation approaches to understand their impact in finding bugs in real-world software. We evaluate a number of techniques, includibng the existing afl-cmin and Minset, and also MoonLight---a freely available, configurable, state-of-the-art, open-source, tool. Our experiments compare the effectiveness of distillation approaches, targeting the Google Fuzzer Test Suite and a diverse set of six real-world libraries and programs, covering 13 different input file formats across 16 programs. Our results show that distillation is a necessary precursor to any fuzzing campaign when starting with a large initial corpus. We compare the effectiveness of alternative distillation approaches. Notably, our experiments reveal that state-of-the-art distillation tools (such as MoonLight and Minset) do not exclusively find all of the 33 bugs (in the real-world targets) exposed by our combined campaign: each technique appears to have its own strengths. We find (and report) new bugs with MoonLight that are not found by Minset, and vice versa. Moreover, afl-cmin fails to reveal many of these bugs. Of the 33 bugs revealed in our campaign, seven new bugs have received CVEs.

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

↑