Gramine-TDX: A Lightweight OS Kernel for Confidential VMs
Open Access
- 2 December 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 4598-4612
Abstract
While Confidential Virtual Machines (CVMs) have emerged as a prominent way for hardware-assisted confidential computing, their primary usage is not suitable for small, specialized, security-critical workloads, i.e., legacy VMs with their conventional OS distributions result in a large trusted computing base. In this paper, we present the Gramine-TDX OS kernel to execute slim, single-purpose, security-first, unmodified Linux workloads with a minimal attack surface. In comparison to a typical Linux kernel, Gramine-TDX's codebase is ~ 50× less in binary size and has a significantly smaller attack surface, which makes it a perfect match for emerging cloud-native confidential-computing workloads. Our evaluation on 11 workloads indicates that Gramine-TDX has 1-25% average overhead for CPU- and memory-intensive applications. Performance on network- and FS-intensive applications can drop to 6% of the native application's, as Gramine-TDX prioritizes security over optimizations in virtual hardware communication. We build our prototype using Intel®Trust Domain Extensions (TDX).Keywords
Funding Information
- European Research Council (101077577)
This publication has 43 references indexed in Scilit:
- vSGX: Virtualizing SGX Enclaves on AMD SEV2022
- Confidential Computing—a brave new world2021
- Demystifying Attestation in Intel Trust Domain Extensions via Formal VerificationIEEE Access, 2021
- undeSErVed trust: Exploiting Permutation-Agnostic Remote Attestation2021
- SEVerity: Code Injection Attacks against Encrypted Virtual Machines2021
- RustyHermit: A Scalable, Rust-Based Virtual Execution Environment2020
- SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions2020
- Cold Boot Attacks are Still Hot: Security Analysis of Memory Scramblers in Modern Processors2017
- Speeding up packet I/O in virtual machines2013
- virtioACM SIGOPS Operating Systems Review, 2008