Lune

USENIX Security2024顶会

CacheWarp: Software-based Fault Injection using Selective State Reset

Ruiyi Zhang, Lukas Gerlach, Daniel Weber, Lorenz Hetterich, Youheng Lü, Andreas Kogler, Michael Schwarz

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 33 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX
  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 PLATYPUS: Software-based Power Side-Channel Attacks on x86
  • TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX 引用了 PLATYPUS: Software-based Power Side-Channel Attacks on x86
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
  • Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Another Flip in the Wall of Rowhammer Defenses
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDX
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper33

  1. WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNPBenedict Schlüter, Supraja Sridhara, Andrin Bertschi, Shweta ShindeS&P 2024 · 42 次引用
  2. TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus InterpositionJalen Chuang, Alexander Seto, Nicolás Berrios, Stephan van Schaik 等S&P 2026 · 29 次引用
  3. TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDXLuca Wilke, Florian Sieck, Thomas EisenbarthCCS 2024 · 9 次引用
  4. SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi 等NDSS 2026 · 7 次引用
  5. Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMsCharly Castes, Andrew BaumannASPLOS 2024 · 2 次引用

它引用的 Paper20

  1. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  2. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck 等S&P 2020 · 369 次引用
  3. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
  4. LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp 等S&P 2020 · 275 次引用
  5. PLATYPUS: Software-based Power Side-Channel Attacks on x86Moritz Lipp, Andreas Kogler, David F. Oswald, Michael Schwarz 等S&P 2021 · 242 次引用

相关 Paper

  1. StackWarp: Breaking AMD SEV-SNP Integrity via Deterministic Stack-Pointer Manipulation through the CPU's Stack EngineRuiyi Zhang, Tristan Hornetz, Daniel Weber, Fabian Thomas 等USENIX Security 2026 · 1 次引用
  2. STALEUS: Breaking AMD SEV-SNP via Memory IncoherenceBenedict Schlüter, Shweta ShindeUSENIX Security 2026
  3. 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
  4. Exploiting Unprotected I/O Operations in AMD's Secure Encrypted VirtualizationMengyuan Li, Yinqian Zhang, Zhiqiang Lin, Yan SolihinUSENIX Security 2019 · 104 次引用
  5. CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNPStefan Gast, Hannes Weissteiner, Robin Leander Schröder, Daniel GrussNDSS 2025
黄昏的海面,两侧是细线勾勒的悬崖