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 +1 more
9/20/2022
cs.CR

Official code: fgsect/EM-Fault-It-Yourself (15 stars, C, GPL-3.0, last commit 2022-12-13).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

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

152C, PythonJul 18, 20223 years agoGPL-3.0
electromagneticemfifaultinjection

Similar Papers

Cite this paper

@article{khnapfel2022emfault,
  title  = {EM-Fault It Yourself: Building a Replicable EMFI Setup for Desktop and Server Hardware},
  author = {Niclas Kühnapfel and Robert Buhren and Hans Niklas Jacob and Thilo Krachenfels and Christian Werling and Jean-Pierre Seifert},
  year   = {2022},
  eprint = {2209.09835},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09835}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.09835.svg)](https://codeofpaper.com/paper/2209.09835)

Discussion