Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Endpoint Security

12/16/2019
10:05 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

With Plundervolt, an Intel Processor's Secure Enclave Is No Longer Secure

Major hardware vulnerability can allow the changing of information that is supposedly stored as secure in the chip's Secure Enclave.

International researchers have discovered a major hardware vulnerabilitythat they call Plundervolt in most of the modern Intel processors from Skylake onward. It can allow the changing of information that is supposedly stored as secure in the chip's Secure Enclave.

The researchers have a web page with a snazzy logo (designed by Mike Stimpson) dedicated to the vulnerability (CVE-2019-11157) where they attempt to answer some general questions about it.

The vulnerability has been known since June by the group who then informed Intel. It's taken Intel until now to get a patch out to mitigate things. Admittedly, the problems that Intel had to navigate in a solution composed of both microcode (CPU firmware) and BIOS updates were non-trivial.

The method used in the attack is similar to how a gamer might "overclock" a CPU for faster performance in that it uses a privileged power/clock management feature (the CPU's Dynamic Voltage and Frequency Scaling) to do its dirty work: inject faults into a trusted execution environment. These faults can then be actively exploited later by the attacker once the malware program leaves the enclave and is running in its normal space. Thus Plundervolt does not break the SGX in the usual sense, instead it poisons the output.

By the way, this is just the opposite of recent speculative-style SGX attacks like Foreshadow or Spectre. Those methods allow the attacker to read data from SGX enclave memory (i.e. attacks the confidentiality). As the researchers note, "Plundervolt achieves the complementary operation, namely changing values in SGX-protected memory (i.e. attacks the integrity)".

The problem affects many users, not just those using SGX for cryptography programs for example. The group says that Plundervolt can also cause memory safety misbehavior in certain scenarios. For example, the paper finds that out-of-bounds accesses may arise when an attacker faults multiplications emitted by the compiler for array element indices or pointer arithmetic.

They conclude that Plundervolt can break a processor's integrity guarantees, affecting even securely written code. They also claim to show that Plundervolt may affect SGX's attestation functionality, which undermines the building blocks underpinning the security of Intel's SGX ecosystem. The Gang of Six says that, "this represents the first practical attack that directly breaches the integrity guarantees in the Intel SGX security architecture."

Yow.

But there is a bit of upside to all of this. Evidently, Plundervolt can't be exploited remotely. Pointing the victim to malware with JavaScript in it won't get the vulnerability to work.

Plundervolt also doesn't work from within virtualized environments, such as virtual machines and cloud computing services, because that vector was considered by Intel in the design of the SGX architecture. At least in this version of Plundervolt (which doesn't break that architecture), it prevents that kind of exploit.

So, those wanting to close off SGX's possible corruption should patch both the CPU microcode and the BIOS of a machine. Nothing less than that will mitigate the vulnerability.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-11583
PUBLISHED: 2020-08-03
A GET-based XSS reflected vulnerability in Plesk Obsidian 18.0.17 allows remote unauthenticated users to inject arbitrary JavaScript, HTML, or CSS via a GET parameter.
CVE-2020-11584
PUBLISHED: 2020-08-03
A GET-based XSS reflected vulnerability in Plesk Onyx 17.8.11 allows remote unauthenticated users to inject arbitrary JavaScript, HTML, or CSS via a GET parameter.
CVE-2020-5770
PUBLISHED: 2020-08-03
Cross-site request forgery in Teltonika firmware TRB2_R_00.02.04.01 allows a remote attacker to perform sensitive application actions by tricking legitimate users into clicking a crafted link.
CVE-2020-5771
PUBLISHED: 2020-08-03
Improper Input Validation in Teltonika firmware TRB2_R_00.02.04.01 allows a remote, authenticated attacker to gain root privileges by uploading a malicious backup archive.
CVE-2020-5772
PUBLISHED: 2020-08-03
Improper Input Validation in Teltonika firmware TRB2_R_00.02.04.01 allows a remote, authenticated attacker to gain root privileges by uploading a malicious package file.