acm-header
Sign In

Communications of the ACM

ACM News

MIT Finds a Smarter Way to Fight Spectre-style CPU Attacks


View as: Print Mobile App Share:
Dynamically Allocated Way Guard offers more security without a steep performance hit.

Researchers at the Massachusetts Institute of Technology have developed a new method that promises tight security without dragging performance through the dirt.

Credit: Thomas Samson/AFP/Getty Images

Many companies have developed patches to mitigate Meltdown- and Spectre-like speculative memory attacks. However, they can come with compromises: they can leave major gaps and still slow down your system. MIT researchers may have a better way. They've developed a new method, Dynamically Allocated Way Guard (yes, DAWG is on purpose), that promises tight security without dragging performance through the dirt.

It boils down to isolating memory caches on processors in a way that prevents them from seeing anything they don't need to know. MIT likens it to putting walls in a kitchen that prevent chefs from seeing each other's ingredients and tools. There are multiple separate cache ways with their own domain identities, each of which is validated. New policies, meanwhile, deal with cache "misses" that could signal an attack.

The result is an approach that protects against much more than Intel's pre-Spectre Cache Allocation Technology (CAT), but offers "comparable" performance. While it won't work against every possible speculative attack, it's still better -- and it protects against non-speculative attacks that CAT could never address. There's work underway to help DAWG tackle more speculative attacks, too, and it would require "very minimal" changes to operating systems.

The challenge is getting companies to use the feature. MIT's team is hopeful that companies like Intel will pick up on the idea, but that's not guaranteed. As it is, the typical development times for processors could mean a long wait even if the industry adopted the concept right away. Still, this raises hope that there's a true solution to Meltdown and Spectre that doesn't involve a significant speed hit.

 

From Engadget


View Full Article


 

No entries found

Sign In for Full Access
» Forgot Password? » Create an ACM Web Account