Lune

ISSTA2021顶会

Gramatron: effective grammar-aware fuzzing

Prashast Srivastava, Mathias Payer

摘要

Fuzzers aware of the input grammar can explore deeper program states using grammar-aware mutations. Existing grammar-aware fuzzers are ineffective at synthesizing complex bug triggers due to: (i) grammars introducing a sampling bias during input generation due to their structure, and (ii) the current mutation operators for parse trees performing localized small-scale changes. Gramatron uses grammar automatons in conjunction with aggressive mutation operators to synthesize complex bug triggers faster. We build grammar automatons to address the sampling bias. It restructures the grammar to allow for unbiased sampling from the input state space. We redesign grammar-aware mutation operators to be more aggressive, i.e., perform large-scale changes. Gramatron can consistently generate complex bug triggers in an efficient manner as compared to using conventional grammars with parse trees. Inputs generated from scratch by Gramatron have higher diversity as they achieve up to 24.2% more coverage relative to existing fuzzers. Gramatron makes input generation 98% faster and the input representations are 24% smaller. Our redesigned mutation operators are 6.4× more aggressive while still being 68% faster at performing these mutations. We evaluate Gramatron across three interpreters with 10 known bugs consisting of three complex bug triggers and seven simple bug triggers against two Nautilus variants. Gramatron finds all the complex bug triggers reliably and faster. For the simple bug triggers, Gramatron outperforms Nautilus four out of seven times. To demonstrate Gramatron's effectiveness in the wild, we deployed Gramatron on three popular interpreters for a 10-day fuzzing campaign where it discovered 10 new vulnerabilities.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Fuzzing JavaScript Engines with Aspect-preserving Mutation
  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Evaluating Fuzz Testing
  • NAUTILUS: Fishing for Deep Bugs with Grammars 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
  • Hopper: Interpretative Fuzzing for Libraries 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
  • Hopper: Interpretative Fuzzing for Libraries 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 Minerva: browser API fuzzing with dynamic mod-ref analysis
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 Fuzzing JavaScript Engines with Aspect-preserving Mutation
  • Fuzzing JavaScript Engines with Aspect-preserving Mutation 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
  • Fuzzing JavaScript Engines with Aspect-preserving Mutation 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • Fuzzing JavaScript Engines with Aspect-preserving Mutation 引用了 CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
  • Fuzzing JavaScript Engines with Aspect-preserving Mutation 引用了 Evaluating Fuzz Testing
  • Evaluating Fuzz Testing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper41

  1. LibAFL: A Framework to Build Modular and Reusable FuzzersAndrea Fioraldi, Dominik Christian Maier, Dongjia Zhang, Davide BalzarottiCCS 2022 · 71 次引用
  2. Cascade: CPU Fuzzing via Intricate Program GenerationFlavien Solt, Katharina Ceesay-Seitz, Kaveh RazaviUSENIX Security 2024 · 46 次引用
  3. Hopper: Interpretative Fuzzing for LibrariesPeng Chen, Yuxuan Xie, Yunlong Lyu, Yuxiao Wang 等CCS 2023 · 23 次引用
  4. Minerva: browser API fuzzing with dynamic mod-ref analysisChijin Zhou, Quan Zhang, Mingzhe Wang, Lihua Guo 等FSE 2022 · 20 次引用
  5. Towards Better Semantics Exploration for Browser FuzzingChijin Zhou, Quan Zhang, Lihua Guo, Mingzhe Wang 等OOPSLA 2023 · 15 次引用

它引用的 Paper7

  1. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
  2. Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 次引用
  3. NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig 等NDSS 2019 · 291 次引用
  4. CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript EnginesHyungSeok Han, DongHyeon Oh, Sang Kil ChaNDSS 2019 · 178 次引用
  5. Fuzzing JavaScript Engines with Aspect-preserving MutationSoyeon Park, Wen Xu, Insu Yun, Daehee Jang 等S&P 2020 · 126 次引用

相关 Paper

  1. Repair-Driven Greybox FuzzingBachir Bendrissou, Alastair F. Donaldson, Cristian CadarISSTA 2026
  2. Token-Level FuzzingChristopher Salls, Chani Jindal, Jake Corina, Christopher Kruegel 等USENIX Security 2021
  3. GRIMOIRE: Synthesizing Structure while FuzzingTim Blazytko, Cornelius Aschermann, Moritz Schlögel, Ali Abbasi 等USENIX Security 2019 · 123 次引用
  4. An Empirical Examination of Fuzzer Mutator PerformanceJames Kukucka, Luís Pina, Paul Ammann, Jonathan BellISSTA 2024 · 4 次引用
  5. GrayC: Greybox Fuzzing of Compilers and Analysers for CKarine Even-Mendoza, Arindam Sharma, Alastair F. Donaldson, Cristian CadarISSTA 2023 · 52 次引用
黄昏的海面,两侧是细线勾勒的悬崖