MicroSpark: Testing Voltage Glitches on Intel Microcode

Federico Cerutti, Alvise De Faveri Tron, Sébastien BardinProceedings of the Microarchitecture Security Conference 2026

Abstract

The ability to cause precise faults during the execution of microprograms, e.g., the microcode update routine of a CPU, can constitute a powerful and stealthy primitive to compromise a CPU at the microarchitectural level. However, the complexity of modern CPUs inherently limits the possibility of inducing such controlled faults in microarchitectural components. It is therefore unclear to what extent an attacker might be able to use hardware fault injection attacks against microcode. In this work, we present a robust and reproducible experimental platform that pairs a low-cost glitcher with a coreboot-based environment on a "Red Unlocked" Intel Goldmont SoC. Leveraging the low-noise execution environment provided by this setup, as well as the possibility of crafting custom microcode routines due to Red Unlock, we successfully identified previously undocumented fault types, including instruction skips at both the architectural and microarchitectural levels on Apollo Lake CPUs. This provides a foundation for future investigations into Intel microcode security, and the potential for broader applications across various CPU models.

Introduction

Modern CPUs are complex systems that rely on microcode—a layer of internal microprograms—to translate high-level x86 instructions into fundamental micro-operations (uops). While previous research like Plundervolt has demonstrated the vulnerability of architectural states to voltage manipulation, the internal microarchitectural execution has remained largely opaque. MicroSpark addresses this by providing a platform to investigate how voltage fluctuations affect these fundamental units. The primary challenges in this domain are the inherent "noise" of modern operating systems and the slow response times (slew rates) of standard Power Management Integrated Circuits (PMICs).

Methodology

The MicroSpark platform utilizes a specialized hardware and software stack to achieve high-precision glitching.

Experimental Platform

The setup centers on an Intel Goldmont (Apollo Lake) SoC. By utilizing a known exploit to achieve "Red Unlock" status, the researchers gained the ability to dump microcode ROM and use Match/Patch registers to inject custom microcode snippets. To eliminate the non-deterministic noise of a full OS, the platform uses coreboot, a minimalist, single-threaded firmware environment. This ensures the CPU is executing the target code in a highly predictable state.

Experimental setup for microcode glitching

The hardware glitcher is built around a low-cost Raspberry Pi Pico, which communicates with the target's voltage regulator via the PMBus (Power Management Bus).

Two-Stage Glitching Strategy

Standard PMICs are often too slow to target individual instructions. To overcome this, MicroSpark employs a two-stage approach. First, the voltage is lowered to a "preparation" level ($V_p$) just above the system's failure threshold. After a set duration ($T_p$), a second, sharper drop to the "fault" voltage ($V_f$) is triggered for a brief interval ($T_f$). This minimizes the transition time required to reach the critical voltage level needed to induce a fault.

Timing diagram of the two-stage voltage glitching technique

Results and Analysis

The experiments yielded significant evidence that microcode execution is vulnerable to physical attacks:

  • Instruction Skipping: The researchers identified both architectural and microarchitectural instruction skips. A glitch can cause the CPU to bypass critical security checks or comparison logic.
  • Vulnerability of Basic Operations: Contrary to previous assumptions that simple arithmetic (e.g., ADD, OR) was resilient, MicroSpark demonstrated that these operations can be faulted or skipped at the microarchitectural level.
  • Fault Rates:
    • CMP Sensitivity: Comparison instructions showed a high susceptibility, with a 74% glitch rate.
  • Register File: Faults affecting values in the Register File were achieved with a 19% success rate.
  • IMUL Bit-flips: Multiplication instructions were glitched with a ~4% success rate.
  • Micro-op Skips: In custom microprograms, specific micro-instruction skips were documented with a 0.1% success rate.

Conclusion

MicroSpark demonstrates that the microarchitectural layer of Intel CPUs is not a "safe zone" from hardware-based fault injection. By combining "Red Unlock" debugging with a low-noise coreboot environment and a novel two-stage glitching technique, the researchers have opened a new window into CPU security. Future work aims to target the microcode update routine itself; bypassing RSA signature checks during an update could allow for the persistent installation of malicious microcode, effectively compromising the CPU at its most fundamental level.

Summary updated

BibTeX
@inproceedings{cerutti2026microspark,
  author = {Federico Cerutti and Alvise De Faveri Tron and Sébastien Bardin},
  title = {{MicroSpark: Testing Voltage Glitches on Intel Microcode}},
  booktitle = {Proceedings of the Microarchitecture Security Conference},
  year = {2026},
  doi = {10.46586/uasc.2026.001},
}
Figure