REDQUEEN: Fuzzing with Input-to-State Correspondence
Cornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik, Thorsten Holz
摘要
—Automated software testing based on fuzzing has experienced a revival in recent years. Especially feedback-driven fuzzing has become well-known for its ability to efficiently perform randomized testing with limited input corpora. Despite a lot of progress, two common problems are magic numbers and (nested) checksums. Computationally expensive methods such as taint tracking and symbolic execution are typically used to overcome such roadblocks. Unfortunately, such methods often require access to source code, a rather precise description of the environment (e.g., behavior of library calls or the underlying OS), or the exact semantics of the platform’s instruction set. In this paper, we introduce a lightweight, yet very effective alternative to taint tracking and symbolic execution to facilitate and optimize state-of-the-art feedback fuzzing that easily scales to large binary applications and unknown environments. We observe that during the execution of a given program, parts of the input often end up directly (i.e., nearly unmodified) in the program state. This input-to-state correspondence can be exploited to create a robust method to overcome common fuzzing roadblocks in a highly effective and efficient manner. Our prototype implementation, called R EDQUEEN , is able to solve magic bytes and (nested) checksum tests automatically for a given binary executable. Additionally, we show that our techniques outperform various state-of-the-art tools on a wide variety of targets across different privilege levels (kernel-space and userland) with no platform-specific code. R EDQUEEN is the first method to find more than 100% of the bugs planted in L AVA -M across all targets. Furthermore, we were able to discover 65 new bugs and obtained 16 CVEs in multiple programs and OS kernel drivers. Finally, our evaluation demonstrates that R EDQUEEN is fast, widely applicable and outperforms concurrent approaches by up to three orders of magnitude.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 152 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CollAFL: Path Sensitive Fuzzing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- CollAFL: Path Sensitive Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- MemLock: memory usage guided fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
- MemLock: memory usage guided fuzzing 引用了 GRIMOIRE: Synthesizing Structure while Fuzzing
- MemLock: memory usage guided fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- MemLock: memory usage guided fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- MemLock: memory usage guided fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Ijon: Exploring Deep State Spaces via Fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
- Ijon: Exploring Deep State Spaces via Fuzzing 引用了 GRIMOIRE: Synthesizing Structure while Fuzzing
- Ijon: Exploring Deep State Spaces via Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Ijon: Exploring Deep State Spaces via Fuzzing 引用了 Angora: Efficient Fuzzing by Principled Search
- Ijon: Exploring Deep State Spaces via Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- GRIMOIRE: Synthesizing Structure while Fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
- GRIMOIRE: Synthesizing Structure while Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 CollAFL: Path Sensitive Fuzzing
- DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 Angora: Efficient Fuzzing by Principled Search
- DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- SMARTIAN: Enhancing Smart Contract Fuzzing with Static and Dynamic Data-Flow Analyses 引用了 Angora: Efficient Fuzzing by Principled Search
- Angora: Efficient Fuzzing by Principled Search 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- Angora: Efficient Fuzzing by Principled Search 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Angora: Efficient Fuzzing by Principled Search 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Coverage-based Greybox Fuzzing as Markov Chain 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
引用它的顶会 Paper152
- SMARTIAN: Enhancing Smart Contract Fuzzing with Static and Dynamic Data-Flow AnalysesJaeseung Choi, Doyeon Kim, Soomin Kim, Gustavo Grieco 等ASE 2021 · 164 次引用
- Ijon: Exploring Deep State Spaces via FuzzingCornelius Aschermann, Sergej Schumilo, Ali Abbasi, Thorsten HolzS&P 2020 · 146 次引用
- DifuzzRTL: Differential Fuzz Testing to Find CPU BugsJaewon Hur, Suhwan Song, Dongup Kwon, Eunjin Baek 等S&P 2021 · 126 次引用
- GRIMOIRE: Synthesizing Structure while FuzzingTim Blazytko, Cornelius Aschermann, Moritz Schlögel, Ali Abbasi 等USENIX Security 2019 · 123 次引用
- MemLock: memory usage guided fuzzingCheng Wen, Haijun Wang, Yuekang Li, Shengchao Qin 等ICSE 2020 · 116 次引用
它引用的 Paper10
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
- 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 次引用
- CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu 等S&P 2018 · 426 次引用
- LAVA: Large-Scale Automated Vulnerability AdditionBrendan Dolan-Gavitt, Patrick Hulin, Engin Kirda, Tim Leek 等S&P 2016 · 354 次引用
相关 Paper
- PATA: Fuzzing with Path Aware Taint AnalysisJie Liang, Mingzhe Wang, Chijin Zhou, Zhiyong Wu 等S&P 2022 · 84 次引用
- Intriguer: Field-Level Constraint Solving for Hybrid FuzzingMingi Cho, Seoyoung Kim, Taekyoung KwonCCS 2019 · 54 次引用
- Matryoshka: Fuzzing Deeply Nested BranchesPeng Chen, Jianzhong Liu, Hao ChenCCS 2019 · 99 次引用
- Efficient Directed Hybrid Fuzzing via Target-Centric Seed Selection and GenerationZhen Li, Shenghan Liu, Qiuping Yi, Pengbo Du 等OOPSLA 2026
- T-Fuzz: Fuzzing by Program TransformationHui Peng, Yan Shoshitaishvili, Mathias PayerS&P 2018 · 326 次引用
