Lune

FSE2021Top-tier venue

Estimating residual risk in greybox fuzzing

Marcel Böhme, Danushka Liyanage, Valentin Wüstholz

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • SoK: Prudent Evaluation Practices for Fuzzing cites BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Reachable Coverage: Estimating Saturation in Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites MC2: Rigorous and Efficient Directed Greybox Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Boosting fuzzer efficiency: an information theoretic perspective
  • SoK: Prudent Evaluation Practices for Fuzzing cites Fuzzing: on the exponential cost of vulnerability discovery
  • SoK: Prudent Evaluation Practices for Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Reachable Coverage: Estimating Saturation in Fuzzing cites BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing
  • Reachable Coverage: Estimating Saturation in Fuzzing cites Boosting fuzzer efficiency: an information theoretic perspective
  • Reachable Coverage: Estimating Saturation in Fuzzing cites Fuzzing: on the exponential cost of vulnerability discovery
  • MC2: Rigorous and Efficient Directed Greybox Fuzzing cites Boosting fuzzer efficiency: an information theoretic perspective
  • Boosting fuzzer efficiency: an information theoretic perspective cites Fuzzing: on the exponential cost of vulnerability discovery
  • Boosting fuzzer efficiency: an information theoretic perspective cites Coverage-based Greybox Fuzzing as Markov Chain
  • Statistical Reachability Analysis cites Reachable Coverage: Estimating Saturation in Fuzzing
  • Statistical Reachability Analysis cites Fuzzing: on the exponential cost of vulnerability discovery
  • Fuzzing: on the exponential cost of vulnerability discovery cites Coverage-based Greybox Fuzzing as Markov Chain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
  2. BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based FuzzingHoang Lam Nguyen, Lars GrunskeICSE 2022 · 29 citations
  3. MC2: Rigorous and Efficient Directed Greybox FuzzingAbhishek Shah, Dongdong She, Samanway Sadhu, Krish Singal et al.CCS 2022 · 15 citations
  4. Reachable Coverage: Estimating Saturation in FuzzingDanushka Liyanage, Marcel Böhme, Chakkrit Tantithamthavorn, Stephan LippICSE 2023 · 14 citations
  5. Statistical Reachability AnalysisSeongmin Lee, Marcel BöhmeFSE 2023 · 12 citations

Builds on3

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Boosting fuzzer efficiency: an information theoretic perspectiveMarcel Böhme, Valentin J. M. Manès, Sang Kil ChaFSE 2020 · 115 citations
  3. Fuzzing: on the exponential cost of vulnerability discoveryMarcel Böhme, Brandon FalkFSE 2020 · 66 citations

Related papers

  1. Extrapolating Coverage Rate in Greybox FuzzingDanushka Liyanage, Seongmin Lee, Chakkrit Tantithamthavorn, Marcel BöhmeICSE 2024 · 6 citations
  2. Dependency-aware Residual Risk AnalysisSeongmin Lee, Marcel BöhmeICSE 2026
  3. Green Fuzzing: A Saturation-Based Stopping Criterion using Vulnerability PredictionStephan Lipp, Daniel Elsner, Severin Kacianka, Alexander Pretschner et al.ISSTA 2023 · 6 citations
  4. EcoFuzz: Adaptive Energy-Saving Greybox Fuzzing as a Variant of the Adversarial Multi-Armed BanditTai Yue, Pengfei Wang, Yong Tang, Enze Wang et al.USENIX Security 2020
  5. Regression Greybox FuzzingXiaogang Zhu, Marcel BöhmeCCS 2021 · 84 citations
Dusk over the sea between two cliffs drawn in fine vertical lines