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

WeSee:利用恶意 #VC 中断攻破 AMD SEV-SNP

WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP

Benedict Schlüter, Supraja Sridhara, Andrin Bertschi, Shweta Shinde

AI总结:

WeSee 攻击利用 AMD SEV-SNP 的 #VC 异常机制,由恶意 hypervisor 注入中断号 29,在虚拟机中诱导任意行为,实现泄露敏感数据、破坏内核数据及注入任意代码。

摘要:

AMD SEV-SNP 提供虚拟机级别的可信执行环境(TEE),用于保护敏感云工作负载的机密性和完整性,使其免受云提供商控制下的不可信虚拟机监控器(hypervisor)的侵害。AMD 引入了一种新的异常 #VC,以促进虚拟机与不可信 hypervisor 之间的通信。我们提出了 WeSee 攻击,其中 hypervisor 向受害虚拟机的 CPU 注入恶意 #VC,从而破坏 AMD SEV-SNP 的安全保证。具体而言,WeSee 注入中断号 29,该中断向虚拟机传递 #VC 异常,虚拟机随后执行相应的处理程序,在虚拟机与 hypervisor 之间进行数据和寄存器复制。WeSee 表明,通过精心构造的 #VC 注入,攻击者可以在虚拟机中诱导任意行为。我们的案例研究证明,WeSee 可以泄露敏感的虚拟机信息(NGINX 的 kTLS 密钥)、破坏内核数据(防火墙规则)以及注入任意代码(从内核空间启动 root shell)。

英文摘要:

AMD SEV-SNP offers VM-level trusted execution environments (TEEs) to protect the confidentiality and integrity for sensitive cloud workloads from untrusted hypervisor controlled by the cloud provider. AMD introduced a new exception, #VC, to facilitate the communication between the VM and the untrusted hypervisor. We present WeSee attack, where the hypervisor injects malicious #VC into a victim VM's CPU to compromise the security guarantees of AMD SEV-SNP. Specifically, WeSee injects interrupt number 29, which delivers a #VC exception to the VM who then executes the corresponding handler that performs data and register copies between the VM and the hypervisor. WeSee shows that using well-crafted #VC injections, the attacker can induce arbitrary behavior in the VM. Our case-studies demonstrate that WeSee can leak sensitive VM information (kTLS keys for NGINX), corrupt kernel data (firewall rules), and inject arbitrary code (launch a root shell from the kernel space).

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

↑