Introduction
Recently, I've been seeing more people online discussing the Intel Management Engine (ME) and Libreboot. I see quite a bit of fear-mongering around the ME, and while I do believe it is a substantial security and privacy concern, it's not too different from every other proprietary technology within modern computers.
The Intel Management Engine
The Intel Management Engine is a small, low-power computer subsystem that runs independently of the main CPU, regardless of its power state. Introduced in Intel chipsets around 2006–2008, it has unrestricted access to all of the system's memory and hardware. Intel has remained incredibly tight-lipped about the architecture and inner workings of the ME, as they have for all of their proprietary technologies. Despite Intel's efforts to keep its inner workings a secret, the ME has been extensively reverse-engineered by security researchers and enthusiasts over the years.
Intel Active Management Technology (AMT) is one module that runs on the ME, providing remote management capabilities for enterprise users. AMT is, by default, disabled on consumer devices, but the idea of a backdoor capable of persisting through OS reinstalls, power loss, etc., was tantalizing for many researchers and hackers.
Firmware and Access
Intel compresses and obfuscates the ME's firmware with two Huffman dictionaries stored directly in hardware. Obtaining its firmware alone requires dumping it from the SPI flash, for which the process is different from device to device and more often than not requires physical access. However, versions of the ME are often shipped with BIOS updates, which can be easier to obtain.
Once you have the firmware, decompression is a non-trivial task; thankfully, those before us have already done some of the hard work. Keep in mind, the SPI cannot be flashed at will; it requires a signed firmware image from Intel (or a very sophisticated exploit) to write.
Vulnerabilities
Along with sounding incredibly frightening at first glance, multiple equally frightening exploits have targeted the ME over the years. In 2009, Alexander Tereshkin and Rafal Wojtczuk of Invisible Things Lab (ITL) unveiled "ring -3" rootkits, that is, rootkits operating at a privilege level below the kernel (ring 0), the hypervisor (ring -1), and system management mode (ring -2). Ring -3 refers to the management engine itself, which was a new concept at the time.
ITL was the first to demonstrate the ME's susceptibility to various attacks and the implications of such vulnerabilities. By remapping normally unreachable memory containing AMT to OS-accessible memory, code could be written to that memory space and executed by the ME. There was a problem with this, however: the injected code was transient. Regardless, ITL continued and found multiple ways to achieve DMA from AMT to host memory. This was nearly everything they needed to achieve persistence, aside from the ability to write to the SPI flash. Days later, ITL showcased how they managed to defeat Intel's signed BIOS enforcement, allowing them to flash custom firmware to the ME on vPro Q35/45 chipsets.
Q35 chipsets were left vulnerable to many exploits, including the one detailed above. Q45 chipsets, by contrast, had stronger protections against unauthorized memory access and thus were not exposed to the same attacks. However, this occurred in 2009—only a year after Intel’s initial release of the ME—and many more vulnerabilities have been discovered since then. Just to name a few: in 2016, security researcher Vassilios Ververis purchased a certificate viewed as valid by the ME, allowing remote "zero-touch" provisioning of machines. "Silent Bob is Silent" was perhaps the most egregious vulnerability discovered in the ME, described as giving attackers "full control of affected machines, including the ability to read and modify everything. It can be used to install persistent malware (possibly in firmware), and read and modify any data." (Tatu Ylönen, ssh.com)
It's Not a Great Attack Surface
I'm sure the previous section makes the ME sound like a terrifying backdoor, and in many ways, it can be. However, it's important to remember the sheer quantity and magnitude of exploits discovered within every other piece of software and hardware in your computer every day. The ME is a significant security concern, but it's not the only one.
Modern computers are filled with proprietary technology, much of which has similar levels of access to the system as the ME. Intel's Management Engine is not unique in this regard; AMD's Platform Security Processor (PSP) and ARM's TrustZone are similar subsystems present in many devices. Each input device and PCI slot is an attack vector. The very walls you plug your computer into can also be exploited. The truth is, if a high-profile attacker were to target you, there are many, many easier avenues they could pursue to compromise your system. The Intel Management Engine has terrifying exploits, but so does nearly every other black-box proprietary technology in your computer.
Conclusion
The Intel Management Engine is just another example of proprietary technology produced by a corporation that prioritizes profit over user security and privacy. Black boxes with unrestricted access to your system disgust me, and I want nothing more than to live in a world with free and open computing. However, do not fixate on the ME as the singular security concern in your life. There are many more, and most of them are far easier to exploit. Ultimately, if technology like the Intel Management Engine is your utmost concern, consumer computing hardware as it exists today may not be suitable. Thank you for reading. As always, I welcome feedback and discussion.