Lune

FSE2021顶会

Estimating residual risk in greybox fuzzing

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Reachable Coverage: Estimating Saturation in Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 MC2: Rigorous and Efficient Directed Greybox Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Boosting fuzzer efficiency: an information theoretic perspective
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Fuzzing: on the exponential cost of vulnerability discovery
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Reachable Coverage: Estimating Saturation in Fuzzing 引用了 BEDIVFUZZ: Integrating Behavioral Diversity into Generator-based Fuzzing
  • Reachable Coverage: Estimating Saturation in Fuzzing 引用了 Boosting fuzzer efficiency: an information theoretic perspective
  • Reachable Coverage: Estimating Saturation in Fuzzing 引用了 Fuzzing: on the exponential cost of vulnerability discovery
  • MC2: Rigorous and Efficient Directed Greybox Fuzzing 引用了 Boosting fuzzer efficiency: an information theoretic perspective
  • Boosting fuzzer efficiency: an information theoretic perspective 引用了 Fuzzing: on the exponential cost of vulnerability discovery
  • Boosting fuzzer efficiency: an information theoretic perspective 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Statistical Reachability Analysis 引用了 Reachable Coverage: Estimating Saturation in Fuzzing
  • Statistical Reachability Analysis 引用了 Fuzzing: on the exponential cost of vulnerability discovery
  • Fuzzing: on the exponential cost of vulnerability discovery 引用了 Coverage-based Greybox Fuzzing as Markov Chain
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

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

它引用的 Paper3

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

相关 Paper

  1. Extrapolating Coverage Rate in Greybox FuzzingDanushka Liyanage, Seongmin Lee, Chakkrit Tantithamthavorn, Marcel BöhmeICSE 2024 · 6 次引用
  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 等ISSTA 2023 · 6 次引用
  4. EcoFuzz: Adaptive Energy-Saving Greybox Fuzzing as a Variant of the Adversarial Multi-Armed BanditTai Yue, Pengfei Wang, Yong Tang, Enze Wang 等USENIX Security 2020
  5. Regression Greybox FuzzingXiaogang Zhu, Marcel BöhmeCCS 2021 · 84 次引用
黄昏的海面,两侧是细线勾勒的悬崖