Lune

NDSS2021Top-tier venue

SymQEMU: Compilation-based symbolic execution for binaries

Sebastian Poeplau, Aurélien Francillon

Abstract

—Symbolic execution is a powerful technique for software analysis and bug detection. Compilation-based symbolic execution is a recently proposed flavor that has been shown to improve the performance of symbolic execution significantly when source code is available. We demonstrate a novel technique to enable compilation-based symbolic execution of binaries (i.e., without the need for source code). Our system, SymQEMU, builds on top of QEMU, modifying the intermediate representation of the target program before translating it to the host architecture. This enables SymQEMU to compile symbolic-execution capabilities into binaries and reap the associated performance benefits while maintaining architecture independence. We present our approach and implementation, and we show that it outperforms the state-of-the-art binary symbolic executors S2E and QSYM with statistical significance; on some benchmarks, it even achieves better performance than the source-based SymCC. Moreover, our tool has found a previously unknown vulnerability in the well-tested libarchive library, demonstrating its utility in testing real-world software.

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.

28 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • LibAFL: A Framework to Build Modular and Reusable Fuzzers cites REDQUEEN: Fuzzing with Input-to-State Correspondence
  • Learning to Explore Paths for Symbolic Execution cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • Learning to Explore Paths for Symbolic Execution cites REDQUEEN: Fuzzing with Input-to-State Correspondence
  • Learning to Explore Paths for Symbolic Execution cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Learning to Explore Paths for Symbolic Execution cites Evaluating Fuzz Testing
  • Learning to Explore Paths for Symbolic Execution cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • SoK: Prudent Evaluation Practices for Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
  • SoK: Prudent Evaluation Practices for Fuzzing cites JIGSAW: Efficient and Scalable Path Constraints Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Evaluating Fuzz Testing
  • Cottontail: Large Language Model-Driven Concolic Execution for Highly Structured Test Input Generation cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • Cottontail: Large Language Model-Driven Concolic Execution for Highly Structured Test Input Generation cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • JIGSAW: Efficient and Scalable Path Constraints Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • JIGSAW: Efficient and Scalable Path Constraints Fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
  • Evaluating Fuzz Testing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers28

  1. LibAFL: A Framework to Build Modular and Reusable FuzzersAndrea Fioraldi, Dominik Christian Maier, Dongjia Zhang, Davide BalzarottiCCS 2022 · 71 citations
  2. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
  3. Learning to Explore Paths for Symbolic ExecutionJingxuan He, Gishor Sivanrupan, Petar Tsankov, Martin T. VechevCCS 2021 · 39 citations
  4. JIGSAW: Efficient and Scalable Path Constraints FuzzingJu Chen, Jinghan Wang, Chengyu Song, Heng YinS&P 2022 · 25 citations
  5. Cottontail: Large Language Model-Driven Concolic Execution for Highly Structured Test Input GenerationHaoxin Tu, Seongmin Lee, Yuxian Li, Peng Chen et al.S&P 2026 · 22 citations

Builds on9

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens et al.S&P 2016 · 1,085 citations
  2. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher et al.NDSS 2016 · 1,021 citations
  3. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  4. QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang et al.USENIX Security 2018 · 537 citations
  5. REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations

Related papers

  1. Symbolic execution with SymCC: Don't interpret, compile!Sebastian Poeplau, Aurélien FrancillonUSENIX Security 2020
  2. SymFit: Making the Common (Concrete) Case Fast for Binary-Code Concolic ExecutionZhenxiao Qi, Jie Hu, Zhaoqi Xiao, Heng YinUSENIX Security 2024 · 4 citations
  3. KRover: A Symbolic Execution Engine for Dynamic Kernel AnalysisPansilu Pitigalaarachchi, Xuhua Ding, Haiqing Qiu, Haoxin Tu et al.CCS 2023 · 4 citations
  4. SYMSAN: Time and Space Efficient Concolic Execution via Dynamic Data-flow AnalysisJu Chen, Wookhyun Han, Mingjun Yin, Haochen Zeng et al.USENIX Security 2022
  5. When Compiler Optimizations Meet Symbolic Execution: An Empirical StudyYue Zhang, Melih Sirlanci, Ruoyu Wang, Zhiqiang LinCCS 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines