HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

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

Black Hat1 HN recommender · recommended in 1 month, 2017-2022
YouTube
169K views · 10 years ago · talk · evergreen

Christopher Domas's Black Hat 2015 talk on a long-unnoticed x86 design flaw that lets an attacker reach System Management Mode, a ring below the OS. It explains how the legacy architecture allows universal privilege escalation and persistent, hard-to-detect malware.

Cited in discussions of CPU hidden features, Intel's security failures and SMM malware as a concrete example of a forgotten processor feature being exploited.

Security & hackingComputer architecture & CPUs#x86#smm#privilegeescalation#blackhat#firmwaresecurity#ring-2

6 comments from Hacker News

@sabas1232022 · in “Intel Microcode Decryptor”

This is a thing and was used in this fantastic piece: ▶ 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.

RecommendsView on HN
@throwaway472922021 · in “Professional maintainers: a wake-up call”

I can make an argument 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. ▶ 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 can be shipping trojan code link (it is also hard to assume all millions of developers are non malicious, even if we assume 1 in 100000, things look really bad) Less code is the one solution. Regardless if open source or enterprise code. We are stuck, and change is needed, but money is not a solution, and might even be the cause of the problem. (incentive to write more code)

CitesView on HN
@rasz2021 · in “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 ▶ this video

CriticalView on HN
@jerf2018 · in “Reading privileged memory with a side-channel”

I can imagine some ways to armor the branch predictor, similar in principle to how languages like Perl have to include a random seed in their hash code (in some circumstances) to avoid being able to pre-compute values that will all hash to the same thing [1]. There should be some ways to relatively cheaply periodically inject such a randomization into the prediction system enough to prevent that aspect of the attack. This will cost something but probably not be noticeable to even the most performance-sensitive consumers. But no solution leaps to mind for the problem of preventing speculative code from leaking things via cache, short of entirely preventing speculating code from being able to load things into the cache. If nobody can come up with a solution for that, that's going to cost us something to close that side channel. Not sure what though, 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]: ▶ this video - The Memory Sinkhole - Unleashing An X86 Design Flaw Allowing Universal Privilege Escalation (Dec 29, 2015)

CitesView on HN
@ryacko2017 · in “Qubes OS: A reasonably secure operating system”

Then from recent Defcon and Black Hat talks, they are an absymal failure. ( ▶ 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.

CriticalView on HN
@kogepathic2017 · in “MINIX – The most popular OS in the world, thanks to Intel”

> adding the possibility to turn it off should suffice. How could Intel/AMD reasonably communicate this to customers and have it taken at face value? "Here's a flag to disable this black box we ship in every CPU. The product design and source code are proprietary, so please take our word for it that this flag disables everything." There was a blackhat talk on embedding malware in SMM and triggering it with a magic number written to a register to escalate 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] ▶ this video [1] link

CitesView on HN
GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs51:00

GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs

Black Hat
319K views • 8 years ago
Breaking the x86 Instruction Set44:29

Breaking the x86 Instruction Set

Black Hat
381K views • 9 years ago
Behind the scenes of iOS and Mac Security44:29

Behind the scenes of iOS and Mac Security

Black Hat
36K views • 6 years ago
Lest We Remember: Cold Boot Attacks on Encryption Keys5:22

Lest We Remember: Cold Boot Attacks on Encryption Keys

pucitp
749K views • 18 years ago
DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation45:14

DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation

DEFCONConference
4K views • 13 years ago
BlueHat IL 2023 - David Weston - Default Security54:35

BlueHat IL 2023 - David Weston - Default Security

Microsoft Israel R&D Center
47K views • 3 years ago
DEF CON 26  - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons21:28

DEF CON 26 - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons

DEFCONConference
24K views • 8 years ago
DEF CON 26  - Christopher Domas - GOD MODE UNLOCKED Hardware Backdoors in redacted x8646:04

DEF CON 26 - Christopher Domas - GOD MODE UNLOCKED Hardware Backdoors in redacted x86

DEFCONConference
86K views • 8 years ago
Black Hat 2013 - Exploiting Network Surveillance Cameras Like a Hollywood Hacker33:36

Black Hat 2013 - Exploiting Network Surveillance Cameras Like a Hollywood Hacker

HackersOnBoard
1.1M views • 12 years ago
Protected KVM on Arm64: A Technical Deep Dive - Quentin Perret, Google50:06

Protected KVM on Arm64: A Technical Deep Dive - Quentin Perret, Google

The Linux Foundation
6K views • 4 years ago
DEFCON 19: Bit-squatting: DNS Hijacking Without Exploitation (w speaker)45:14

DEFCON 19: Bit-squatting: DNS Hijacking Without Exploitation (w speaker)

Christiaan008
24K views • 14 years ago
Intel ME explained (intel management engine) from insider6:36

Intel ME explained (intel management engine) from insider

jessie
12K views • 8 years ago
Ichthyology: Phishing as a Science24:28

Ichthyology: Phishing as a Science

Black Hat
38K views • 9 years ago
C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 21:32:33

C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 2

alexsmail
29K views • 9 years ago
BlackHat USA 2011: SSL And The Future Of Authenticity48:02

BlackHat USA 2011: SSL And The Future Of Authenticity

Christiaan008
95K views • 15 years ago
Flaw in the Enigma Code - Numberphile10:58

Flaw in the Enigma Code - Numberphile

Numberphile
5.4M views • 13 years ago
Nicholas Carlini - Black-hat LLMs | [un]prompted 202626:28

Nicholas Carlini - Black-hat LLMs | [un]prompted 2026

unprompted
388K views • 7 months ago
NVIDIA — Securing the Future of Safety and Security of Embedded Software (Captioned)58:37

NVIDIA — Securing the Future of Safety and Security of Embedded Software (Captioned)

AdaCore
5K views • 6 years ago
Behind the Scenes of iOS Security51:32

Behind the Scenes of iOS Security

Black Hat
127K views • 10 years ago
36C3 -  Uncover, Understand, Own - Regaining Control Over Your AMD CPU56:37

36C3 - Uncover, Understand, Own - Regaining Control Over Your AMD CPU

media.ccc.de
23K views • 6 years ago