Fuzztruction: Using Fault Injection-based Fuzzing to Leverage Implicit Domain Knowledge
Nils Bars, Moritz Schloegel, Tobias Scharnowski, Nico Schiller, Thorsten Holz
摘要
Today's digital communication relies on complex protocols and specifications for exchanging structured messages and data. Communication naturally involves two endpoints: One generating data and one consuming it. Traditional fuzz testing approaches replace one endpoint, the generator, with a fuzzer and rapidly test many mutated inputs on the target program under test. While this fully automated approach works well for loosely structured formats, this does not hold for highly structured formats, especially those that go through complex transformations such as compression or encryption. In this work, we propose a novel perspective on generating inputs in highly complex formats without relying on heavyweight program analysis techniques, coarse-grained grammar approximation, or a human domain expert. Instead of mutating the inputs for a target program, we inject faults into the data generation program so that this data is almost of the expected format. Such data bypasses the initial parsing stages in the consumer program and exercises deeper program states, where it triggers more interesting program behavior. To realize this concept, we propose a set of compile-time and run-time analyses to mutate the generator in a targeted manner, so that it remains intact and produces semi-valid outputs that satisfy the constraints of the complex format. We have implemented this approach in a prototype called FUZZ-TRUCTION and show that it outperforms the state-of-the-art fuzzers AFL++, SYMCC, and WEIZZ. FUZZTRUCTION finds significantly more coverage than existing methods, especially on targets that use cryptographic primitives. During our evaluation, FUZZTRUCTION uncovered 151 unique crashes (after automated deduplication). So far, we manually triaged and reported 27 bugs and 4 CVEs were assigned.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 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 引用了 Angora: Efficient Fuzzing by Principled Search
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Evaluating Fuzz Testing
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Pandawan: Quantifying Progress in Linux-based Firmware Rehosting 引用了 Evaluating Fuzz Testing
- FuzzInMem: Fuzzing Programs via In-memory Structures 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- FuzzInMem: Fuzzing Programs via In-memory Structures 引用了 Angora: Efficient Fuzzing by Principled Search
- FuzzInMem: Fuzzing Programs via In-memory Structures 引用了 Evaluating Fuzz Testing
- FuzzInMem: Fuzzing Programs via In-memory Structures 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Angora: Efficient Fuzzing by Principled Search
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- No Peer, no Cry: Network Application Fuzzing via Fault Injection 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- No Peer, no Cry: Network Application Fuzzing via Fault Injection 引用了 SoK: Prudent Evaluation Practices for Fuzzing
- No Peer, no Cry: Network Application Fuzzing via Fault Injection 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- No Peer, no Cry: Network Application Fuzzing via Fault Injection 引用了 Evaluating Fuzz Testing
- 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
引用它的顶会 Paper15
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic FirmwareMichael Chesser, Surya Nepal, Damith C. RanasingheUSENIX Security 2024 · 13 次引用
- Pandawan: Quantifying Progress in Linux-based Firmware RehostingIoannis Angelakopoulos, Gianluca Stringhini, Manuel EgeleUSENIX Security 2024 · 5 次引用
- No Peer, no Cry: Network Application Fuzzing via Fault InjectionNils Bars, Moritz Schloegel, Nico Schiller, Lukas Bernhard 等CCS 2024 · 5 次引用
- FuzzInMem: Fuzzing Programs via In-memory StructuresXuwei Liu, Wei You, Yapeng Ye, Zhuo Zhang 等ICSE 2024 · 4 次引用
它引用的 Paper26
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
- 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 次引用
相关 Paper
- WEIZZ: automatic grey-box fuzzing for structured binary formatsAndrea Fioraldi, Daniele Cono D'Elia, Emilio CoppaISSTA 2020 · 65 次引用
- Low-Cost and Comprehensive Non-textual Input Fuzzing with LLM-Synthesized Input GeneratorsKunpeng Zhang, Zongjie Li, Daoyuan Wu, Shuai Wang 等USENIX Security 2025
- NestFuzz: Enhancing Fuzzing with Comprehensive Understanding of Input Processing LogicPeng Deng, Zhemin Yang, Lei Zhang, Guangliang Yang 等CCS 2023 · 5 次引用
- Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 次引用
- T-Fuzz: Fuzzing by Program TransformationHui Peng, Yan Shoshitaishvili, Mathias PayerS&P 2018 · 326 次引用
