Axiomatic hardware-software contracts for security
Nicholas Mosier, Hanna Lachnitt, Hamed Nemati, Caroline Trippel
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Spectector: Principled Detection of Speculative Information Flows 引用了 Spectre Attacks: Exploiting Speculative Execution
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Spectre Attacks: Exploiting Speculative Execution
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Hardware-Software Contracts for Secure Speculation
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 RIDL: Rogue In-Flight Data Load
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Serberus: Protecting Cryptographic Code from Spectres at Compile-Time
- RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Pensieve: Microarchitectural Modeling for Security Evaluation
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
- Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Spectre Attacks: Exploiting Speculative Execution
- Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Spectector: Principled Detection of Speculative Information Flows
- Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Hardware-Software Contracts for Secure Speculation
- Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 RIDL: Rogue In-Flight Data Load
- Hardware-Software Contracts for Secure Speculation 引用了 Spectre Attacks: Exploiting Speculative Execution
- Hardware-Software Contracts for Secure Speculation 引用了 Spectector: Principled Detection of Speculative Information Flows
- Hardware-Software Contracts for Secure Speculation 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Hardware-Software Contracts for Secure Speculation 引用了 RIDL: Rogue In-Flight Data Load
- RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
- "These results must be false": A usability evaluation of constant-time analysis tools 引用了 Spectre Attacks: Exploiting Speculative Execution
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 Spectre Attacks: Exploiting Speculative Execution
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 Spectector: Principled Detection of Speculative Information Flows
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 Hardware-Software Contracts for Secure Speculation
- Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 RIDL: Rogue In-Flight Data Load
- Pensieve: Microarchitectural Modeling for Security Evaluation 引用了 Spectre Attacks: Exploiting Speculative Execution
- Pensieve: Microarchitectural Modeling for Security Evaluation 引用了 Spectector: Principled Detection of Speculative Information Flows
- Pensieve: Microarchitectural Modeling for Security Evaluation 引用了 Hardware-Software Contracts for Secure Speculation
引用它的顶会 Paper15
- Pensieve: Microarchitectural Modeling for Security EvaluationYuheng Yang, Thomas Bourgeat, Stella Lau, Mengjia YanISCA 2023 · 23 次引用
- Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2023 · 20 次引用
- Serberus: Protecting Cryptographic Code from Spectres at Compile-TimeNicholas Mosier, Hamed Nemati, John C. Mitchell, Caroline TrippelS&P 2024 · 16 次引用
- "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt 等USENIX Security 2024 · 15 次引用
- RTL Verification for Secure Speculation Using Contract Shadow LogicQinhan Tan, Yuheng Yang, Thomas Bourgeat, Sharad Malik 等ASPLOS 2025 · 12 次引用
它引用的 Paper18
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
- Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke 等S&P 2020 · 177 次引用
- Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 次引用
相关 Paper
- Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution AttacksHernán Ponce de León, Johannes KinderS&P 2022 · 35 次引用
- Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf 等USENIX Security 2023
- InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 次引用
- Revizor: testing black-box CPUs against speculation contractsOleksii Oleksenko, Christof Fetzer, Boris Köpf, Mark SilbersteinASPLOS 2022 · 36 次引用
- ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin 等USENIX Security 2023
