Token-Level Fuzzing
Christopher Salls, Chani Jindal, Jake Corina, Christopher Kruegel, Giovanni Vigna
摘要
Fuzzing has become a commonly used approach to identifying bugs in complex, real-world programs. However, interpreters are notoriously difficult to fuzz effectively, as they expect highly structured inputs, which are rarely produced by most fuzzing mutations. For this class of programs, grammar-based fuzzing has been shown to be effective. Tools based on this approach can find bugs in the code that is executed after parsing the interpreter inputs, by following language-specific rules when generating and mutating test cases. Unfortunately, grammar-based fuzzing is often unable to discover subtle bugs associated with the parsing and handling of the language syntax. Additionally, if the grammar provided to the fuzzer is incomplete, or does not match the implementation completely, the fuzzer will fail to exercise important parts of the available functionality. In this paper, we propose a new fuzzing technique, called Token-Level Fuzzing. Instead of applying mutations either at the byte level or at the grammar level, Token-Level Fuzzing applies mutations at the token level. Evolutionary fuzzers can leverage this technique to both generate inputs that are parsed successfully and generate inputs that do not conform strictly to the grammar. As a result, the proposed approach can find bugs that neither byte-level fuzzing nor grammar-based fuzzing can find. We evaluated Token-Level Fuzzing by modifying AFL and fuzzing four popular JavaScript engines, finding 29 previously unknown bugs, several of which could not be found with state-of-the-art byte-level and grammar-based fuzzers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Angora: Efficient Fuzzing by Principled Search
- Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Evaluating Fuzz Testing
- JIT-Picking: Differential Fuzzing of JavaScript Engines 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- VUzzer: Application-aware Evolutionary Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Directed Greybox Fuzzing
- LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Angora: Efficient Fuzzing by Principled Search
- LibAFL: A Framework to Build Modular and Reusable Fuzzers 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Minerva: browser API fuzzing with dynamic mod-ref analysis
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 JIT-Picking: Differential Fuzzing of JavaScript Engines
- 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
- Fuzzing JavaScript Interpreters with Coverage-Guided Reinforcement Learning for LLM-Based Mutation 引用了 Evaluating Fuzz Testing
- Directed Greybox Fuzzing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Directed Greybox Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Coverage-based Greybox Fuzzing as Markov Chain 引用了 Directed Greybox Fuzzing
- Angora: Efficient Fuzzing by Principled Search 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Angora: Efficient Fuzzing by Principled Search 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Evaluating Fuzz Testing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Evaluating Fuzz Testing 引用了 Directed Greybox Fuzzing
- Evaluating Fuzz Testing 引用了 Angora: Efficient Fuzzing by Principled Search
- Evaluating Fuzz Testing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
引用它的顶会 Paper17
- LibAFL: A Framework to Build Modular and Reusable FuzzersAndrea Fioraldi, Dominik Christian Maier, Dongjia Zhang, Davide BalzarottiCCS 2022 · 71 次引用
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
- JIT-Picking: Differential Fuzzing of JavaScript EnginesLukas Bernhard, Tobias Scharnowski, Moritz Schloegel, Tim Blazytko 等CCS 2022 · 42 次引用
- Fuzzing JavaScript Interpreters with Coverage-Guided Reinforcement Learning for LLM-Based MutationJueon Eom, Seyeon Jeong, Taekyoung KwonISSTA 2024 · 26 次引用
- Minerva: browser API fuzzing with dynamic mod-ref analysisChijin Zhou, Quan Zhang, Mingzhe Wang, Lihua Guo 等FSE 2022 · 20 次引用
它引用的 Paper15
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
- Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 次引用
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
- VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar 等NDSS 2017 · 700 次引用
- Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
相关 Paper
- BCFuzz: Bytecode-Driven Fuzzing for JavaScript EnginesJiming Wang, Chenggang Wu, Jikai Ren, Yuhao Hu 等ASE 2025 · 1 次引用
- NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig 等NDSS 2019 · 291 次引用
- Repair-Driven Greybox FuzzingBachir Bendrissou, Alastair F. Donaldson, Cristian CadarISSTA 2026
- SoFi: Reflection-Augmented Fuzzing for JavaScript EnginesXiaoyu He, Xiaofei Xie, Yuekang Li, Jianwen Sun 等CCS 2021 · 34 次引用
- Learning input tokens for effective fuzzingBjörn Mathis, Rahul Gopinath, Andreas ZellerISSTA 2020 · 27 次引用
