Skip to content
0:00 / 0:00

#machinecheckexception#smm#privilegeescalation

DEF CON 33 - Conjuring Hardware Failures for Cross-ring Privilege Escalation - Christopher Domas

DEFCONConference

419K subscribers • 62 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Christopher Domas

Advanced. Deep dive for people who know the field.

6.2K views1 year ago2 recommendations

SecurityHardwareExploits and vulnerabilitiesCPUs and computer architectureReverse engineering

Christopher Domas demonstrates how to deliberately trigger and exploit machine check exceptions to bypass CPU security boundaries and escalate privileges.

Catastrophic hardware failures. From an aging I/O device to cosmic ray bit flips, memory degradation to CPU fires. When an unrecoverable hardware error is detected, the common platform response is to generate a Machine Check Exception, and shut down before the problem gets worse. In this talk, we'll see what happens when we circumvent all the traditional fail safes. What happens when, instead of exceptionally rare failures from natural causes, we deliberately create these fatal events from software. When instead of a platform shutdown, we force the system to limp along, damaged but alive. We'll show how carefully injecting these signals during privileged CPU operations can disrupt secure transitions, how those disruptions progress to cascading system failures, and how to ride the chaos to gain hardware privilege escalation. Finally, we'll see how to undo the damage, recover from the unrecoverable, and let the system continue as if nothing happened - now with a foothold in privileged space, all through hardware failure events synthesized through software-only attacks. We'll conclude by showing how to use this vector to reveal all-new hardware vulnerabilities, and walk through a brave new world of machine check research opportunities - for both attackers and defenders - across technologies and architectures.

Why it's here

2 people recommend this

What people say. Highly recommended as an exceptional security research talk on exploiting hardware-level CPU exceptions.

u/renshylein r/programming • Recommends

On “Assembly Hall of Shame: Racing to the bottom of CPU performance”

Christopher Domas, the guy who created and did the research for the hall of shame, gave a really great talk at DEF CON last year about exploiting machine check exceptions to gain privilege escalation into SMM: [video If you haven't seen it yet, you should check it out. You'll definitely recognize how the hall of shame and smiiiiiiiiiiiiiiii are related to it ;)

u/litheonin r/netsec • Recommends

DEFCON 33 - Conjuring Hardware Failures for Cross-Ring Privilege Escalation