arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.16463cs.CRcs.OS
收藏

使用 e-vTPM 对 SEV-SNP 机密虚拟机进行远程证明

Remote attestation of SEV-SNP confidential VMs using e-vTPMs

Vikram Narayanan, Claudio Carvalho, Angelo Ruocco, Gheorghe Almási, James Bottomley, Mengmei Ye, Tobin Feldman-Fitzthum, Daniele Buono, Hubertus Franke, Anton Burtsev

AI总结:

本文提出基于 SEV-SNP 隔离机制的无状态临时 e-vTPM,使机密虚拟机在不信任云提供商的前提下获得私有、隔离的硬件 RoT 虚拟化与远程证明能力。

摘要:

为应对以云为中心的软件部署范式所带来的安全挑战,芯片和云厂商正在推出机密计算(confidential computing),这是一个总称,旨在提供硬件和软件机制,以保护云工作负载免受云提供商及其软件栈的侵害。如今,Intel SGX、AMD SEV、Intel TDX 等技术通过在 CPU 硬件边界以下对应用内存进行加密,提供了一种使云应用免受云提供商影响的方法,因此只需信任 CPU 厂商。遗憾的是,现有硬件机制并不能自动保证受保护系统在配置和启动期间未被篡改。此类保证依赖于硬件 RoT,即一个受到完整性保护的位置,能够以可信方式存储测量值、扩展这些测量值,并向用户认证测量日志。在本工作中,我们设计并实现了一种虚拟化 TPM,它在无需信任云提供商的情况下将硬件 RoT 虚拟化。为确保提供商控制环境中 vTPM 的安全性,我们利用 SEV-SNP 硬件独特的隔离属性,使我们能够作为 enclave 环境的一部分执行安全服务,从而使其受到保护、不被云提供商访问。我们进一步开发了一种新的 vTPM 状态管理方法,其中 vTPM 状态不会在重启之间保留。具体而言,我们开发了一种无状态的临时 vTPM,它支持远程证明,并且在主机上不保留任何持久状态。这使我们能够为每台机密虚拟机配对一个 vTPM 私有实例,该实例与提供商控制的环境以及其他虚拟机完全隔离。我们的原型完全构建于开源组件之上。尽管我们的工作专门针对 AMD,但类似方法也可用于在其他可信执行环境上构建远程证明协议。

英文摘要:

Trying to address the security challenges of a cloud-centric software deployment paradigm, silicon and cloud vendors are introducing confidential computing - an umbrella term aimed at providing hardware and software mechanisms for protecting cloud workloads from the cloud provider and its software stack. Today, Intel SGX, AMD SEV, Intel TDX, etc., provide a way to shield cloud applications from the cloud provider through encryption of the application's memory below the hardware boundary of the CPU, hence requiring trust only in the CPU vendor. Unfortunately, existing hardware mechanisms do not automatically enable the guarantee that a protected system was not tampered with during configuration and boot time. Such a guarantee relies on a hardware RoT, i.e., an integrity-protected location that can store measurements in a trustworthy manner, extend them, and authenticate the measurement logs to the user. In this work, we design and implement a virtual TPM that virtualizes the hardware RoT without requiring trust in the cloud provider. To ensure the security of a vTPM in a provider-controlled environment, we leverage unique isolation properties of the SEV-SNP hardware that allows us to execute secure services as part of the enclave environment protected from the cloud provider. We further develop a novel approach to vTPM state management where the vTPM state is not preserved across reboots. Specifically, we develop a stateless ephemeral vTPM that supports remote attestation without any persistent state on the host. This allows us to pair each confidential VM with a private instance of a vTPM completely isolated from the provider-controlled environment and other VMs. We built our prototype entirely on open-source components. Though our work is AMD-specific, a similar approach could be used to build remote attestation protocols on other trusted execution environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑