一句话:提出面向COTS二进制的定向灰盒模糊测试工具BinGo,用贝叶斯概率可达性应对不精确CFG,提升目标可达与漏洞发现。
针对商用现成(COTS)二进制缺少精确结构信息、控制流偏离会误导定向灰盒模糊测试(DGF)可达性分析的问题,提出二进制级DGF工具BinGo。它用贝叶斯方法融合静态分析先验与模糊测试动态观测,估计间接边恢复置信度;引入区域概念,将CFG转为区域图以高效分析。基于动态更新的区域图和可达性分数,提出概率可达性适应度度量,可适应不精确的二进制级CFG。在CGC、CVE-Benchmark和UniBench上,BinGo在到达目标位置和暴露已知漏洞上优于AFL++、AFLGo、PDGF、UAFuzz和1dVul,并在cscope-15.9中发现三个新漏洞。
Directed grey-box fuzzing (DGF) steers testing toward high-value targets, but developing effective DGF for commercial off-the-shelf (COTS) binaries is challenging due to the lack of accurate structural information (e.g., control-flow graphs and call graphs), which can cause control flows to deviate and misguide DGF’s reachability analysis. In this paper, we introduce BinGo, a tailored binary-level directed grey-box fuzzer, which can accommodate the flawed control-flow graphs (CFGs) of COTS binaries and enable accurate and efficient reachability analysis. First, to quantify the inevitable inaccuracies of uncovered indirect edges and analyze their impact on the reachability of basic blocks, we propose a Bayesian-based method. This method combines prior knowledge from static analysis with dynamic observations from fuzzing to estimate the confidence in correctly recovering indirect edges. Then, we present a new concept called a region, which redefines granularity for efficient reachability analysis by transforming the CFG into a region graph. Using the Bayesian results and region graph, we propose a custom fitness metric for binary-level DGF, termed probabilistic reachability. This metric, based on a dynamically updated region graph and reachability scores, is adaptive, lightweight, and accommodates inaccurate binary-level CFGs. We implemented a prototype tool, BinGo, and evaluated it on the CGC dataset, CVE-Benchmark, and UniBench benchmark. Experimental results show that BinGo surpasses baseline fuzzers (AFL++, AFLGo, PDGF, UAFuzz, and 1dVul) in reaching target locations and exposing known vulnerabilities. Additionally, BinGo discovered three new vulnerabilities in the real-world application cscope-15.9.
DOI 原文 ·
@inproceedings{paperbot9532,
title = {When Control Flows Deviate: Directed Grey-box Fuzzing with Probabilistic Reachability Analysis},
author = {Peihong Lin and Pengfei Wang and Xu Zhou and Wei Xie and Xin Ren and Kai Lu},
booktitle = {ASE},
year = {2025},
doi = {10.1109/ase63991.2025.00065}
}