Intel ME's Undocumented Manufacturing Mode Suggests CPU Hacking Risks

Positive Technologies (PT), a Russian security company that has discovered multiple bugs in Intel’s Management Engine (ME) over the last couple of years, this week revealed more details about Intel’s “Manufacturing Mode” for ME, saying it can expose users to remote hacking. This is the second undocumented mode in Intel ME that PT has found in recent years.

Intel ME Manufacturing Mode

According to PT, Intel’s Manufacturing Mode in its processors is intended for configuration and testing of chips during manufacturing. The mode is expected to be disabled before shipping the for the same reason software's debugging mode is disabled before shipping: you don’t want hackers to gain easy access to it.

However, PT said that if the Manufacturing Mode in Intel ME is not disabled in the final product, average customers are not able to disable it because they wouldn't know about it naturally (since it's undocumented) and because the tools that can do that are not officially available. Because of that, no current software, including Chipsec, which can normally tell you about processor configuration errors at the UEFIfirmware level, can see whether or not the Manufacturing Mode is disabled.

What Does Manufacturing Mode Do?

Manufacturing Mode allows for the configuration of critical platform settings, such as those for BootGuard, a technology available with Intel’s chips that can verify the boot process. These settings are stored in one-time-programmable memory (FUSEs), and some of them are called Field Programmable Fuses (FPFs).

FPFs are typically used to store platform parameters. Setting FPFs requires Intel’s ME to be in the Manufacturing Mode. As part of a two-step process, the FPFs are first stored to temporary memory and are then “burned” when the Manufacturing Mode is closed. If a system remains in Manufacturing Mode, that means the FPFs have never been initialized because the process hasn’t been completed.

If manufacturers somehow forget to set the FPFs that they need to set for their products and the Manufacturing Mode remains enabled, that could allow attackers to set their own FPFs, and, thus, control the platform.

For instance, the attackers could set their own values for BootGuard or other security features. The Intel platform would then automatically load with the attackers’ malicious code, regardless of the steps the user would take to protect their machine against malware. According to PT, the attackers' malicious code can never be removed.

Which Intel Processors Are at Risk?

PT said that newer Intel platforms that have the Manufacturing Mode enabled, such as Apollo Lake, Gemini Lake and Cannon Point, expose users to even more risk because the attackers can control not just the verified boot process, but also steal the OEM’s root key, which is used to sign all sorts of firmware on a machine.

According to PT, the Intel ME was previously located in a separate SPI flash memory region that had independent access rights for the CPU and ME, making it impossible to read or write to the ME from the CPU (main system) side.

However, Intel changed this for the latest platforms by introducing a new mechanism called “Master Grant.” A master can control a special SPI region, but it can also provide access to other masters to its own region. In other words, it would be possible to give the CPU access to regions of the ME to which it normally wouldn’t have access.

PT believes Intel introduced this feature to make it easier for the company to update ME more directly, but one could imagine this can also make it easier for attackers that control the CPU to then gain access to lower levels of the platform too.

Apple Laptops' Vulnerability

PT found that Apple’s laptops were shipping with the Manufacturing Mode enabled. After PT reported the flaw to the company, Apple fixed it in the macOS High Sierra update 10.13.5.

The security company didn't find any Manufacturing Mode issues with the Lenovo Yoga and ThinkPad laptops.

Intel’s Undocumented Modes

PT was also the first security company to reveal that Intel had another undocumented mode called the High Assurance Platform (HAP), which was developed for the NSA. The intelligence agency supposedly needed it to close off any potential vulnerabilities of Intel’s ME, which ships with all consumer and enterprise processors. However, most other Intel customers didn't get that benefit, despite the fact that consumer machines have no use for Intel ME.

Intel ME has long been criticized by privacy activists as a potential backdoor, or at least a major security loophole that attackers could one day control. Therefore, finding out that Intel had built a special undocumented mode in ME for the NSA didn’t exactly calm those fears--quite the opposite.

Since then, we’ve also learned about more ME vulnerabilitiesthat could allow attackers to take over machines remotely. Now we've learned that Intel has kept yet another mode that could give attackers access to its CPUs secret from the public.

Intel promised earlier this year, following the disclosure of the Meltdown and Spectre bugs, that it would put security first. As we said before, it remains to be seen if Intel will actually follow through on those security promises.

Similar Articles:

Australian Government Ignores Experts in Advancing Its Anti-Encryption Bill

Australian Government Ignores Experts in Advancing Its Anti-Encryption Bill

Intel Management Engine

Intel Management Engine

Intel Patched A Vulnerability Leaking Intel ME Encryption Keys

Intel Patched A Vulnerability Leaking Intel ME Encryption Keys

Foreshadow/L1TF Intel Processor Vulnerabilities: What You Need to Know

Foreshadow/L1TF Intel Processor Vulnerabilities: What You Need to Know