Lune

CCS2025顶会

RMPocalypse: How a Catch-22 Breaks AMD SEV-SNP

Benedict Schlüter, Shweta Shinde

摘要

AMD SEV-SNP offers confidential computing in form of confidential VMs, such that the untrusted hypervisor cannot tamper with its confidentiality and integrity. SEV-SNP, the latest addition, ensures integrity via the Reverse Map Table (RMP) that stops the hypervisor from tampering guest page mappings. AMD uses RMP entries to protect the rest of the RMP, thus causing a Catch-22 during the RMP setup phase. To address this, SEV-SNP relies on AMD's Platform Security Processor (PSP), that resides next to the x86 cores executing SEV-SNP VMs, to perform the RMP initialization. During initialization, only PSP should be able to alter the RMP memory. All other memory accesses must be fenced, especially from the x86 cores. We present RMPocalypse, a novel attack that shows a critical gap in the security of RMP initialization, wherein the x86 cores maliciously control parts of the initial RMP state. Our analysis shows that the vulnerability arises due to the complex, but insufficient, interplay of multiple hardware components and distributed access controls. To show the impact of our finding, we exploit this gap to break confidentiality and integrity guarantees of SEV-SNP. We demonstrate RMPocalypse by enabling debug on production-mode CVMs, faking attestation, VMSA state replay, and code injection.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 HECKLER: Breaking Confidential VMs with Malicious Interrupts
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • STALEUS: Breaking AMD SEV-SNP via Memory Incoherence 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • DDRop: Active Memory Interposer Attacks on Confidential VMs by Dropping DDR5 Writes 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • DDRop: Active Memory Interposer Attacks on Confidential VMs by Dropping DDR5 Writes 引用了 FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP
  • DDRop: Active Memory Interposer Attacks on Confidential VMs by Dropping DDR5 Writes 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 HECKLER: Breaking Confidential VMs with Malicious Interrupts
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNP 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP 引用了 HECKLER: Breaking Confidential VMs with Malicious Interrupts
  • FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNP 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • HECKLER: Breaking Confidential VMs with Malicious Interrupts 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • HECKLER: Breaking Confidential VMs with Malicious Interrupts 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • HECKLER: Breaking Confidential VMs with Malicious Interrupts 引用了 WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
  • WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP 引用了 HECKLER: Breaking Confidential VMs with Malicious Interrupts
  • HECKLER: Breaking Confidential VMs with Malicious Interrupts 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP 引用了 CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel
  • CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side Channel 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNPPhilipp Giersfeld, Benedict Schlüter, Shweta ShindeS&P 2026 · 1 次引用
  2. STALEUS: Breaking AMD SEV-SNP via Memory IncoherenceBenedict Schlüter, Shweta ShindeUSENIX Security 2026
  3. DDRop: Active Memory Interposer Attacks on Confidential VMs by Dropping DDR5 WritesJesse De Meulemeester, Stefan Gloor, Patrick Jattke, Daniel Moghimi 等CCS 2026
  4. FABRICKED: Misconfiguring Infinity Fabric to Break AMD SEV-SNPBenedict Schlüter, Christoph Wech, Shweta ShindeUSENIX Security 2026
  5. HarborMaster: Rollback Detection for Trusted Distributed ComputingShubham Mishra, Alexander Thomas, Nurzhan Abdrassilov, Kaiyuan Chen 等VLDB 2026

它引用的 Paper14

  1. CIPHERLEAKS: Breaking Constant-time Cryptography on AMD SEV via the Ciphertext Side ChannelMengyuan Li, Yinqian Zhang, Huibo Wang, Kang Li 等USENIX Security 2021 · 130 次引用
  2. A Systematic Look at Ciphertext Side Channels on AMD SEV-SNPMengyuan Li, Luca Wilke, Jan Wichelmann, Thomas Eisenbarth 等S&P 2022 · 87 次引用
  3. SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal AssumptionsLuca Wilke, Jan Wichelmann, Mathias Morbitzer, Thomas EisenbarthS&P 2020 · 72 次引用
  4. HECKLER: Breaking Confidential VMs with Malicious InterruptsBenedict Schlüter, Supraja Sridhara, Mark Kuhne, Andrin Bertschi 等USENIX Security 2024 · 48 次引用
  5. WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNPBenedict Schlüter, Supraja Sridhara, Andrin Bertschi, Shweta ShindeS&P 2024 · 42 次引用

相关 Paper

  1. Heracles: Chosen Plaintext Attack on AMD SEV-SNPBenedict Schlüter, Christoph Wech, Shweta ShindeCCS 2025 · 1 次引用
  2. CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNPStefan Gast, Hannes Weissteiner, Robin Leander Schröder, Daniel GrussNDSS 2025
  3. CrossLine: Breaking "Security-by-Crash" based Memory Isolation in AMD SEVMengyuan Li, Yinqian Zhang, Zhiqiang LinCCS 2021 · 41 次引用
  4. 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
  5. 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 次引用
黄昏的海面,两侧是细线勾勒的悬崖