规模化模糊测试:调度器不为人知的故事
Fuzzing at Scale: The Untold Story of the Scheduler
AI总结:
本研究探讨规模化模糊测试中的调度策略,证明动态调度器比朴素调度器能发现更多漏洞,其影响堪比升级模糊器,并利用最先进调度器在5000个Ubuntu程序中发现4908个漏洞。
摘要:
如何使用预先存在的模糊测试器和一台标准个人电脑在1000个程序中搜索漏洞?我们考虑这个问题,并表明一个设计良好的策略,即决定对哪些程序进行模糊测试以及持续多长时间,可以极大地影响在程序中发现的漏洞数量。事实上,采用有效策略的影响与使用最先进的模糊测试器的影响相当。所考虑的问题被称为规模化模糊测试,该策略被称为调度器。我们表明,除了一个天真的调度器(为所有程序分配相等的模糊测试时间)之外,我们可以考虑动态调度器,根据各个程序正在进行的模糊测试进度调整时间分配。这类调度器更优越,因为它们导致总发现的漏洞数量更高,且大多数程序发现的漏洞数量也更高。天真调度器与动态调度器之间的性能差距可能如同两个模糊测试器之间的差距一样大(甚至更大)。因此,我们的发现表明,推进调度器的问题对于规模化模糊测试至关重要。我们开发了几种调度器,并利用最复杂的一种同时对我们新编译的约5000个Ubuntu程序的基准进行模糊测试,检测到4908个漏洞。
英文摘要:
How to search for bugs in 1,000 programs using a pre-existing fuzzer and a standard PC? We consider this problem and show that a well-designed strategy that determines which programs to fuzz and for how long can greatly impact the number of bugs found across the programs. In fact, the impact of employing an effective strategy is comparable to that of utilizing a state-of-the-art fuzzer. The considered problem is referred to as fuzzing at scale, and the strategy as scheduler. We show that besides a naive scheduler, that allocates equal fuzz time to all programs, we can consider dynamic schedulers that adjust time allocation based on the ongoing fuzzing progress of individual programs. Such schedulers are superior because they lead both to higher number of total found bugs and to higher number of found bugs for most programs. The performance gap between naive and dynamic schedulers can be as wide (or even wider) as the gap between two fuzzers. Our findings thus suggest that the problem of advancing schedulers is fundamental for fuzzing at scale. We develop several schedulers and leverage the most sophisticated one to fuzz simultaneously our newly compiled benchmark of around 5,000 Ubuntu programs, and detect 4908 bugs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。