arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.01759cs.CR
收藏

从加密的虚拟机中提取秘密

Extracting Secrets from Encrypted Virtual Machines

Mathias Morbitzer, Manuel Huber, Julian Horsch

摘要:

AMD SEV是多租户系统上主内存加密的硬件扩展。SEV使用片上协处理器AMD安全处理器,以透明的方式加密虚拟机内存,并使用永远不会离开协处理器的单个临时密钥。目标是保护租户内存的机密性,使其免受恶意或受损的虚拟机管理程序以及内存攻击,例如通过冷启动或DMA。SEVered攻击表明,管理程序仍然可以从SEV加密的虚拟机中以明文形式提取内存,而无需访问其加密密钥。然而,加密阻碍了传统的虚拟机内省技术在提取之前在存储器中定位秘密。这可能需要提取大量的内存来检索特定的秘密,从而导致耗时,明显的攻击。我们提出了一种方法,允许恶意虚拟机管理程序快速识别和窃取秘密,如TLS,SSH或FDE密钥,从当前SEV硬件上的加密虚拟机。我们首先从管理程序中观察虚拟机的活动,以推断最有可能包含秘密的内存区域。然后,我们系统地提取这些内存区域,并分析其内容的飞行。这允许有效地检索目标秘密,大大增加了快速,强大和隐形盗窃的机会。

英文摘要:

AMD SEV is a hardware extension for main memory encryption on multi-tenant systems. SEV uses an on-chip coprocessor, the AMD Secure Processor, to transparently encrypt virtual machine memory with individual, ephemeral keys never leaving the coprocessor. The goal is to protect the confidentiality of the tenants' memory from a malicious or compromised hypervisor and from memory attacks, for instance via cold boot or DMA. The SEVered attack has shown that it is nevertheless possible for a hypervisor to extract memory in plaintext from SEV-encrypted virtual machines without access to their encryption keys. However, the encryption impedes traditional virtual machine introspection techniques from locating secrets in memory prior to extraction. This can require the extraction of large amounts of memory to retrieve specific secrets and thus result in a time-consuming, obvious attack. We present an approach that allows a malicious hypervisor quick identification and theft of secrets, such as TLS, SSH or FDE keys, from encrypted virtual machines on current SEV hardware. We first observe activities of a virtual machine from within the hypervisor in order to infer the memory regions most likely to contain the secrets. Then, we systematically extract those memory regions and analyze their contents on-the-fly. This allows for the efficient retrieval of targeted secrets, strongly increasing the chances of a fast, robust and stealthy theft.

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

↑