arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.15387cs.CR
收藏

undeSErVed信任:利用与排列无关的远程证明

undeSErVed trust: Exploiting Permutation-Agnostic Remote Attestation

Luca Wilke, Jan Wichelmann, Florian Sieck, Thomas Eisenbarth

摘要:

将数据和计算转移到云端的持续趋势遇到了有关隐私和知识产权保护的问题。云服务提供商(CSP)必须得到充分信任,不会篡改或泄露处理过的数据,从而阻碍了许多敏感或关键应用程序采用云服务。因此,CSP和CPU制造商正急于寻找云中安全外包计算的解决方案。虽然像英特尔SGX这样的安全区在吞吐量和大小方面受到很大限制,但AMD的安全加密虚拟化(SEV)提供了硬件支持,可以透明地保护整个虚拟机的代码和数据,从而消除安全区的性能、内存和软件适配障碍。通过引导代码完整性的证明和用于将秘密安全地传输到加密的VM中的手段,CSP被有效地从可信实体的列表中移除。已经存在对SEV的安全性的几种攻击,通过滥用I/O通道来加密和解密数据,或者通过在运行时移动加密的代码块。然而,这些攻击都没有针对证明协议,这是SEV创建的安全计算环境的核心。我们发现,Zen 1和Zen 2架构的当前认证机制存在一个重大缺陷,允许我们在不影响认证结果的情况下操作加载的代码。攻击者可能会滥用这个弱点在启动时注入任意代码,从而控制整个VM的执行,而不向VM的所有者发出任何指示。我们的攻击原语允许攻击者对引导加载程序和操作系统进行广泛的修改,例如注入间谍代码或提取秘密数据。我们提出了一个完整的端到端攻击,从最初的利用到在引导过程中泄露加密磁盘映像的密钥,使攻击者可以不受限制地访问VM的所有持久性数据。

英文摘要:

The ongoing trend of moving data and computation to the cloud is met with concerns regarding privacy and protection of intellectual property. Cloud Service Providers (CSP) must be fully trusted to not tamper with or disclose processed data, hampering adoption of cloud services for many sensitive or critical applications. As a result, CSPs and CPU manufacturers are rushing to find solutions for secure outsourced computation in the Cloud. While enclaves, like Intel SGX, are strongly limited in terms of throughput and size, AMD's Secure Encrypted Virtualization (SEV) offers hardware support for transparently protecting code and data of entire VMs, thus removing the performance, memory and software adaption barriers of enclaves. Through attestation of boot code integrity and means for securely transferring secrets into an encrypted VM, CSPs are effectively removed from the list of trusted entities. There have been several attacks on the security of SEV, by abusing I/O channels to encrypt and decrypt data, or by moving encrypted code blocks at runtime. Yet, none of these attacks have targeted the attestation protocol, the core of the secure computing environment created by SEV. We show that the current attestation mechanism of Zen 1 and Zen 2 architectures has a significant flaw, allowing us to manipulate the loaded code without affecting the attestation outcome. An attacker may abuse this weakness to inject arbitrary code at startup -- and thus take control over the entire VM execution, without any indication to the VM's owner. Our attack primitives allow the attacker to do extensive modifications to the bootloader and the operating system, like injecting spy code or extracting secret data. We present a full end-to-end attack, from the initial exploit to leaking the key of the encrypted disk image during boot, giving the attacker unthrottled access to all of the VM's persistent data.

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

↑