MC2: Rigorous and Efficient Directed Greybox Fuzzing
Abhishek Shah, Dongdong She, Samanway Sadhu, Krish Singal, Peter Coffman, Suman Jana
摘要
Directed greybox fuzzing is a popular technique for targeted software testing that seeks to find inputs that reach a set of target sites in a program. Most existing directed greybox fuzzers do not provide any theoretical analysis of their performance or optimality. In this paper, we introduce a complexity-theoretic framework to pose directed greybox fuzzing as a oracle-guided search problem where some feedback about the input space (e.g., how close an input is to the target sites) is received by querying an oracle. Our framework assumes that each oracle query can return arbitrary content with a large but constant amount of information. Therefore, we use the number of oracle queries required by a fuzzing algorithm to find a target-reaching input as the performance metric. Using our framework, we design a randomized directed greybox fuzzing algorithm that makes a logarithmic (wrt. the number of all possible inputs) number of queries in expectation to find a target-reaching input. We further prove that the number of oracle queries required by our algorithm is optimal, i.e., no fuzzing algorithm can improve (i.e., minimize) the query count by more than a constant factor. We implement our approach in MC 2 and outperform state-of-theart directed greybox fuzzers on challenging benchmarks (Magma and Fuzzer Test Suite) by up to two orders of magnitude (i.e., 134×) on average. MC 2 also found 15 previously undiscovered bugs that other state-of-the-art directed greybox fuzzers failed to find.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- Critical Code Guided Directed Greybox Fuzzing for Commits 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Critical Code Guided Directed Greybox Fuzzing for Commits 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- Critical Code Guided Directed Greybox Fuzzing for Commits 引用了 Angora: Efficient Fuzzing by Principled Search
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- SDFuzz: Target States Driven Directed Fuzzing 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Angora: Efficient Fuzzing by Principled Search
- Hawkeye: Towards a Desired Directed Grey-box Fuzzer 引用了 Angora: Efficient Fuzzing by Principled Search
- Titan : Efficient Multi-target Directed Greybox Fuzzing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Titan : Efficient Multi-target Directed Greybox Fuzzing 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- Titan : Efficient Multi-target Directed Greybox Fuzzing 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- Titan : Efficient Multi-target Directed Greybox Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- Angora: Efficient Fuzzing by Principled Search 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant Inference 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant Inference 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant Inference 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant Inference 引用了 Angora: Efficient Fuzzing by Principled Search
引用它的顶会 Paper17
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
- Titan : Efficient Multi-target Directed Greybox FuzzingHeqing Huang, Peisen Yao, Hung-Chun Chiu, Yiyuan Guo 等S&P 2024 · 28 次引用
- SDFuzz: Target States Driven Directed FuzzingPenghui Li, Wei Meng, Chao ZhangUSENIX Security 2024 · 16 次引用
- Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant InferenceHeqing Huang, Anshunkang Zhou, Mathias Payer, Charles ZhangS&P 2024 · 15 次引用
- Critical Code Guided Directed Greybox Fuzzing for CommitsYi Xiang, Xuhong Zhang, Peiyu Liu, Shouling Ji 等USENIX Security 2024 · 14 次引用
它引用的 Paper28
- Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
- Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang 等USENIX Security 2018 · 537 次引用
- REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik 等NDSS 2019 · 413 次引用
- Hawkeye: Towards a Desired Directed Grey-box FuzzerHongxu Chen, Yinxing Xue, Yuekang Li, Bihuan Chen 等CCS 2018 · 335 次引用
相关 Paper
- DirectFuzz: Automated Test Generation for RTL Designs using Directed Graybox FuzzingSadullah Canakci, Leila Delshadtehrani, Furkan Eris, Michael Bedford Taylor 等DAC 2021 · 53 次引用
- Constraint-guided Directed Greybox FuzzingGwangmu Lee, Woochul Shim, Byoungyoung LeeUSENIX Security 2021 · 99 次引用
- Predecessor-aware Directed Greybox FuzzingYujian Zhang, Yaokun Liu, Jinyu Xu, Yanhao WangS&P 2024 · 8 次引用
- Critical Variable State-Aware Directed Greybox FuzzingXu Chen, Ningning Cui, Zhe Pan, Liwei Chen 等ICSE 2025 · 3 次引用
- Guiding Greybox Fuzzing with Mutation TestingVasudev Vikram, Isabella Laybourn, Ao Li, Nicole Nair 等ISSTA 2023 · 22 次引用
