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

// // //
10/19/2018
09:35 AM
Larry Loeb
Larry Loeb
Larry Loeb

MIT Researchers Have a DAWG in the Fight Against Spectre & Meltdown

In the fight against Spectre and Metldown vulnerabilities, MIT is pitting its DAWG solution against Intel's CAT.

In January of this year, Google's Project Zero security team revealed it had discovered an entire class of memory-based attacks against x86-based CPUs that they called Spectre and Meltdown.

Following that report, the microprocessor industry, but Intel especially, has tried to come up with a workable fix to this problem. The responses have been met with mixed results at best. (See Intel's 9th Gen Processors Offer Protections Against Spectre & Meltdown .)

Now, however, a team of researchers at MIT think that they have come up with a way to create x86 CPUs that can overcome these side-channel vulnerabilities using a method that they call Dynamically Allocated Way Guard (DAWG). It's described in a new paper.

The groaning nerd pun involved here is that Intel's current way of doing things is called Cache Allocation Technology (CAT).

(Source: iStock)
(Source: iStock)

Bow wow.

The Spectre and Meltdown attacks are based on vulnerabilities that have been present in CPU designs since 1995. Since getting information from the CPU's memory -- like what to do next -- is slower than the speed at which the CPU operates, designers let the CPU get ahead of itself and execute code that may or may not be actually needed. If the program did need those instructions executed, then they were already performed.

This increased the CPU performance.

However, these side-channel attacks can infer the execution flow that a program takes by observing the state and timing of a shared (public/private) cache.

In CAT, an attacker sharing a page with the victim may observe the victim's use of shared addresses by measuring whether a load to a shared address results in a cache hit. This is key to the attack.

DAWG changes this by endowing an associative structure, such as code and the data in hardware, with protection domains to provide strong isolation. Unlike existing mechanisms such as CAT, DAWG disallows hits across protection domains.

Additionally, DAWG concentrates on the cache state exfiltration channel to enforce isolation. It accomplishes this by isolating the visibility of any state changes to a single protection domain, so any transmitter in the victim's domain cannot be connected to the same channel as any receiver in the attacker's domain.

In theory, this prevents any communication -- a leak -- of data from the victim to the attacker.

This also means that the hits and misses of a program running in one protection domain are unaffected by program behavior in different protection domains.

The researchers tried this stuff out in simulations. They found that DAWG, with memory shared across protection domains, behaves identically to CAT and the baseline with private data. They also found that there was virtually no performance difference between secure DAWG partitioning, and insecure CAT partitioning in the absence of read-sharing across domains.

They also found that the benchmarks that they used showed little performance difference when used on real hardware for most data sizes.

The researchers do admit DAWG has its limitations, and additional techniques will be required to block exfiltration channels that are different from the cache channel.

But this is a start. It directly addresses the root problem involved in Spectre and Meltdown at the hardware level rather than putting up some sort of code fence around it.

Related posts:

— 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
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Black Hat USA 2022 Attendee Report
Black Hat attendees are not sleeping well. Between concerns about attacks against cloud services, ransomware, and the growing risks to the global supply chain, these security pros have a lot to be worried about. Read our 2022 report to hear what they're concerned about now.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2022-35670
PUBLISHED: 2022-08-11
Adobe Acrobat Reader versions 22.001.20169 (and earlier), 20.005.30362 (and earlier) and 17.012.30249 (and earlier) are affected by a Use After Free vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR. Expl...
CVE-2022-35671
PUBLISHED: 2022-08-11
Adobe Acrobat Reader versions 22.001.20169 (and earlier), 20.005.30362 (and earlier) and 17.012.30249 (and earlier) are affected by an out-of-bounds read vulnerability that could lead to disclosure of sensitive memory. An attacker could leverage this vulnerability to bypass mitigations such as ASLR....
CVE-2022-35673
PUBLISHED: 2022-08-11
Adobe FrameMaker versions 2019 Update 8 (and earlier) and 2020 Update 4 (and earlier) are affected by an out-of-bounds read vulnerability when parsing a crafted file, which could result in a read past the end of an allocated memory structure. An attacker could leverage this vulnerability to execute ...
CVE-2022-35674
PUBLISHED: 2022-08-11
Adobe FrameMaker versions 2019 Update 8 (and earlier) and 2020 Update 4 (and earlier) are affected by an out-of-bounds read vulnerability when parsing a crafted file, which could result in a read past the end of an allocated memory structure. An attacker could leverage this vulnerability to execute ...
CVE-2022-35675
PUBLISHED: 2022-08-11
Adobe FrameMaker versions 2019 Update 8 (and earlier) and 2020 Update 4 (and earlier) are affected by a Use After Free vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must open a mal...