Core slicing: closing the gap between leaky confidential VMs and bare-metal cloud
Ziqiao Zhou, Yizhou Shan, Weidong Cui, Xinyang Ge, Marcus Peinado, Andrew Baumann
摘要
Virtual machines are the basis of resource isolation in today's public clouds, yet the security risks of entrusting that isolation to a cloud provider's hypervisor are substantial. Such concerns have motivated hardware extensions for "confidential VMs" that seek to remove the hypervisor from the trusted computing base by adding a highly-privileged firmware layer that checks hypervisor actions, and supports memory encryption and remote attestation. However, the hypervisor retains control of resource management and observes associated guest actions including nested page table faults and CPU scheduling, and thus confidential VMs remain vulnerable to an ever-changing variety of hypervisor-level side channel attacks. Bare-metal cloud servers avoid such leaks, but remain a niche due to the high cost of dedicated hardware.
We observe that typical cloud VMs run with a static allocation of memory and discrete cores, and increasingly rely on I/O offload, thus negating the apparent need for a hypervisor and the fragile hypervisor/guest isolation boundary. Our design, core slicing, enables multiple untrusted guest OSes to run on shared bare-metal hardware. To ensure isolation without the complexity of virtualization, we propose simple hardware extensions that restrict guests to a static slice of a machine's cores, memory and virtual I/O devices, and delegate resource allocation to a dedicated management slice. We demonstrate practicality and evaluate performance with prototypes for RISC-V and x86.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNP 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNP 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Spectre Attacks: Exploiting Speculative Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 Spectre Attacks: Exploiting Speculative Execution
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 Meltdown: Reading Kernel Memory from User Space
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Principled Microarchitectural Isolation on Cloud CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
- Principled Microarchitectural Isolation on Cloud CPUs 引用了 Meltdown: Reading Kernel Memory from User Space
- Principled Microarchitectural Isolation on Cloud CPUs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- IOValve: Leakage-Free I/O Sandbox for Large-Scale Untrusted Data Processing 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- IOValve: Leakage-Free I/O Sandbox for Large-Scale Untrusted Data Processing 引用了 Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMs
- IOValve: Leakage-Free I/O Sandbox for Large-Scale Untrusted Data Processing 引用了 Principled Microarchitectural Isolation on Cloud CPUs
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
- SmartNIC Security Isolation in the Cloud with S-NIC 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- SmartNIC Security Isolation in the Cloud with S-NIC 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
引用它的顶会 Paper6
- SmartNIC Security Isolation in the Cloud with S-NICYang Zhou, Mark Wilkening, James Mickens, Minlan YuEuroSys 2024 · 25 次引用
- Principled Microarchitectural Isolation on Cloud CPUsStavros Volos, Cédric Fournet, Jana Hofmann, Boris Köpf 等CCS 2024 · 5 次引用
- Sharing is leaking: blocking transient-execution attacks with core-gapped confidential VMsCharly Castes, Andrew BaumannASPLOS 2024 · 2 次引用
- IOValve: Leakage-Free I/O Sandbox for Large-Scale Untrusted Data ProcessingSangho Lee, Jules Drean, Yue Tan, Marcus PeinadoCCS 2025 · 1 次引用
- CounterSEVeillance: Performance-Counter Attacks on AMD SEV-SNPStefan Gast, Hannes Weissteiner, Robin Leander Schröder, Daniel GrussNDSS 2025
它引用的 Paper28
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
- Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
相关 Paper
- High-density Multi-tenant Bare-metal CloudXiantao Zhang, Xiao Zheng, Zhi Wang, Hang Yang 等ASPLOS 2020 · 39 次引用
- BadAML: Exploiting Legacy Firmware Interfaces to Compromise Confidential Virtual MachinesSatoru Takekoshi, Manami Mori, Takaaki Fukai, Takahiro ShinagawaCCS 2025
- Protecting Cloud Virtual Machines from Hypervisor and Host Operating System ExploitsShih-Wei Li, John S. Koh, Jason NiehUSENIX Security 2019 · 49 次引用
- Design and Verification of the Arm Confidential Compute ArchitectureXupeng Li, Xuheng Li, Christoffer Dall, Ronghui Gu 等OSDI 2022 · 60 次引用
- INCOGNITOS: A Practical Unikernel Design for Full-System Obfuscation in Confidential Virtual MachinesKha Dinh Duy, Jaeyoon Kim, Hajeong Lim, Hojoon LeeS&P 2025
