
Research Article
Facilitating Parallel Fuzzing with Mutually-Exclusive Task Distribution
@INPROCEEDINGS{10.1007/978-3-030-90022-9_10, author={Yifan Wang and Yuchen Zhang and Chenbin Pang and Peng Li and Nikolaos Triandopoulos and Jun Xu}, title={Facilitating Parallel Fuzzing with Mutually-Exclusive Task Distribution}, proceedings={Security and Privacy in Communication Networks. 17th EAI International Conference, SecureComm 2021, Virtual Event, September 6--9, 2021, Proceedings, Part II}, proceedings_a={SECURECOMM PART 2}, year={2021}, month={11}, keywords={Software testing Parallel fuzzing Performance}, doi={10.1007/978-3-030-90022-9_10} }
- Yifan Wang
Yuchen Zhang
Chenbin Pang
Peng Li
Nikolaos Triandopoulos
Jun Xu
Year: 2021
Facilitating Parallel Fuzzing with Mutually-Exclusive Task Distribution
SECURECOMM PART 2
Springer
DOI: 10.1007/978-3-030-90022-9_10
Abstract
Fuzz testing, or fuzzing, has become one of the de facto standard techniques for bug finding in the software industry. In general, fuzzing provides various inputs to the target program with the goal of discovering un-handled exceptions and crashes. In business sectors where the time budget is limited, software vendors often launch many fuzzing instances in parallel as a common means of increasing code coverage. However, most of the popular fuzzing tools—in their parallel mode—naively run multiple instances concurrently, without elaborate distribution of workload. This can lead different instances to explore overlapped code regions, eventually reducing the benefits of concurrency. In this paper, we propose a general model to describe parallel fuzzing. This model distributes mutually-exclusive but similarly-weighted tasks to different instances, facilitating concurrency and also fairness across instances. Following this model, we develop a solution, calledAFL-EDGE, to improve the parallel mode ofAFL, consideringa round of mutations to a unique seedas a task and adopting edge coverage to define the uniqueness of a seed. We have implementedAFL-EDGEon top ofAFLand evaluated the implementation withAFLon 9 widely used benchmark programs. It shows thatAFL-EDGEcan benefit the edge coverage ofAFL. In a 24-h test, the increase of edge coverage brought byAFL-EDGEtoAFLranges from 9.5% to 10.2%, depending on the number of instances. As a side benefit, we discovered 14 previously unknown bugs.