Intel CPU

Intel is investigating the leak of alleged private keys used by the Intel Boot Guard security feature, potentially impacting its ability to block the installation of malicious UEFI firmware on MSI devices.

In March, the Money Message extortion gang attacked computer hardware make MSI, claiming to have stolen 1.5TB of data during the attack, including firmware, source code, and databases.

As first reported by BleepingComputer, the ransomware gang demanded a $4,000,000 ransom and, after not being paid, began leaking the data for MSI on their data leak site.

Last week, the threat actors began leaking MSI’s stolen data, including the source code for firmware used by the company’s motherboards.

Leaked MSI source code on Money Message data leak site
Leaked MSI source code on Money Message data leak site
Source: BleepingComputer

Intel Boot Guard impacted by attack

On Friday, Alex Matrosov, the CEO of firmware supply chain security platform Binarly, warned that the leaked source code contains the image signing private keys for 57 MSI products and Intel Boot Guard private keys for 116 MSI products.

“Intel is aware of these reports and actively investigating. There have been researcher claims that private signing keys are included in the data including MSI OEM Signing Keys for Intel® BootGuard,” Intel told BleepingComputer in response to our questions about the leak.

“It should be noted that Intel BootGuard OEM keys are generated by the system manufacturer, and these are not Intel signing keys.”

Matrosov said that this leak may have caused Intel Boot Guard not to be effective on MSI devices using “11th Tiger Lake, 12th Adler Lake, and 13th Raptor Lake” CPUs.

“We have evidence the whole Intel ecosystem is impacted by this MSI data breach. It’s a direct threat to MSI customers and unfortunately not only to them,” Matrosov told BleepingComputer Friday afternoon.

“The signing keys for fw image allow an attacker to craft malicious firmware updates and it can be delivered through a normal bios update process with MSI update tools.”

“The Intel Boot Guard keys leak impacts the whole ecosystem (not only MSI) and makes this security feature useless.”

Intel Boot Guard is a security feature built into modern Intel hardware designed to prevent the loading of malicious firmware, known as UEFI bootkits. It is a critical feature used to meet Windows UEFI Secure Boot requirements.

This is because malicious firmware loads before the operating system, allowing it to hide its activities from the kernel and security software, persist even after an operating system is reinstalled, and help install malware on compromised devices.

To protect against malicious firmware, Intel Boot Guard will verify if a firmware image is signed using a legitimate private signing key using an embedded public key built into the Intel hardware.

If the firmware can be verified as legitimately signed, Intel Boot Guard will allow it to be loaded on the device. However, if the signature fails, the firmware will not be allowed to load.

Binarly advisory about leaked Intel BootGuard keys
Binarly advisory about leaked Intel Boot Guard keys
Source: Binarly

The biggest problem with this leak is that the public keys used to verify firmware signed using the leaked keys are believed to be built into Intel hardware. If they cannot be modified, the security feature is no longer trustworthy on devices using those leaked keys.

“The Manifest (KM) and Boot Policy Manifest (BPM) private keys were found in the leaked MSI source code. These keys are used for Boot Guard technology which provides firmware image verification with a hardware Root of Trust,” warns Binarly in an advisory shared on Twitter.

“The hash OEM Root RSA public key from the KM manager is programmed into chipset’s Field Programmable (FPFs). The main purpose of the KM is to store the hash of an RSA public key from the BPM which in turn contains the information on the Boot Policy, Initial Boot Block (IBB) description and it’s hash.”

“The leaked private parts of the mentioned keys allows a potential attacker to sign the modified firmware for this device, so it would pass Intel Boot Guard’s verification making this technology completely ineffective.”

While these keys will not likely be helpful to most threat actors, some skilled attackers have previously used malicious firmware in attacks, such as CosmicStrand and BlackLotus UEFI malware.

“Now the feature can be compromised and attackers can craft malicious firmware updates on impacted devices without concern about Intel Boot Guard,” Matrosov said in a final warning shared with BleepingComputer

Binarly has released a list of impacted MSI hardware, comprising 116 MSI devices reportedly compromised by the leaked Intel Boot Guard keys.

BleepingComputer has also contacted MSI and Intel with further questions, but a response was not immediately available.

Update 5/8/23: Added statement from Intel

Source: www.bleepingcomputer.com