For any errorless fuzzing campaign, no matter how long, there is always some residual risk that a software error would be discovered if only the campaign was run for just a bit longer. Recently, greybox fuzzing tools have found widespread adoption. Yet, practitioners can only guess when the residual risk of a greybox fuzzing campaign falls below a specific, maximum allowable threshold.
In this paper, we explain why residual risk cannot be directly estimated for greybox campaigns, argue that the discovery probability (i.e., the probability that the next generated input increases code coverage) provides an excellent upper bound, and explore sound statistical methods to estimate the discovery probability in an ongoing greybox campaign. We find that estimators for blackbox fuzzing systematically and substantially under-estimate the true risk. An engineer—who stops the campaign when the estimators purport a risk below the maximum allowable risk—is vastly misled. She might need execute a campaign that is orders of magnitude longer to achieve the allowable risk. Hence, the key challenge we address in this paper is adaptive bias: The probability to discover a specific error actually increases over time. We provide the first probabilistic analysis of adaptive bias, and introduce two novel classes of estimators that tackle adaptive bias. With our estimators, the engineer can decide with confidence when to abort the campaign.
Teaser Video:
Wed 16 NovDisplayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change
11:00 - 12:30 | ESEC/FSE 21 - Software SecurityESEC/FSE 2021 at SRC LT 53 Chair(s): Jooyong Yi UNIST (Ulsan National Institute of Science and Technology) | ||
11:00 15mTalk | A Grounded Theory of the Role of Coordination in Software Security Patch Management ESEC/FSE 2021 Nesara Dissanayake , Mansooreh Zahedi The Univeristy of Melbourne, Asangi Jayatilaka University of Adelaide, Muhammad Ali Babar University of Adelaide | ||
11:15 15mTalk | Vulnerability Detection with Fine-Grained Interpretations ESEC/FSE 2021 Yi Li New Jersey Institute of Technology, Shaohua Wang New Jersey Institute of Technology, Tien N. Nguyen University of Texas at Dallas | ||
11:30 15mTalk | Identifying Casualty Changes in Software Patches ESEC/FSE 2021 Adriana Sejfia University of Southern California, Yixue Zhao University of Massachusetts at Amherst, Nenad Medvidović University of Southern California | ||
11:45 15mTalk | Estimating Residual Risk in Greybox Fuzzing ESEC/FSE 2021 Marcel Böhme MPI-SP, Germany and Monash University, Australia, Danushka Liyanage Monash University, Australia, Valentin Wüstholz ConsenSys DOI Pre-print |