Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks
Abstract
The SPECTRE family of speculative execution attacks has required a rethinking of formal methods for security. Approaches based on operational speculative semantics have made initial inroads towards finding vulnerable code and validating defenses. However, with each new attack grows the amount of microarchitectural detail that has to be integrated into the underlying semantics. We propose an alternative, lightweight and axiomatic approach to specifying speculative semantics that relies on insights from memory models for concurrency. We use the CAT modeling language for memory consistency to specify execution models that capture speculative control flow, store-to-load forwarding, predictive store forwarding, and memory ordering machine clears. We present a bounded model checking framework parameterized by our speculative CAT models and evaluate its implementation against the state of the art. Due to the axiomatic approach, our models can be rapidly extended to allow our framework to detect new types of attacks and validate defenses against them.
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.
17 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
- Automatic Detection of Speculative Execution Combinations cites Constant-time foundations for the new spectre era
- Automatic Detection of Speculative Execution Combinations cites Spectre Attacks: Exploiting Speculative Execution
- Automatic Detection of Speculative Execution Combinations cites Spectector: Principled Detection of Speculative Information Flows
- Automatic Detection of Speculative Execution Combinations cites Hardware-Software Contracts for Secure Speculation
- Automatic Detection of Speculative Execution Combinations cites SoK: Practical Foundations for Software Spectre Defenses
- Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious Programs cites Constant-time foundations for the new spectre era
- Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious Programs cites Spectector: Principled Detection of Speculative Information Flows
- Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious Programs cites Hardware-Software Contracts for Secure Speculation
- Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious Programs cites Axiomatic hardware-software contracts for security
- Constant-time foundations for the new spectre era cites Spectre Attacks: Exploiting Speculative Execution
- Constant-time foundations for the new spectre era cites Spectector: Principled Detection of Speculative Information Flows
- Spectector: Principled Detection of Speculative Information Flows cites Spectre Attacks: Exploiting Speculative Execution
- Hardware-Software Contracts for Secure Speculation cites Spectre Attacks: Exploiting Speculative Execution
- Hardware-Software Contracts for Secure Speculation cites Spectector: Principled Detection of Speculative Information Flows
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Automatic Detection of Speculative Execution Combinations
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Constant-time foundations for the new spectre era
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Spectre Attacks: Exploiting Speculative Execution
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Spectector: Principled Detection of Speculative Information Flows
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Binsec/Rel: Efficient Relational Symbolic Execution for Constant-Time at Binary-Level
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Hardware-Software Contracts for Secure Speculation
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites SoK: Practical Foundations for Software Spectre Defenses
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time cites Axiomatic hardware-software contracts for security
- SoK: Practical Foundations for Software Spectre Defenses cites Constant-time foundations for the new spectre era
- SoK: Practical Foundations for Software Spectre Defenses cites Spectre Attacks: Exploiting Speculative Execution
- SoK: Practical Foundations for Software Spectre Defenses cites Spectector: Principled Detection of Speculative Information Flows
- SoK: Practical Foundations for Software Spectre Defenses cites Binsec/Rel: Efficient Relational Symbolic Execution for Constant-Time at Binary-Level
- SoK: Practical Foundations for Software Spectre Defenses cites Hardware-Software Contracts for Secure Speculation
- Axiomatic hardware-software contracts for security cites Constant-time foundations for the new spectre era
- Axiomatic hardware-software contracts for security cites Spectre Attacks: Exploiting Speculative Execution
- Axiomatic hardware-software contracts for security cites Spectector: Principled Detection of Speculative Information Flows
- Axiomatic hardware-software contracts for security cites Hardware-Software Contracts for Secure Speculation
Cited by top-tier papers17
- SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe et al.S&P 2022 · 59 citations
- Axiomatic hardware-software contracts for securityNicholas Mosier, Hanna Lachnitt, Hamed Nemati, Caroline TrippelISCA 2022 · 26 citations
- Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 citations
- Serberus: Protecting Cryptographic Code from Spectres at Compile-TimeNicholas Mosier, Hamed Nemati, John C. Mitchell, Caroline TrippelS&P 2024 · 16 citations
- Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious ProgramsHans Winderix, Marton Bognar, Job Noorman, Lesly-Ann Daniel et al.S&P 2024 · 5 citations
Builds on11
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke et al.S&P 2020 · 177 citations
- Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 citations
- Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen et al.PLDI 2020 · 90 citations
- Binsec/Rel: Efficient Relational Symbolic Execution for Constant-Time at Binary-LevelLesly-Ann Daniel, Sébastien Bardin, Tamara RezkS&P 2020 · 76 citations
Related papers
- The Code That Never Ran: Modeling Attacks on Speculative EvaluationCraig Disselkoen, Radha Jagadeesan, Alan Jeffrey, James RielyS&P 2019 · 24 citations
- InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 citations
- RAT-CAT-SAT: Model Checking Memory Consistency ModelsJan Grünke, Thomas Haas, Roland MeyerOOPSLA 2026
- Structural Operational Semantics for Functional and Security Verification of Pipelined ProcessorsRobert J. Colvin, Roger C. SuCAV 2025 · 2 citations
- ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin et al.USENIX Security 2023
