CollAFL: Path Sensitive Fuzzing
Shuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu, Kang Li, Zhongyu Pei, Zuoning Chen
摘要
Coverage-guided fuzzing is a widely used and effective solution to find software vulnerabilities. Tracking code coverage and utilizing it to guide fuzzing are crucial to coverageguided fuzzers. However, tracking full and accurate path coverage is infeasible in practice due to the high instrumentation overhead. Popular fuzzers (e.g., AFL) often use coarse coverage information, e.g., edge hit counts stored in a compact bitmap, to achieve highly efficient greybox testing. Such inaccuracy and incompleteness in coverage introduce serious limitations to fuzzers. First, it causes path collisions, which prevent fuzzers from discovering potential paths that lead to new crashes. More importantly, it prevents fuzzers from making wise decisions on fuzzing strategies. In this paper, we propose a coverage sensitive fuzzing solution CollAFL. It mitigates path collisions by providing more accurate coverage information, while still preserving low instrumentation overhead. It also utilizes the coverage information to apply three new fuzzing strategies, promoting the speed of discovering new paths and vulnerabilities. We implemented a prototype of CollAFL based on the popular fuzzer AFL and evaluated it on 24 popular applications. The results showed that path collisions are common, i.e., up to 75% of edges could collide with others in some applications, and CollAFL could reduce the edge collision ratio to nearly zero. Moreover, armed with the three fuzzing strategies, CollAFL outperforms AFL in terms of both code coverage and vulnerability discovery. On average, CollAFL covered 20% more program paths, found 320% more unique crashes and 260% more bugs than AFL in 200 hours. In total, CollAFL found 157 new security bugs with 95 new CVEs assigned.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 130 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- VUzzer: Application-aware Evolutionary Fuzzing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- VUzzer: Application-aware Evolutionary Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Skyfire: Data-Driven Seed Generation for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- SAVIOR: Towards Bug-Driven Hybrid Testing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- SAVIOR: Towards Bug-Driven Hybrid Testing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- SAVIOR: Towards Bug-Driven Hybrid Testing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- SAVIOR: Towards Bug-Driven Hybrid Testing 引用了 Directed Greybox Fuzzing
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Directed Greybox Fuzzing
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 Directed Greybox Fuzzing
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- 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
引用它的顶会 Paper130
- 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 次引用
- SAVIOR: Towards Bug-Driven Hybrid TestingYaohui Chen, Peng Li, Jun Xu, Shengjian Guo 等S&P 2020 · 186 次引用
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid FuzzingLei Zhao, Yue Duan, Heng Yin, Jifeng XuanNDSS 2019 · 157 次引用
- Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided TracingStefan Nagy, Matthew HicksS&P 2019 · 156 次引用
它引用的 Paper11
- 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 次引用
- VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar 等NDSS 2017 · 700 次引用
- Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 次引用
- LAVA: Large-Scale Automated Vulnerability AdditionBrendan Dolan-Gavitt, Patrick Hulin, Engin Kirda, Tim Leek 等S&P 2016 · 354 次引用
相关 Paper
- Same Coverage, Less Bloat: Accelerating Binary-only Fuzzing with Coverage-preserving Coverage-guided TracingStefan Nagy, Anh Nguyen-Tuong, Jason D. Hiser, Jack W. Davidson 等CCS 2021 · 21 次引用
- BEACON: Directed Grey-Box Fuzzing with Provable Path PruningHeqing Huang, Yiyuan Guo, Qingkai Shi, Peisen Yao 等S&P 2022 · 139 次引用
- Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu 等ASE 2020 · 35 次引用
- DDGF: Dynamic Directed Greybox Fuzzing with Path ProfilingHaoran Fang, Kaikai Zhang, Donghui Yu, Yuanyuan ZhangISSTA 2024 · 10 次引用
- Path Transitions Tell More: Optimizing Fuzzing Schedules via Runtime Program StatesKunpeng Zhang, Xi Xiao, Xiaogang Zhu, Ruoxi Sun 等ICSE 2022 · 25 次引用
