Optimizing Seed Selection for Fuzzing
Alexandre Rebert, Cha, Sang Kil, Thanassis Avgerinos et al. · 2018
Randomly mutating well-formed program inputs or simply fuzzing, is a highly effective and widely used strategy to find bugs in software. Other than showing fuzzers find bugs, there has been little systematic effort in understanding the science of how to fuzz properly. In this paper, we focus on how to mathematically formulate and reason about one critical aspect in fuzzing: how best to pick seed files to maximize the total number of bugs found during a fuzz campaign. We design and evaluate six different algorithms using over 650 CPU days on Amazon Elastic Compute Cloud (EC2) to provide ground truth data. Overall, we find 240 bugs in 8 applications and show that the choice of algorithm can greatly increase the number of bugs found. We also show that current seed selection strategies as found in Peach may fare no better than picking seeds at random. We make our data set and code publicly available.
Cited by 145 works. doi:10.1184/r1/6469118
Authors
References
- Introduction to Algorithms
- Introduction to Algorithms
- Approximation algorithms for combinatorial problems
- A Greedy Heuristic for the Set-Covering Problem
- A threshold of ln n for approximating set cover
- An empirical study of the reliability of UNIX utilities
- Pin
- Stuxnet: Dissecting a Cyberwarfare Weapon
- Automated Whitebox Fuzz Testing.
- Valgrind