Skip to content
0:00 / 0:00

#x86#smm#systemmanagementmode

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation

Black Hat

281K subscribers • 47 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 1 on Hacker News and 1 in engineering communities.
  • A classic. People kept recommending it from 2015 to 2022.
  • Presented by Christopher Domas, security researcher

Advanced. Deep dive for people who know the field.

169K views10 years ago2 recommendations

SecurityHardwareExploits and vulnerabilitiesCPUs and computer architecture

Christopher Domas demonstrates a critical x86 design flaw that allows code execution to break out of ring 0 into the highly privileged System Management Mode.

by Christopher Domas In x86, beyond ring 0 lie the more privileged realms of execution, where our code is invisible to AV, we have unfettered access to hardware, and can trivially preempt and modify the OS. The architecture has heaped layers upon layers of protections on these negative rings, but 40 years of x86 evolution have left a labyrinth of forgotten backdoors into the ultra-privileged modes. Lost in this byzantine maze of decades-old architecture improvements and patches, there lies a design flaw that's gone unnoticed for 20 years. In one of the most bizarre and complex vulnerabilities we've ever seen, we'll release proof-of-concept code exploiting the vast, unexplored wasteland of forgotten x86 features, to demonstrate how to jump malicious code from the paltry ring 0 into the deepest, darkest realms of the processor. Best of all, we'll do it with an architectural 0-day built into the silicon itself, directed against a uniquely vulnerable string of code running on every single system.

Why it's here

2 people recommend this, 2 dispute it

What people say. Highly recommended as a mind-blowing demonstration of a hardware-level vulnerability hidden in x86 processors for decades.

sabas123on Hacker News • Recommends

On “Intel Microcode Decryptor”

This is a thing and was used in this fantastic piece: link to this video However the way they obtained these dumps is by going deep into debugger mode of the cpu which makes me doubt anything spooky would be going on.

u/Nostalgi4cin r/netsec • Recommends

The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation

ryackoon Hacker News • Disputes

On “Qubes OS: A reasonably secure operating system”

Then from recent Defcon and Black Hat talks, they are an absymal failure. ( link to this video Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation ) (I don't understand it beyond what everyone says it can achieve) Intel should be considered to be totally unreliable and incompetent. I mean, no one buys office store safes and expects their things to be secure in them. But a processor is a little more expensive than a cheap safe and holds more valuable things. Edit: and besides, Fortezza is an SSL protocol option.

raszon Hacker News • Disputes

On “Two Hidden Instructions Discovered in Intel CPUs Enable Microcode Modification”

Chris Domas works at Battelle Memorial Institute. Battelle is a "non profit R&D house" that just so happens to hire "retiring" CIA operatives, and work on tons of CIA/NSA contracts. Completely coincidentally Chris Domas managed to discover the only Intel CPU backdoor ever discovered and publicized the very same year Intel already patched it link to this video

kogepathicon Hacker News • Mentions

On “MINIX – The most popular OS in the world, thanks to Intel”

…the process privileges. 0 So there will always be suspicion of special triggers to re-enable the black box that you turned "off" I think there is a very slim chance that Intel and AMD can regain credibility when it concerns the IME/PSP. Especially after it emerged Intel created a special ME disabled mode intended for US agency customers. 1 0 link to this video 1 link…

jerfon Hacker News • Mentions

On “Reading privileged memory with a side-channel”

…, without a really thorough profiling run. And I'd put my metaphorical $5 down on someone finding another side channel from the speculative code; interactions with changing processor flags in a speculative execution, or interaction with some forgotten feature 2 where the speculation ends up incorrectly undone or something. Yuck. 1: link 2: link to this video - The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation (Dec 29, 2015)…

throwaway47292on Hacker News • Mentions

On “Professional maintainers: a wake-up call”

…that money will make it even worse, as people will full-time make even more useless features that just increase the attack surface. This particular class of problems (same as the sqlite fts tokenizer exploit and most of openssl exploits, even lots of the sendmail exploits) are just obscure unused features. It happens even in CPUs themselves. (e.g. link to this video ) Removing code is twice harder than adding code, why do you think paid maintainers would improve anything? Just look at the code written in FAANG or any enterprise, and those maintainers are very well paid, imagine this code being public, we will have 1 new exploit per day per company... and that is assuming non malicious developers that c…