0:00
–:––
React at 0:00
Black Hat USA 2025

Racing for Privilege: Leaking Privileged Memory From Any Intel System Using a Microarchitectural Race Condition

When and where

Day
Thu 7 Aug 2025
Time
14:30 to 15:00 PDT
Room
Mandalay Bay H, Level 2

Speakers

  • Sandro RüeggeETH Zürich

    Sandro Rüegge is currently a doctoral student at ETH Zürich. His main research focus is microarchitectural attacks and defenses. His biggest dream is to one day understand how computers work.

  • Johannes WiknerETH Zurich

    Johannes Wikner graduated with a PhD from ETH Zurich last year. His research concerns offensive microarchitectural security research, with a particular focus on return target branch misprediction on x86 processors. Over the course of his research he has authored and co-authored noteworthy works like Retbleed, Inception (aka SRSO), and Phantom speculation on x86 processors.

Abstract

Enhanced Indirect Branch Restricted Speculation (eIBRS) is Intel's primary defense against Branch Target Injection-style (BTI) Spectre attacks. eIBRS prevents misuse of untrusted branch target predictions in higher privilege domains (i.e., kernel/hypervisor mode) by restricting predictions from other privilege domains other than the one they were created for. Since its inception in late 2018, eIBRS remains the best-suited BTI defense that all major operating systems and hypervisors rely on, and it has so far successfully prevented attackers from injecting arbitrary branch target predictions across privilege boundaries. However, our research finds that microarchitectural mitigations like eIBRS, much like software, are vulnerable to race conditions. Consequently, we will demonstrate an exploitation technique that allows attackers to inject branch target predictions not only into higher privilege domains, but also across prediction barriers (i.e., IBPB) meant to invalidate all such predictions. Tracing back the bug to its origin, we find that it has been present ever since the eIBRS was first introduced, meaning systems have been vulnerable for over 7 years! We will demonstrate that this issue is easy to exploit by building an arbitrary privileged memory read primitive, evaluated (5.6 kB/s) on an up-to-date Ubuntu 24.04 system with all default mitigations enabled. This attack shows how easily hardware mitigations can fall apart when integrated into a complex CPU design, and it gives us a reminder of how much trust the computer industry faithfully puts into hardware vendors' security claims.

What you'll get from it

Since 2018, Intel's eIBRS has been the main hardware defence against a family of Spectre attacks, and operating systems and hypervisors depend on it. Sandro Rüegge and Johannes Wikner found a race condition inside it, just as software can have, which lets an attacker steer the processor's predictions across privilege boundaries and past the barriers meant to clear them. The flaw goes back to when eIBRS was introduced. On a fully patched Ubuntu system they built a way to read privileged memory. Watch it if you rely on CPU vendors' security promises.

Did you find what you came for?