USENIX Security2024Top-tier venue
CacheWarp: Software-based Fault Injection using Selective State Reset
Ruiyi Zhang, Lukas Gerlach, Daniel Weber, Lorenz Hetterich, Youheng Lü, Andreas Kogler, Michael Schwarz
Abstract
AMD SEV is a trusted-execution environment (TEE), providing confidentiality and integrity for virtual machines (VMs). With AMD SEV, it is possible to securely run VMs on an untrusted hypervisor. While previous attacks demonstrated architectural shortcomings of earlier SEV versions, AMD claims that SEV-SNP prevents all attacks on the integrity. In this paper, we introduce CacheWarp, a new softwarebased fault attack on AMD SEV-ES and SEV-SNP, exploiting the possibility to architecturally revert modified cache lines of guest VMs to their previous (stale) state. Unlike previous attacks on the integrity, CacheWarp is not mitigated on the newest SEV-SNP implementation, and it does not rely on specifics of the guest VM. CacheWarp only has to interrupt the VM at an attacker-chosen point to invalidate modified cache lines without them being written back to memory. Consequently, the VM continues with architecturally stale data. In 3 case studies, we demonstrate an attack on RSA in the Intel IPP crypto library, recovering the entire private key, logging into an OpenSSH server without authentication, and escalating privileges to root via the sudo binary. While we implement a software-based mitigation proof-of-concept, we argue that mitigations are difficult, as the root cause is in the hardware.
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.
33 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
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites Plundervolt: Software-based Fault Injection Attacks against Intel SGX
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs cites PLATYPUS: Software-based Power Side-Channel Attacks on x86
- TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX cites Plundervolt: Software-based Fault Injection Attacks against Intel SGX
- TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX cites WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
- TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX cites PLATYPUS: Software-based Power Side-Channel Attacks on x86
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection cites Plundervolt: Software-based Fault Injection Attacks against Intel SGX
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs cites LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs cites Plundervolt: Software-based Fault Injection Attacks against Intel SGX
- Plundervolt: Software-based Fault Injection Attacks against Intel SGX cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Plundervolt: Software-based Fault Injection Attacks against Intel SGX cites Another Flip in the Wall of Rowhammer Defenses
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition cites TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition cites WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
- PLATYPUS: Software-based Power Side-Channel Attacks on x86 cites LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
Cited by top-tier papers33
- WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNPBenedict Schlüter, Supraja Sridhara, Andrin Bertschi, Shweta ShindeS&P 2024 · 42 citations
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus InterpositionJalen Chuang, Alexander Seto, Nicolás Berrios, Stephan van Schaik et al.S&P 2026 · 29 citations
- TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDXLuca Wilke, Florian Sieck, Thomas EisenbarthCCS 2024 · 9 citations
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi et al.NDSS 2026 · 7 citations
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMsCharly Castes, Andrew BaumannASPLOS 2024 · 2 citations
Builds on20
- ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck et al.CCS 2019 · 464 citations
- Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck et al.S&P 2020 · 369 citations
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
- LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp et al.S&P 2020 · 275 citations
- PLATYPUS: Software-based Power Side-Channel Attacks on x86Moritz Lipp, Andreas Kogler, David F. Oswald, Michael Schwarz et al.S&P 2021 · 242 citations
Related papers
- StackWarp: Breaking AMD SEV-SNP Integrity via Deterministic Stack-Pointer Manipulation through the CPU's Stack EngineRuiyi Zhang, Tristan Hornetz, Daniel Weber, Fabian Thomas et al.USENIX Security 2026 · 1 citation
- STALEUS: Breaking AMD SEV-SNP via Memory IncoherenceBenedict Schlüter, Shweta ShindeUSENIX Security 2026
- One Glitch to Rule Them All: Fault Injection Attacks Against AMD's Secure Encrypted VirtualizationRobert Buhren, Hans Niklas Jacob, Thilo Krachenfels, Jean-Pierre SeifertCCS 2021
- Exploiting Unprotected I/O Operations in AMD's Secure Encrypted VirtualizationMengyuan Li, Yinqian Zhang, Zhiqiang Lin, Yan SolihinUSENIX Security 2019 · 104 citations
- CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNPStefan Gast, Hannes Weissteiner, Robin Leander Schröder, Daniel GrussNDSS 2025
