Lune

Abstract

We propose leakage containment models (LCMs)---novel axiomatic security contracts which support formally reasoning about the security guarantees of programs when they run on particular microarchitectures. Our core contribution is an axiomatic vocabulary for formalizing LCMs, derived from the established axiomatic vocabulary for formalizing processor memory consistency models. Using this vocabulary, we formalize microarchitectural leakage---focusing on leakage through hardware memory systems---so that it can be automatically detected in programs and provide a taxonomy for classifying said leakage by severity. To illustrate the efficacy of LCMs, we first demonstrate that our leakage definition faithfully captures a sampling of (transient and non-transient) microarchitectural attacks from the literature. Second, we develop a static analysis tool based on LCMs which automatically identifies Spectre vulnerabilities in programs and scales to analyze real-world crypto-libraries.

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.

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

  • Spectector: Principled Detection of Speculative Information Flows cites Spectre Attacks: Exploiting Speculative Execution
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Spectre Attacks: Exploiting Speculative Execution
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Hardware-Software Contracts for Secure Speculation
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites RIDL: Rogue In-Flight Data Load
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Serberus: Protecting Cryptographic Code from Spectres at Compile-Time
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Pensieve: Microarchitectural Modeling for Security Evaluation
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling cites Spectre Attacks: Exploiting Speculative Execution
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Spectre Attacks: Exploiting Speculative Execution
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Spectector: Principled Detection of Speculative Information Flows
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Hardware-Software Contracts for Secure Speculation
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites RIDL: Rogue In-Flight Data Load
  • 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
  • Hardware-Software Contracts for Secure Speculation cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Hardware-Software Contracts for Secure Speculation cites RIDL: Rogue In-Flight Data Load
  • RIDL: Rogue In-Flight Data Load cites Spectre Attacks: Exploiting Speculative Execution
  • "These results must be false": A usability evaluation of constant-time analysis tools cites Spectre Attacks: Exploiting Speculative Execution
  • 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 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • 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 RIDL: Rogue In-Flight Data Load
  • Pensieve: Microarchitectural Modeling for Security Evaluation cites Spectre Attacks: Exploiting Speculative Execution
  • Pensieve: Microarchitectural Modeling for Security Evaluation cites Spectector: Principled Detection of Speculative Information Flows
  • Pensieve: Microarchitectural Modeling for Security Evaluation cites Hardware-Software Contracts for Secure Speculation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Pensieve: Microarchitectural Modeling for Security EvaluationYuheng Yang, Thomas Bourgeat, Stella Lau, Mengjia YanISCA 2023 · 23 citations
  2. Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke et al.CCS 2023 · 20 citations
  3. Serberus: Protecting Cryptographic Code from Spectres at Compile-TimeNicholas Mosier, Hamed Nemati, John C. Mitchell, Caroline TrippelS&P 2024 · 16 citations
  4. "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt et al.USENIX Security 2024 · 15 citations
  5. RTL Verification for Secure Speculation Using Contract Shadow LogicQinhan Tan, Yuheng Yang, Thomas Bourgeat, Sharad Malik et al.ASPLOS 2025 · 12 citations

Builds on18

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck et al.CCS 2019 · 464 citations
  3. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo et al.S&P 2019 · 408 citations
  4. Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke et al.S&P 2020 · 177 citations
  5. Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 citations

Related papers

  1. Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution AttacksHernán Ponce de León, Johannes KinderS&P 2022 · 35 citations
  2. Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf et al.USENIX Security 2023
  3. InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 citations
  4. Revizor: testing black-box CPUs against speculation contractsOleksii Oleksenko, Christof Fetzer, Boris Köpf, Mark SilbersteinASPLOS 2022 · 36 citations
  5. ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines