Lune

USENIX Security2023顶会

CarpetFuzz: Automatic Program Option Constraint Extraction from Documentation for Fuzzing

Dawei Wang, Ying Li, Zhiyu Zhang, Kai Chen

摘要

The large-scale code in software supports the rich and diverse functionalities, and at the same time contains potential vulnerabilities. Fuzzing, as one of the most popular vulnerability detection methods, continues evolving in both industry and academy, aiming to find more vulnerabilities by covering more code. However, we find that even with the state-ofthe-art fuzzers, there is still some unexplored code that can only be triggered using a specific combination of program options. Simply mutating the options may generate many invalid combinations due to the lack of consideration of constraints (or called relationships) among options. In this paper, we leverage natural language processing (NLP) to automatically extract option descriptions from program documents and analyze the relationship (e.g., conflicts, dependencies) among the options before filtering out invalid combinations and only leaving the valid ones for fuzzing. We implemented a tool called CarpetFuzz and evaluated its performance. The results show that CarpetFuzz accurately extracts the relationships from documents with 96.10% precision and 88.85% recall. Based on these relationships, CarpetFuzz reduced the 67.91% option combinations to be tested. It helps AFL find 45.97% more paths that other fuzzers cannot discover. After analyzing 20 popular open-source programs, CarpetFuzz discovered 57 vulnerabilities, including 43 undisclosed ones. We also successfully obtained CVE IDs for 30 vulnerabilities.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • CollAFL: Path Sensitive Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • MUTATO: Enhancing Fuzz Drivers with Adaptive API Option Mutation 引用了 ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model
  • MUTATO: Enhancing Fuzz Drivers with Adaptive API Option Mutation 引用了 Evaluating Fuzz Testing
  • Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
  • Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
  • Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model 引用了 Fuzzing BusyBox: Leveraging LLM and Crash Reuse for Embedded Bug Unearthing
  • ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model 引用了 Evaluating Fuzz Testing
  • ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • PILOT: Command-Line Interface Fuzzing Via Path-Guided, Iterative Large Language Model Prompting 引用了 ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model
  • PILOT: Command-Line Interface Fuzzing Via Path-Guided, Iterative Large Language Model Prompting 引用了 Fuzzing BusyBox: Leveraging LLM and Crash Reuse for Embedded Bug Unearthing
  • PILOT: Command-Line Interface Fuzzing Via Path-Guided, Iterative Large Language Model Prompting 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Fuzzing BusyBox: Leveraging LLM and Crash Reuse for Embedded Bug Unearthing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Variability-Aware Fuzzing 引用了 ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language Model
  • Variability-Aware Fuzzing 引用了 Evaluating Fuzz Testing
  • Variability-Aware Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Angora: Efficient Fuzzing by Principled Search 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing 引用了 Angora: Efficient Fuzzing by Principled Search
  • Evaluating Fuzz Testing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Fuzzing BusyBox: Leveraging LLM and Crash Reuse for Embedded Bug UnearthingAsmita, Yaroslav Oliinyk, Michael Scott, Ryan Tsang 等USENIX Security 2024 · 56 次引用
  2. ProphetFuzz: Fully Automated Prediction and Fuzzing of High-Risk Option Combinations with Only Documentation via Large Language ModelDawei Wang, Geng Zhou, Li Chen, Dan Li 等CCS 2024 · 9 次引用
  3. PILOT: Command-Line Interface Fuzzing Via Path-Guided, Iterative Large Language Model PromptingMomoko Shiraishi, Yinzhi Cao, Takahiro ShinagawaS&P 2026 · 1 次引用
  4. MUTATO: Enhancing Fuzz Drivers with Adaptive API Option MutationShuangxiang Kan, Xiao Cheng, Yuekang LiNDSS 2026
  5. Variability-Aware FuzzingMeah Tahmeed Ahmed, Arnab Dev, Shiyi WeiICSE 2026

它引用的 Paper15

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
  2. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
  3. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
  4. CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu 等S&P 2018 · 426 次引用
  5. Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid FuzzingLei Zhao, Yue Duan, Heng Yin, Jifeng XuanNDSS 2019 · 157 次引用

相关 Paper

  1. OSmart: Whitebox Program Option FuzzingKelin Wang, Mengda Chen, Liang He, Purui Su 等CCS 2024 · 2 次引用
  2. SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept ExploitsWei You, Peiyuan Zong, Kai Chen, XiaoFeng Wang 等CCS 2017 · 148 次引用
  3. PolyFuzz: Holistic Greybox Fuzzing of Multi-Language SystemsWen Li, Jinyang Ruan, Guangbei Yi, Long Cheng 等USENIX Security 2023
  4. It Takes Two: Option-Aware Directed Greybox Fuzzing for Vulnerability PoC GenerationSusheng Wu, Xin Hu, Yiheng Cao, Zhuotong Zhou 等FSE 2026
  5. SelectFuzz: Efficient Directed Fuzzing with Selective Path ExplorationChanghua Luo, Wei Meng, Penghui LiS&P 2023
黄昏的海面,两侧是细线勾勒的悬崖