News Security

AMD CPUs for the past 9 years are vulnerable to data leak attacks

AMD processors released since 2013 are vulnerable to a pair of new side-channel attacks, “Collide + Probe” and “Load + Reload.” Both exploit weaknesses in AMD’s L1D cache way predictor, a tool that predicts where data is stored in the processor, to detect when that data is accessed. By combining the new exploits with existing methodologies, researchers from the Graz University of Technology were able to crack open all the secrets of AMD processors in labs and real-world servers.

Processors run a lot of software concurrently and essential to systems’ security is keeping programs separate so that one can’t see what the other is doing, but new research into AMD’s processors has uncovered flaws that allow data to be shared between programs running on the same core.

“The key takeaway of this paper is that AMD’s cache way predictors leak secret information,” says the research paper from the Austrian team.

In both new exploits, collectively called “Take A Way” flaws, attacking software begins by picking an address corresponding with the target data’s address. The attacker then accesses the data stored in their version of the address, but that creates a link based on the address within the cache and the way predictor. The route the processor will take to access that address next time is guaranteed to be quite quick. But if the address is triggered a third time, then the processor will get to it slowly.

All the attacker has to do, then, is bring up that address at regular intervals. If it comes up quick then the victim hadn’t accessed it during the interval, but if it takes a while, it was accessed. This allows the attacker to monitor when the victim accesses data stored within the processor, without knowing where that data is, and without the requirement of sharing memory with the victim.

From there the researchers paired the exploits with existing attack patterns and weaknesses to stir up some trouble. They constructed a covert channel between two pieces of software that are not meant to be able to communicate. They were able to break ASLR (address space layout randomization) which is a key step in accessing processor memory. Subsequently, they were able to leak kernel data and even crack AES encryption keys.

The findings haven’t been without controversy, although it doesn’t appear to be as questionable as some thought at first. While Hardware Unboxed found disclosures that Intel funded the research, raising concerns about the objectivity of the study, the authors have also received backing from Intel (and other sources) for finding flaws in the company’s own chips as well as other products. It appears to just be a general effort to spur security research, then. As it stands, the funding source doesn’t change the practical reality AMD may have to tweak its CPU designs to safeguard against Take A Way attacks going forward.

(Visited 53 times, 1 visits today)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.