USENIX Security2019Top-tier venue
GRIMOIRE: Synthesizing Structure while Fuzzing
Tim Blazytko, Cornelius Aschermann, Moritz Schlögel, Ali Abbasi, Sergej Schumilo, Simon Wörner, Thorsten Holz
Abstract
In the past few years, fuzzing has received significant attention from the research community. However, most of this attention was directed towards programs without a dedicated parsing stage. In such cases, fuzzers which leverage the input structure of a program can achieve a significantly higher code coverage compared to traditional fuzzing approaches. This advancement in coverage is achieved by applying large-scale mutations in the application's input space. However, this improvement comes at the cost of requiring expert domain knowledge, as these fuzzers depend on structure input specifications (e. g., grammars). Grammar inference, a technique which can automatically generate such grammars for a given program, can be used to address this shortcoming. Such techniques usually infer a program's grammar in a pre-processing step and can miss important structures that are uncovered only later during normal fuzzing. In this paper, we present the design and implementation of GRIMOIRE, a fully automated coverage-guided fuzzer which works without any form of human interaction or preconfiguration; yet, it is still able to efficiently test programs that expect highly structured inputs. We achieve this by performing large-scale mutations in the program input space using grammar-like combinations to synthesize new highly structured inputs without any pre-processing step. Our evaluation shows that GRIMOIRE outperforms other coverageguided fuzzers when fuzzing programs with highly structured inputs. Furthermore, it improves upon existing grammarbased coverage-guided fuzzers. Using GRIMOIRE, we identified 19 distinct memory corruption bugs in real-world programs and obtained 11 new CVEs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
63 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites CollAFL: Path Sensitive Fuzzing
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- CollAFL: Path Sensitive Fuzzing cites Directed Greybox Fuzzing
- CollAFL: Path Sensitive Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- MemLock: memory usage guided fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- MemLock: memory usage guided fuzzing cites CollAFL: Path Sensitive Fuzzing
- MemLock: memory usage guided fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
- MemLock: memory usage guided fuzzing cites Directed Greybox Fuzzing
- MemLock: memory usage guided fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Seed selection for successful fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Seed selection for successful fuzzing cites CollAFL: Path Sensitive Fuzzing
- Seed selection for successful fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
- Seed selection for successful fuzzing cites Directed Greybox Fuzzing
- Seed selection for successful fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Ijon: Exploring Deep State Spaces via Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Ijon: Exploring Deep State Spaces via Fuzzing cites CollAFL: Path Sensitive Fuzzing
- Ijon: Exploring Deep State Spaces via Fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
- Ijon: Exploring Deep State Spaces via Fuzzing cites Directed Greybox Fuzzing
- Ijon: Exploring Deep State Spaces via Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites CollAFL: Path Sensitive Fuzzing
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites MemLock: memory usage guided fuzzing
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites REDQUEEN: Fuzzing with Input-to-State Correspondence
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites Directed Greybox Fuzzing
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types cites Coverage-based Greybox Fuzzing as Markov Chain
- REDQUEEN: Fuzzing with Input-to-State Correspondence cites CollAFL: Path Sensitive Fuzzing
- REDQUEEN: Fuzzing with Input-to-State Correspondence cites Coverage-based Greybox Fuzzing as Markov Chain
- Directed Greybox Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Coverage-based Greybox Fuzzing as Markov Chain cites Directed Greybox Fuzzing
- Constraint-guided Directed Greybox Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Constraint-guided Directed Greybox Fuzzing cites Directed Greybox Fuzzing
Cited by top-tier papers63
- Ijon: Exploring Deep State Spaces via FuzzingCornelius Aschermann, Sergej Schumilo, Ali Abbasi, Thorsten HolzS&P 2020 · 146 citations
- MemLock: memory usage guided fuzzingCheng Wen, Haijun Wang, Yuekang Li, Shengchao Qin et al.ICSE 2020 · 116 citations
- Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine TypesSergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner et al.USENIX Security 2021 · 102 citations
- Constraint-guided Directed Greybox FuzzingGwangmu Lee, Woochul Shim, Byoungyoung LeeUSENIX Security 2021 · 99 citations
- Seed selection for successful fuzzingAdrian Herrera, Hendra Gunadi, Shane Magrath, Michael Norrish et al.ISSTA 2021 · 95 citations
Builds on11
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
- Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 citations
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang et al.USENIX Security 2018 · 537 citations
- CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu et al.S&P 2018 · 426 citations
- REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations
Related papers
- NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig et al.NDSS 2019 · 291 citations
- Gramatron: effective grammar-aware fuzzingPrashast Srivastava, Mathias PayerISSTA 2021 · 51 citations
- Repair-Driven Greybox FuzzingBachir Bendrissou, Alastair F. Donaldson, Cristian CadarISSTA 2026
- MoFuzz: A Fuzzer Suite for Testing Model-Driven Software Engineering ToolsHoang Lam Nguyen, Nebras Nassar, Timo Kehrer, Lars GrunskeASE 2020 · 12 citations
- Low-Cost and Comprehensive Non-textual Input Fuzzing with LLM-Synthesized Input GeneratorsKunpeng Zhang, Zongjie Li, Daoyuan Wu, Shuai Wang et al.USENIX Security 2025
