Understanding The Intel CSME CVE-2019-0090 Vulnerability for Mere Mortals
Table of Contents

Back in March 2020, it was all over the news that an unfixable vulnerability was found in the Intel Management Engine. The bug itself wasn’t actually new, Intel had already patched it as CVE-2019-0090 back in May 2019, but what Positive Technologies published on the 5th of March 2020 was the root cause, and the root cause turned out to live in the CSME’s boot ROM, which is why it made it into so many headlines as unfixable with a firmware update, with several news sources reporting that Positive Technologies was saying that this has the potential to destroy the whole Intel security model.
There was a fair amount of coverage in the technical press, but when I checked the Positive Technologies blog post they didn’t say much about the details (it was explicitly a sneak peek, with a white paper promised for later, and that white paper never came, the detailed write-up we eventually got came from Intel themselves about a month later), however, the more I researched trying to understand the exact problem the more I kept finding that this is a pretty huge deal and that probably because of its complex nature and the technical details required to understand the exact problem it hasn’t had much coverage that explains what is actually going on to mere mortals.
This blog post is my attempt to try to explain what exactly is going on, what kind of effects it has, and what happened since.
The Intel Platform Controller Hub
Back in 2009, Intel moved the memory controller and the graphics PCIe lanes into the CPU package, and everything that was left of the old northbridge and southbridge was moved into a single separate chip called the Platform Controller Hub (PCH), the functionalities in the PCH included some power management stuff, I/O control (USB, SATA, the SPI flash chip your BIOS lives in) and more relevant to us what is now called the Intel Converged Security and Management Engine. The Management Engine itself is actually older than the PCH, it started around 2006 as the small microcontroller behind Intel’s remote management feature (AMT) and lived in the northbridge before it moved, and the Converged Security part of the name refers to the big redesign that shipped with Skylake in 2015 (Intel only started using the CSME name in public around 2018).
The Intel CSME is a small System On a Chip with its own 486-class x86 CPU, RAM, and ROM, and even a Minix based OS.
According to Intel, the goal of the CSME is to provide three main things to the platform, some of these were
- Silicon initialization, the CSME loads and verifies the firmware of several other blocks in the chipset (the power management controller, the audio DSP, the sensor hub..etc.), and the first of those has to happen before your main CPU even comes out of reset, so a system can’t even boot without it, which is why you can’t simply remove it.
- Security functionality, it hosts the firmware TPM (Intel calls it PTT) that technologies like BitLocker keep their keys in, and it is the anchor for Boot Guard, which is how your OEM’s BIOS gets verified before the main CPU runs it (the CSME hands the OEM’s key hash to the CPU, the CPU does the actual checking).
- Manageability, the enterprise remote management functionality (Intel AMT, remote KVM..etc.) on vPro machines.
The two issues that many security researchers had with the Intel CSME was that first; it had a closed source firmware that Intel distributed as a binary blob and second, that this firmware had almost complete access to your system’s memory without the operating system even knowing about it (it does DMA into your RAM like any other device, and the only thing that can restrict it is the IOMMU on the host side, which your BIOS or OS has to set up first), to some of the chipset’s I/O, and to the built-in network interface, the three things an attacker would need to have untethered access to your system. Privacy and Open Source advocates also had an issue with having firmware running on your system without knowing what it’s doing. Add that to the fact that with Boot Guard it’s your OEM, not you, who decides which firmware your machine is allowed to boot, and you can see why many people were skeptical about the CSME. Regardless of your security or privacy stance or if the presence of the CSME was justified or not, this unequivocal access to the system is why security researchers describe the CSME as running in ring -3 (your programs run in ring 3, the kernel in ring 0, a hypervisor in ring -1 and the SMM in ring -2, so this is below every privilege level the main CPU even knows about) and why the press likes to call it God Mode.
To understand this attack on the Intel CSME by Positive Technologies, we need to do a refresher on some underlying computer architecture 101’s.
MMU, DMA and the IOMMU
Memory Management Unit (MMU)
The main idea behind the MMU is that with the help of the operating system it makes each program believe that it has access to the complete memory of your system, it does so by giving each process virtual address space (of a size predefined by the operating system) and then performing a mapping between this virtual memory to the actual physical memory on the system. So while a web browser might think it’s accessing location 0x7f3a2c001 in the memory, in reality, it is accessing some physical location the operating system picked for it (e.g., 0x22e3001, the MMU only swaps the page number, the last few bits of the address stay exactly the same). This has the side benefit of performing memory isolation, so one process, a game, for example, can’t access the credit card information you’ve entered in another process though they’re both loaded in memory.
The other side benefit is having special protected memory zones (kernel memory and user space memory), which is the whole basis of the OS being able to keep secrets from the programs it runs.
Direct Memory Access (DMA)
The theory behind the DMA is basically as its name implies, giving devices direct access to memory without the CPU having to copy every single byte itself.
A while back, when a device wanted to move data to or from memory, the CPU had to do the moving itself, word by word (this is called programmed I/O), and since a device is usually a thousand times slower than the CPU it became evident that this is a waste of valuable CPU time, and another module called the DMA controller was developed to do this job. In the PC days this was a separate chip (the 8237) that would ask the CPU for the bus, take it over for a moment, do the copy, and hand it back. On anything built since PCI though, there is no separate controller anymore, the device itself is the DMA engine, so your graphics card, your network card, your NVMe drive and (as we’ll see) various blocks inside the chipset all issue reads and writes to memory on their own, tagged with their identity, and the CPU only gets an interrupt when they’re done.
The next question now is who would prevent a specific device from basically overwriting or reading unauthorized memory locations, for example, what would prevent your graphics card firmware from reading your credit card information or your operating systems secrets. This gave rise to the IOMMU, which acts as an MMU, but instead of regulating memory access to applications and processes, it regulates access to devices so that each device can only see memory locations relevant to its work.
A very salient detail when building a secure system is when do you initialize the IOMMU module, because if you initialize it after a malicious device is already up and running (a malicious Thunderbolt dock, for example, a plain USB stick can’t do DMA by itself, the USB controller does it on its behalf) that means that for a specific time frame (between the device being allowed on the bus and the initialization of the IOMMU) the memory of the system is still vulnerable to manipulation. What is interesting is that Apple went into exactly this problem in their Black Hat talk in the summer of 2019, as one of the two big challenges of doing secure boot on a Mac. (Their solution on T2 Macs is that the firmware, before it even has RAM to work with, points the IOMMU at a deny-everything table so that no PCIe device can DMA during early boot, and the real per-device tables only come later.)
Intel CSME
Now that we have enough of a background, let’s dive into the architecture of the Intel CSME itself. We need to look at the CSME as a small computer all of in itself; it has a CPU based on 486, RAM, ROM..etc. Besides that, it also has a couple of interesting blocks
Manageability Devices
The manageability devices are a bunch of devices that are the hardware behind the AMT redirection features, they allow an administrator (or an attacker) to plug a virtual USB device or disk into your machine over the network, redirect your keyboard and see your screen (KVM). The firmware TPM I mentioned earlier is not actually part of this block, it is a firmware application running on the CSME’s own CPU which the host talks to through the Gasket (more on that below). The fact that this block alone could be compromised is extremely alarming because it means that an attacker sitting inside the CSME could read your keystrokes from below the operating system, without any ability for the operating system even to detect not to mention stop the attack (this is not my speculation, this is how Positive Technologies themselves described it to Ars Technica), and with the KVM hardware sitting in the same block, your screen too.
The System Agent (MISA)
Intel just calls this block the System Agent, the Minute IA System Agent (MISA) name comes from some leaked datasheets, but it’s the name Positive Technologies use so I’ll stick with it. The System Agent performs other functionality, but the one we’re interested in is the IOMMU, as explained earlier, the IOMMU decides who is allowed to DMA into the CSME’s SRAM. That includes blocks inside the CSME (the crypto engine’s DMA, for example) but, and this is the important part, also blocks that live elsewhere in the chipset and talk to the CSME over the chipset’s internal fabric, like the Integrated Sensor Hub or the audio DSP. Every transaction on that fabric carries a hardware identity tag saying which block sent it, and the IOMMU’s job is to say which tag may touch which region of the SRAM. Only the CSME’s own ring 0 firmware (the ROM, the RBE and the kernel, which we’ll get to below) can program it.
Gasket
This is the interface of the CSME to the rest of the chipset; the devices the host sees (the TPM interface, the HECI mailbox the driver talks to) sit behind it.
Crypto Engines
These are several HW blocks that accelerate the different encryption/decryption algorithms, plus a Secure Key Storage that holds keys the firmware is not supposed to ever see as plain data.
The Boot Sequence of the CSME
According to publicly available Intel literature, the CSME starts executing from the ROM, and this is considered the Root Of Trust of the system, the ROM has several interesting properties
- It’s completely read-only, once it’s burned at the silicon fabrication stage, it can never be overwritten again¹.
- Because this memory is read-only, it’s extremely dangerous to have software running from it, because even if you find a non-security related bug inside that code, Intel would not be able to fix the issue until a new chip is manufactured. Intel keeps the ROM as small as it can and pushes anything it might need to update into the next stage, but the ROM still has to do all of the root of trust work by itself, it switches the CPU into protected mode and sets up paging, pulls the chip’s secrets out of the fuses and decrypts the Chipset Key, switches on the IOMMU, fetches the next stage and verifies its signature, derives the rest of the keys from it, wipes the plaintext keys and only then jumps.
After the code in the ROM is executed, there is a jump to the next stage, which the ROM has DMA’d from the SPI flash into the SRAM and checked against a public key hash baked into the ROM itself. Intel calls it the ROM Boot Extension (RBE), it’s the first piece of updatable firmware, and it continues initializing the rest of the HW and loads the kernel and the OS used inside the CSME.
The Vulnerability
If we look closer at the boot sequence, we can catch a pretty error-prone scenario. What happens if some device could access the SRAM using the DMA while the processor is still executing the code in the ROM, wouldn’t it allow the attacker to change what the ROM code does next? This, of course, depends on several points being valid
- The first is that DMA devices could access the SRAM while the CSME is running from the ROM (remember that this was the whole idea behind DMA, to begin with).
- The second point, and this is the tricky part, that the IOMMU would allow this kind of access. Remember that during the ROM execution the different parts of the HW are still uninitialized, so they’re operating in their default state, however if the default state of the IOMMU is to allow DMA devices to access the whole memory (spoiler alert, it does, and Intel later confirmed it in writing) it would simply allow the attacker to write whatever they want into the SRAM.
And this is exactly what happened. According to the whitepaper Intel published in April 2020, there is a small window of several hundred microseconds after the CSME comes out of reset where the IOMMU is still off, and any block in the chipset that is wired to DMA into the CSME (Intel calls this RS1 DMA capability, the sensor hub is one of them) can reach the CSME’s SRAM before the ROM turns the IOMMU on. What Positive Technologies figured out is that the ROM sets up its page tables (the tables the MMU uses to translate addresses, remember those?) in that same SRAM before it switches the IOMMU on, so you don’t even need to inject code, you just overwrite the ROM’s page tables and the ROM’s own code ends up running wherever you point it, while the Chipset Key is still unlocked (the ROM decrypts it into the crypto engine’s key storage and only locks it away after it has derived everything else from it), so code running at that stage can use the key hierarchy exactly the way the ROM does, and the per-machine keys derived from it are exposed. The device Positive Technologies used was the Integrated Sensor Hub, a separate block in the chipset that the CSME loads firmware into, on a machine where the OEM hadn’t yet blown the end of manufacturing fuses (so they could sign their own sensor hub firmware), and the trigger was either resetting the CSME with a manufacturing command or simply waiting for it to wake up from a low-power state, because the window reopens every single time. This is also why the patch from 2019 didn’t make the problem go away, it only stopped the sensor hub from doing DMA into the CSME, the window in the ROM itself is still there on every chip that was already manufactured, and there is no way to patch it (see the footnote for why).
Closing Points and Remarks
Several points are worth noting though
- Apple managed to avoid depending on this problem by using their T2 chip as the root of trust, on T2 Macs the root of trust for the boot chain and for the FileVault keys is the T2 and not the CSME, so the things this bug breaks (Boot Guard, the firmware TPM) are not the things a Mac relies on. However the CSME is still in there (Apple runs a stripped down ME firmware, mostly for DRM), and every T2 Mac sold at the time had an affected chipset. Apple has also publicly addressed a similar issue (instead of inside the Intel CSME, the problem was with the main CPU’s IOMMU) at Black Hat in 2019.
- Positive Technologies mentioned that the Intel patch from 2019 only blocked one attack vector, through the Integrated Sensor Hub, and that they think there are more ways to exploit this, some of them needing local access and some needing physical access. Intel rates this as a physical access vulnerability, while Positive Technologies argue that in most cases being able to run code in the kernel plus being able to push firmware into the sensor hub is enough, and a second, purely physical vector through the USB debug port on the Apollo Lake and Gemini Lake Atoms did show up a few months later as CVE-2020-0566.
- Intel’s answer for the chipsets that were already out there is a firmware update that blocks DMA into the CSME around reset and power gating, plus your OEM actually applying the end of manufacturing lock, which closes the local paths but, by Intel’s own admission, not necessarily the physical ones. The actual fix is in silicon, from Ice Lake onwards the IOMMU is on the moment the CSME comes out of reset, so roughly Skylake through Coffee Lake (CSME 11 and 12), the Apollo Lake and Gemini Lake Atoms and the server chipsets of that era are affected, and everything after that is not.
- According to my current understanding, an important point to consider is that once a device is exploited at the ROM stage and its keys are read out, this device could no longer be trusted again, because there is no way to even detect that it happened. The only good news is that the keys you can extract this way are unique to that specific machine, the one key that is shared by a whole generation of chips lives inside the crypto hardware itself, and Positive Technologies said they couldn’t get to it directly. That held for about five years, in March 2025 Mark Ermolov from Positive Technologies published a post called Last barrier destroyed, by chaining a different bug from 2021 (CVE-2021-0146, a way to switch on the debug logic at runtime) with a hardware flaw in the crypto engine’s key storage they managed to extract that generation-wide key for Apollo Lake and Gemini Lake, and in the same post he mentioned that they had used CVE-2019-0090 on Cannon Lake to dump the CSME ROM, but that they still don’t have a stable exploit for it, because it is a race against the ROM code and it doesn’t always win.
- To be fair to Intel, they have been quite open about the architecture and design of the Intel CSME, their whitepaper about this bug and the CSME security white paper they published later in 2020 are where most of the details in this post come from.
- Other CPU manufacturers have similar technology (AMD has their Platform Security Processor).
The headline claim from Positive Technologies was about as dramatic as it gets (they literally said that utter chaos will reign), and to be fair the affected list is narrower than every single processor with an Intel CSME, but on an affected machine they are right that a ROM-stage compromise takes down everything that hangs off the CSME, Boot Guard, the firmware TPM and every BitLocker key sealed in it, DRM attestation, AMT, all of it, and Intel’s own list of what survives is short, TXT with a discrete TPM (because that chain of trust starts from the CPU’s microcode and not the CSME), SGX (apart from the secure time and monotonic counter service it gets from the CSME on client parts) and the host IOMMU. As of September 2026, neither CVE-2019-0090 nor CVE-2020-0566 is on CISA’s list of vulnerabilities known to be exploited in the wild, and there is still no public proof of concept.
Disclosure
A couple of years before writing this in 2020, I used to work for Intel as a Validation Engineer. However, I was never involved in any work related to the Intel CSME or any other topics mentioned in this post. This post was based entirely on public information found in the reference section.
Please note that this article is based entirely on public information, mainly the sources in the reference section. The main goal was to provide easy to grasp information about the attack; I might have skipped or been extremely loose about how specific components work. However, if you do find incorrect information regarding the attack, please contact me so I can correct it.
References
- Positive Technologies, Intel x86 Root of Trust: loss of trust (5 March 2020), archived copy: https://web.archive.org/web/20210111230019/https://blog.ptsecurity.com/2020/03/intelx86-root-of-trust-loss-of-trust.html (Russian original: https://habr.com/ru/companies/pt/articles/490730/)
- Intel security advisory INTEL-SA-00213: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00213.html
- Intel’s CVE-2019-0090 whitepaper (April/June 2020): https://www.intel.com/content/dam/www/public/us/en/security-advisory/documents/cve-2019-0090-whitepaper.pdf
- Intel’s blog post announcing that whitepaper (14 April 2020): https://blogs.intel.com/technology/2020/04/ipas-security-advisories-for-april-2020/ (archived copy: https://web.archive.org/web/20210124225147/https://blogs.intel.com/technology/2020/04/ipas-security-advisories-for-april-2020/)
- Intel CSME Security white paper (2020 to 2022): https://www.intel.com/content/dam/www/public/us/en/security-advisory/documents/intel-csme-security-white-paper.pdf
- Intel security advisory INTEL-SA-00295 (CVE-2020-0566): https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00295.html
- Hasarfaty and Moyal, Behind the Scenes of Intel Security and Manageability Engine, Black Hat USA 2019: https://i.blackhat.com/USA-19/Wednesday/us-19-Hasarfaty-Behind-The-Scenes-Of-Intel-Security-And-Manageability-Engine.pdf
- Krstić, Behind the Scenes of iOS and Mac Security, Black Hat USA 2019: https://i.blackhat.com/USA-19/Thursday/us-19-Krstic-Behind-The-Scenes-Of-IOS-And-Mas-Security.pdf
- Apple Platform Security guide, UEFI firmware security in an Intel-based Mac: https://support.apple.com/guide/security/uefi-firmware-security-in-an-intel-based-mac-seced055bcf6/web
- Tereshkin and Wojtczuk, Introducing Ring -3 Rootkits, Black Hat USA 2009: https://invisiblethingslab.com/resources/bh09usa/Ring%20-3%20Rootkits.pdf
- Ermolov, Last barrier destroyed, or compromise of Fuse Encryption Key for Intel Security Fuses (20 March 2025): https://ptswarm.com/blog/last-barrier-destroyed-or-compromise-of-fuse-encryption-key-for-intel-security-fuses/
- Ermolov’s 2018 tweet on the leaked Apollo Lake datasheets and the MISA: https://x.com/_markel___/status/1014228030925963265
- Ars Technica, 5 years of Intel CPUs and chipsets have a concerning flaw that’s unfixable (5 March 2020): https://arstechnica.com/information-technology/2020/03/5-years-of-intel-cpus-and-chipsets-have-a-concerning-flaw-thats-unfixable/
Footnote
¹ Before a chip goes into production, Intel can actually bypass the ROM entirely, pre-production firmware images can carry a ROM Bypass partition in the SPI flash that the chip jumps to instead of the on-die ROM, and this is how Intel works around bugs in early silicon. A manufacturing fuse that is set at the fab permanently disables this on production chips, so once that fuse is blown there is no way around the ROM anymore, and the only thing Intel can do about a ROM bug in the field is to ship firmware that blocks the paths an attacker would use to reach it.