Lune

CCS2021顶会

One Glitch to Rule Them All: Fault Injection Attacks Against AMD's Secure Encrypted Virtualization

Robert Buhren, Hans Niklas Jacob, Thilo Krachenfels, Jean-Pierre Seifert

摘要

AMD Secure Encrypted Virtualization (SEV) offers protection mechanisms for virtual machines in untrusted environments through memory and register encryption. To separate security-sensitive operations from software executing on the main x86 cores, SEV leverages the AMD Secure Processor (AMD-SP). This paper introduces a new approach to attack SEV-protected virtual machines (VMs) by targeting the AMD-SP. We present a voltage glitching attack that allows an attacker to execute custom payloads on the AMD-SPs of all microarchitectures that support SEV currently on the market (Zen 1, Zen 2, and Zen 3). The presented methods allow us to deploy a custom SEV firmware on the AMD-SP, which enables an adversary to decrypt a VM's memory. Furthermore, using our approach, we can extract endorsement keys of SEV-enabled CPUs, which allows us to fake attestation reports or to pose as a valid target for VM migration without requiring physical access to the target host. Moreover, we reverse-engineered the Versioned Chip Endorsement Key (VCEK) mechanism introduced with SEV Secure Nested Paging (SEV-SNP). The VCEK binds the endorsement keys to the firmware version of TCB components relevant for SEV. Building on the ability to extract the endorsement keys, we show how to derive valid VCEKs for arbitrary firmware versions. With our findings, we prove that SEV cannot adequately protect confidential data in cloud environments from insider attackers, such as rogue administrators, on currently available CPUs.

问 Lune

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

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

已有 31 篇顶会 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 引用了 Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization
  • CacheWarp: Software-based Fault Injection using Selective State Reset 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • CacheWarp: Software-based Fault Injection using Selective State Reset 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
  • SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions 引用了 Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization
  • SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions 引用了 Insecure Until Proven Updated: Analyzing AMD SEV's Remote Attestation
  • 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 引用了 Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization
  • HECKLER: Breaking Confidential VMs with Malicious Interrupts 引用了 Insecure Until Proven Updated: Analyzing AMD SEV's Remote Attestation
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 A Systematic Look at Ciphertext Side Channels on AMD SEV-SNP
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 CacheWarp: Software-based Fault Injection using Selective State Reset
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 HECKLER: Breaking Confidential VMs with Malicious Interrupts
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 SoK: SGX.Fail: How Stuff Gets eXposed
  • TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition 引用了 VoltPillager: Hardware-based fault injection attacks against Intel SGX Enclaves using the SVID voltage scaling interface
  • SoK: SGX.Fail: How Stuff Gets eXposed 引用了 SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper31

  1. A Systematic Look at Ciphertext Side Channels on AMD SEV-SNPMengyuan Li, Luca Wilke, Jan Wichelmann, Thomas Eisenbarth 等S&P 2022 · 87 次引用
  2. SoK: SGX.Fail: How Stuff Gets eXposedStephan van Schaik, Alexander Seto, Thomas Yurek, Adam Batori 等S&P 2024 · 52 次引用
  3. HECKLER: Breaking Confidential VMs with Malicious InterruptsBenedict Schlüter, Supraja Sridhara, Mark Kuhne, Andrin Bertschi 等USENIX Security 2024 · 48 次引用
  4. CacheWarp: Software-based Fault Injection using Selective State ResetRuiyi Zhang, Lukas Gerlach, Daniel Weber, Lorenz Hetterich 等USENIX Security 2024 · 36 次引用
  5. TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus InterpositionJalen Chuang, Alexander Seto, Nicolás Berrios, Stephan van Schaik 等S&P 2026 · 29 次引用

它引用的 Paper4

  1. VoltPillager: Hardware-based fault injection attacks against Intel SGX Enclaves using the SVID voltage scaling interfaceZitai Chen, Georgios Vasilakis, Kit Murdock, Edward Dean 等USENIX Security 2021 · 127 次引用
  2. Exploiting Unprotected I/O Operations in AMD's Secure Encrypted VirtualizationMengyuan Li, Yinqian Zhang, Zhiqiang Lin, Yan SolihinUSENIX Security 2019 · 104 次引用
  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. Insecure Until Proven Updated: Analyzing AMD SEV's Remote AttestationRobert Buhren, Christian Werling, Jean-Pierre SeifertCCS 2019 · 60 次引用

相关 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. CrossLine: Breaking "Security-by-Crash" based Memory Isolation in AMD SEVMengyuan Li, Yinqian Zhang, Zhiqiang LinCCS 2021 · 41 次引用
  4. Jailbreaking the AMD Secure Processor: Enabling Live Analysis of SEV-SNP's Undocumented Security BoundariesMuyan Shen, Hongzhan Ma, Ketong Shang, Ruofei Qu 等USENIX Security 2026
  5. Reload+Reload: Exploiting Cache and Memory Contention Side Channel on AMD SEVLi-Chung Chiang, Shih-Wei LiASPLOS 2025 · 8 次引用
黄昏的海面,两侧是细线勾勒的悬崖