arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.09835cs.CR
收藏

EM-Fault It Yourself:为台式机和服务器硬件构建可复制的EMFI设置

EM-Fault It Yourself: Building a Replicable EMFI Setup for Desktop and Server Hardware

Niclas Kühnapfel, Robert Buhren, Hans Niklas Jacob, Thilo Krachenfels, Christian Werling, Jean-Pierre Seifert

摘要:

EMFI由于其能够精确地考虑故障注入的时间和位置,已经成为一种流行的故障注入(FI)技术。最近,不同封装的ARM、RISC-V甚至x86处理单元都被证明容易受到电磁故障注入(EMFI)攻击。然而,过去的出版物缺乏对整个攻击设置的详细描述,阻碍了研究人员和公司在其设备上轻松复制所呈现的攻击。在这项工作中,我们首先展示了如何构建一个具有高扫描分辨率和良好可重复性的自动化EMFI设置,该设置足够大,可以攻击现代桌面和服务器CPU。我们在结构上列出了机械,硬件和软件的所有细节以及本文。其次,我们使用我们的设置来攻击现代AMD片上系统(SoC)中的深度嵌入式安全协处理器,即AMD安全处理器(AMD-SP)。使用以前发布的代码执行漏洞,我们在AMD-SP上运行两个自定义有效负载,它们在不同程度上利用SoC。然后,我们将这些故障位置可视化在SoC照片上,使我们能够推断SoC的组件受到攻击。最后,我们表明,第一个执行的固件部分之一的签名验证过程容易受到EMFI攻击,破坏了整个SoC的安全架构。据我们所知,这是第一次报告的EMFI攻击对AMD台式机CPU。

英文摘要:

EMFI has become a popular fault injection (FI) technique due to its ability to inject faults precisely considering timing and location. Recently, ARM, RISC-V, and even x86 processing units in different packages were shown to be vulnerable to electromagnetic fault injection (EMFI) attacks. However, past publications lack a detailed description of the entire attack setup, hindering researchers and companies from easily replicating the presented attacks on their devices. In this work, we first show how to build an automated EMFI setup with high scanning resolution and good repeatability that is large enough to attack modern desktop and server CPUs. We structurally lay out all details on mechanics, hardware, and software along with this paper. Second, we use our setup to attack a deeply embedded security co-processor in modern AMD systems on a chip (SoCs), the AMD Secure Processor (AMD-SP). Using a previously published code execution exploit, we run two custom payloads on the AMD-SP that utilize the SoC to different degrees. We then visualize these fault locations on SoC photographs allowing us to reason about the SoC's components under attack. Finally, we show that the signature verification process of one of the first executed firmware parts is susceptible to EMFI attacks, undermining the security architecture of the entire SoC. To the best of our knowledge, this is the first reported EMFI attack against an AMD desktop CPU.

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

↑