paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Risk Estimation in Differential Fuzzing via Extreme Value Theory

基于极值理论的差分模糊测试风险估计
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 1/10 · 论文研究差分模糊测试的漏检风险估计与提前停止,属于动态测试/安全方向,与用户关注的静态分析、LLM/Agent 辅助程序分析、浮点程序分析及贝叶斯程序分析均无直接交集。虽然使用统计方法(极值理论、贝叶斯因子基线),但并非贝叶斯程序分析或 LLM 交叉研究。引用 0 inbox
Rafael Baez, Alejandro Olivas, Nathan K Diamond, Marcelo Frias, Yannic Noller, Saeid Tizpaz-Niari
crossref: 2026-09-12

AI 速览

一句话:提出用极值理论估计差分模糊测试漏检风险,并通过提前停止提升测试效率。

差分模糊测试能自动发现涉及多执行规约的缺陷,但作为动态分析无法保证无缺陷:当一轮测试未发现缺陷或仅发现很小差异时,继续运行一步或多步后发现缺陷或更大差异的风险仍不明确。本文研究用极值理论(EVT)刻画这一风险。作者观察到差分模糊测试的随机过程近似于观测差异的最大值分布,因此可用 EVT 分析测试活动尾部,从而对漏检或低估缺陷的风险进行外推。实验在真实 Java 库上开展,用差分模糊测试寻找侧信道信息泄漏,探索 EVT 的可行性与最优超参数,并与 Markov 不等式、Chebyshev 不等式和 Bayes 因子等基线比较。EVT 外推在 14.3% 情况下优于基线,在 64.2% 情况下持平;启用 EVT 的差分模糊测试通过提前停止平均节省数千万次字节码执行。

问题
差分模糊测试缺乏无缺陷保证:在一轮未发现缺陷或仅发现最小差异后,继续搜索仍可能触发缺陷或更大差异,其风险未知。
方法
将差分模糊测试视为随机过程并利用其最大值分布,采用极值理论对差异尾部分布建模与外推,并研究 EVT 分布超参数及与统计基线比较。
评估
在真实 Java 库上用差分模糊测试检测侧信道信息泄漏;与 Markov、Chebyshev 不等式和 Bayes 因子比较,EVT 在 14.3% 情况更优、64.2% 持平,并因提前停止平均节省数千万次字节码执行。
原文摘要(Abstract)

Differential testing is a highly effective technique for automatically detecting software bugs and vulnerabilities when the specifications involve an analysis over multiple executions simultaneously. Differential fuzzing, in particular, operates as a guided randomized search, aiming to find (similar) inputs that lead to a maximum difference in software outputs or their behaviors. However, fuzzing, as a dynamic analysis, lacks any guarantees on the absence of bugs: from a differential fuzzing campaign that has observed no bugs (or a minimal difference), what is the risk of observing a bug (or a larger difference) if we run the fuzzer for one or more steps?This paper investigates the application of Extreme Value Theory (EVT) to address the risk of missing or underestimating bugs in differential fuzzing. The key observation is that differential fuzzing as a random process resembles the maximum distribution of observed differences. Hence, EVT, a branch of statistics dealing with extreme values, is an ideal framework to analyze the tail of the differential fuzzing campaign to contain the risk. We perform experiments on a set of real-world Java libraries and use differential fuzzing to find information leaks via side channels in these libraries. We first explore the feasibility of EVT for this task and the optimal hyperparameters for EVT distributions. We then compare EVT-based extrapolation against baseline statistical methods like Markov’s as well as Chebyshev’s inequalities, and the Bayes factor. EVT-based extrapolations outperform the baseline techniques in 14.3% of cases and tie with the baseline in 64.2% of cases. Finally, we evaluate the accuracy and performance gains of EVT-enabled differential fuzzing in real-world Java libraries, where we reported an average saving of tens of millions of bytecode executions by an early stop.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9252,
  title = {Risk Estimation in Differential Fuzzing via Extreme Value Theory},
  author = {Rafael Baez and Alejandro Olivas and Nathan K Diamond and Marcelo Frias and Yannic Noller and Saeid Tizpaz-Niari},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00036}
}