SAVIOR: Towards Bug-Driven Hybrid Testing
Yaohui Chen, Peng Li, Jun Xu, Shengjian Guo, Rundong Zhou, Yulong Zhang, Tao Wei, Long Lu
摘要
Hybrid testing combines fuzz testing and concolic execution. It leverages fuzz testing to test easy-to-reach code regions and uses concolic execution to explore code blocks guarded by complex branch conditions. As a result, hybrid testing is able to reach deeper into program state space than fuzz testing or concolic execution alone. Recently, hybrid testing has seen significant advancement. However, its code coverage-centric design is inefficient in vulnerability detection. First, it blindly selects seeds for concolic execution and aims to explore new code continuously. However, as statistics show, a large portion of the explored code is often bug-free. Therefore, giving equal attention to every part of the code during hybrid testing is a non-optimal strategy. It slows down the detection of real vulnerabilities by over 43%. Second, classic hybrid testing quickly moves on after reaching a chunk of code, rather than examining the hidden defects inside. It may frequently miss subtle vulnerabilities despite that it has already explored the vulnerable code paths.We propose SAVIOR, a new hybrid testing framework pioneering a bug-driven principle. Unlike the existing hybrid testing tools, SAVIOR prioritizes the concolic execution of the seeds that are likely to uncover more vulnerabilities. Moreover, SAVIOR verifies all vulnerable program locations along the executing program path. By modeling faulty situations using SMT constraints, SAVIOR reasons the feasibility of vulnerabilities and generates concrete test cases as proofs. Our evaluation shows that the bug-driven approach outperforms mainstream automated testing techniques, including state-of-the-art hybrid testing systems driven by code coverage. On average, SAVIOR detects vulnerabilities 43.4% faster than DRILLER and 44.3% faster than QSYM, leading to the discovery of 88 and 76 more unique bugs, respectively. According to the evaluation on 11 well fuzzed benchmark programs, within the first 24 hours, SAVIOR triggers 481 UBSAN violations, among which 243 are real bugs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 71 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- VUzzer: Application-aware Evolutionary Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Seed selection for successful fuzzing 引用了 Directed Greybox Fuzzing
- Seed selection for successful fuzzing 引用了 Evaluating Fuzz Testing
- Typestate-guided fuzzer for discovering use-after-free vulnerabilities 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Typestate-guided fuzzer for discovering use-after-free vulnerabilities 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Typestate-guided fuzzer for discovering use-after-free vulnerabilities 引用了 Angora: Efficient Fuzzing by Principled Search
- Typestate-guided fuzzer for discovering use-after-free vulnerabilities 引用了 Evaluating Fuzz Testing
- Regression Greybox Fuzzing 引用了 Directed Greybox Fuzzing
- Regression Greybox Fuzzing 引用了 Evaluating Fuzz Testing
- BEACON: Directed Grey-Box Fuzzing with Provable Path Pruning 引用了 Directed Greybox Fuzzing
- BEACON: Directed Grey-Box Fuzzing with Provable Path Pruning 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- BEACON: Directed Grey-Box Fuzzing with Provable Path Pruning 引用了 Angora: Efficient Fuzzing by Principled Search
- BEACON: Directed Grey-Box Fuzzing with Provable Path Pruning 引用了 Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction
- Directed Greybox Fuzzing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Directed Greybox Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Angora: Efficient Fuzzing by Principled Search 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Angora: Efficient Fuzzing by Principled Search 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Evaluating Fuzz Testing 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Evaluating Fuzz Testing 引用了 Directed Greybox Fuzzing
- Evaluating Fuzz Testing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Evaluating Fuzz Testing 引用了 Angora: Efficient Fuzzing by Principled Search
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction 引用了 Directed Greybox Fuzzing
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction 引用了 Angora: Efficient Fuzzing by Principled Search
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path Abstraction 引用了 Evaluating Fuzz Testing
引用它的顶会 Paper71
- BEACON: Directed Grey-Box Fuzzing with Provable Path PruningHeqing Huang, Yiyuan Guo, Qingkai Shi, Peisen Yao 等S&P 2022 · 139 次引用
- Typestate-guided fuzzer for discovering use-after-free vulnerabilitiesHaijun Wang, Xiaofei Xie, Yi Li, Cheng Wen 等ICSE 2020 · 107 次引用
- Seed selection for successful fuzzingAdrian Herrera, Hendra Gunadi, Shane Magrath, Michael Norrish 等ISSTA 2021 · 95 次引用
- Pangolin: Incremental Hybrid Fuzzing with Polyhedral Path AbstractionHeqing Huang, Peisen Yao, Rongxin Wu, Qingkai Shi 等S&P 2020 · 94 次引用
- Regression Greybox FuzzingXiaogang Zhu, Marcel BöhmeCCS 2021 · 84 次引用
它引用的 Paper12
- Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
- 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
- Efficient Directed Hybrid Fuzzing via Target-Centric Seed Selection and GenerationZhen Li, Shenghan Liu, Qiuping Yi, Pengbo Du 等OOPSLA 2026
- Evaluating and Improving Hybrid FuzzingLing Jiang, Hengchen Yuan, Mingyuan Wu, Lingming Zhang 等ICSE 2023 · 29 次引用
- Send Hardest Problems My Way: Probabilistic Path Prioritization for Hybrid FuzzingLei Zhao, Yue Duan, Heng Yin, Jifeng XuanNDSS 2019 · 157 次引用
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang 等USENIX Security 2018 · 537 次引用
- Intriguer: Field-Level Constraint Solving for Hybrid FuzzingMingi Cho, Seoyoung Kim, Taekyoung KwonCCS 2019 · 54 次引用
