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

评估合成错误

Evaluating Synthetic Bugs

Joshua Bundt, Andrew Fasano, Brendan Dolan-Gavitt, William Robertson, Tim Leek

摘要:

自20世纪90年代以来,模糊测试一直被用来发现程序中的错误,但尽管经过了数十年的专门研究,仍然没有就哪种模糊技术最有效达成共识。其中一个原因是缺乏基本事实:在真正的程序中,具有已知根本原因和触发输入的错误很难以有意义的规模收集。将合成bug添加到真实程序中的Bug注入技术似乎提供了一个解决方案,但是在发现这些合成bug与有机bug方面的差异以前没有被大规模探索过。使用超过80年的CPU时间,我们在Rode 0 day bug发现比赛和LAVA-M语料库中的20个目标上运行了8个模糊器。实验是标准化的计算资源和指标收集。这些实验显示了模糊器性能的差异以及各种配置选项的影响。例如,很明显,将符号执行与突变模糊集成是非常有效的,并且使用字典可以提高性能。其他结论则不那么明确;例如,没有一个模糊器在所有测试中击败所有其他模糊器。值得注意的是,没有模糊器发现任何有机错误(即,一个在CVE中报告),尽管在模糊语料库中有50个这样的错误可供发现。对结果的仔细分析揭示了一个可能的解释:合成和有机昆虫生活在模糊器发现的“主要路径”之间的巨大差异。我们发现,最近更新的错误注入系统,使合成的错误更难发现,但他们仍然明显容易找到比有机错误在我们的目标程序。最后,本研究确定缺陷的错误注入技术,并提出了一些轴沿合成错误应加以改进。

英文摘要:

Fuzz testing has been used to find bugs in programs since the 1990s, but despite decades of dedicated research, there is still no consensus on which fuzzing techniques work best. One reason for this is the paucity of ground truth: bugs in real programs with known root causes and triggering inputs are difficult to collect at a meaningful scale. Bug injection technologies that add synthetic bugs into real programs seem to offer a solution, but the differences in finding these synthetic bugs versus organic bugs have not previously been explored at a large scale. Using over 80 years of CPU time, we ran eight fuzzers across 20 targets from the Rode0day bug-finding competition and the LAVA-M corpus. Experiments were standardized with respect to compute resources and metrics gathered. These experiments show differences in fuzzer performance as well as the impact of various configuration options. For instance, it is clear that integrating symbolic execution with mutational fuzzing is very effective and that using dictionaries improves performance. Other conclusions are less clear-cut; for example, no one fuzzer beat all others on all tests. It is noteworthy that no fuzzer found any organic bugs (i.e., one reported in a CVE), despite 50 such bugs being available for discovery in the fuzzing corpus. A close analysis of results revealed a possible explanation: a dramatic difference between where synthetic and organic bugs live with respect to the ''main path'' discovered by fuzzers. We find that recent updates to bug injection systems have made synthetic bugs more difficult to discover, but they are still significantly easier to find than organic bugs in our target programs. Finally, this study identifies flaws in bug injection techniques and suggests a number of axes along which synthetic bugs should be improved.

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

↑