Linear-time Temporal Logic guided Greybox Fuzzing
Ruijie Meng, Zhen Dong, Jialin Li, Ivan Beschastnikh, Abhik Roychoudhury
Abstract
Software model checking as well as runtime verification are verification techniques which are widely used for checking temporal properties of software systems. Even though they are property verification techniques, their common usage in practice is in "bug finding", that is, finding violations of temporal properties. Motivated by this observation and leveraging the recent progress in fuzzing, we build a greybox fuzzing framework to find violations of Linear-time Temporal Logic (LTL) properties. Our framework takes as input a sequential program written in C/C++, and an LTL property. It finds violations, or counterexample traces, of the LTL property in stateful software systems; however, it does not achieve verification. Our work substantially extends directed greybox fuzzing to witness arbitrarily complex event orderings. We note that existing directed greybox fuzzing approaches are limited to witnessing reaching a location or witnessing simple event orderings like use-after-free. At the same time, compared to model checkers, our approach finds the counterexamples faster, thereby finding more counterexamples within a given time budget. Our LTL-Fuzzer tool, built on top of the AFL fuzzer, is shown to be effective in detecting bugs in well-known protocol implementations, such as OpenSSL and Telnet. We use LTL-Fuzzer to reproduce known vulnerabilities (CVEs), to find 15 zero-day bugs by checking properties extracted from RFCs (for which 12 CVEs have been assigned), and to find violations of both safety as well as liveness properties in real-world protocol implementations. Our work represents a practical advance over software model checkers -while simultaneously representing a conceptual advance over existing greybox fuzzers. Our work thus provides a starting point for understanding the unexplored synergies among software model checking, runtime verification and greybox fuzzing.
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.
15 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
- VUzzer: Application-aware Evolutionary Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Greybox Fuzzing of Distributed Systems cites VUzzer: Application-aware Evolutionary Fuzzing
- Greybox Fuzzing of Distributed Systems cites Coverage-based Greybox Fuzzing as Markov Chain
- SoK: Prudent Evaluation Practices for Fuzzing cites Greybox Fuzzing of Distributed Systems
- SoK: Prudent Evaluation Practices for Fuzzing cites HTFuzz: Heap Operation Sequence Sensitive Fuzzing
- SoK: Prudent Evaluation Practices for Fuzzing cites Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- SoK: Prudent Evaluation Practices for Fuzzing cites Evaluating Fuzz Testing
- SoK: Prudent Evaluation Practices for Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- HTFuzz: Heap Operation Sequence Sensitive Fuzzing cites VUzzer: Application-aware Evolutionary Fuzzing
- HTFuzz: Heap Operation Sequence Sensitive Fuzzing cites Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- HTFuzz: Heap Operation Sequence Sensitive Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Directed Greybox Fuzzing cites VUzzer: Application-aware Evolutionary Fuzzing
- Directed Greybox Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Coverage-based Greybox Fuzzing as Markov Chain cites Directed Greybox Fuzzing
- Evaluating Fuzz Testing cites VUzzer: Application-aware Evolutionary Fuzzing
- Evaluating Fuzz Testing cites Directed Greybox Fuzzing
- Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
Cited by top-tier papers15
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
- Greybox Fuzzing of Distributed SystemsRuijie Meng, George Pîrlea, Abhik Roychoudhury, Ilya SergeyCCS 2023 · 22 citations
- On the Effectiveness of Function-Level Vulnerability Detectors for Inter-Procedural VulnerabilitiesZhen Li, Ning Wang, Deqing Zou, Yating Li et al.ICSE 2024 · 18 citations
- HTFuzz: Heap Operation Sequence Sensitive FuzzingYuanping Yu, Xiangkun Jia, Yuwei Liu, Yanhao Wang et al.ASE 2022 · 14 citations
- ProveNFix: Temporal Property-Guided Program RepairYahui Song, Xiang Gao, Wenhua Li, Wei-Ngan Chin et al.FSE 2024 · 9 citations
Builds on9
- 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
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
- VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar et al.NDSS 2017 · 700 citations
- Hawkeye: Towards a Desired Directed Grey-box FuzzerHongxu Chen, Yinxing Xue, Yuekang Li, Bihuan Chen et al.CCS 2018 · 335 citations
Related papers
- Stateful Greybox FuzzingJinsheng Ba, Marcel Böhme, Zahra Mirzamomen, Abhik RoychoudhuryUSENIX Security 2022
- SpecBCFuzz: Fuzzing LTL Solvers with Boundary ConditionsLuiz Carvalho, Renzo Degiovanni, Maxime Cordy, Nazareno Aguirre et al.ICSE 2024 · 1 citation
- DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz TestingMax Ammann, Lucca Hirschi, Steve KremerS&P 2024 · 25 citations
- Program Environment FuzzingRuijie Meng, Gregory J. Duck, Abhik RoychoudhuryCCS 2024 · 6 citations
- DifuzzRTL: Differential Fuzz Testing to Find CPU BugsJaewon Hur, Suhwan Song, Dongup Kwon, Eunjin Baek et al.S&P 2021 · 126 citations
