Thursday, March 15th 2018

CTS Labs Posts Some Clarifications on AMD "Zen" Vulnerabilities

CTS-Labs the research group behind the AMD "Zen" CPU vulnerabilities, posted an addendum to its public-release of the whitepaper, in an attempt to dispel some of the criticism in their presentation in the absence of technical details (which they shared with AMD and other big tech firms). In their clarification whitepaper, quoted below, they get into slightly more technical details on each of the four vulnerability classes.
Clarification About the Recent Vulnerabilities
[CTS Labs] would like to address the many technical points and misunderstandings with a few technical clarifications about the vulnerabilities. The vulnerabilities described in our site are second-stage vulnerabilities. What this means is that the vulnerabilities are mostly relevant for enterprise networks, organizations and cloud providers.

Computers on enterprise networks occasionally get compromised - whether through phishing attempts, zero-day exploits or employees downloading the wrong file. High-security enterprise networks are equipped to deal with these kinds of "every-day" attacks. They do this by keeping their systems up to date, enabling security features, and employing additional measures such as endpoint security solutions.

The vulnerabilities described in amdflaws.com could give an attacker that has already gained initial foothold into one or more computers in the enterprise a significant advantage against IT and security teams.

The only thing the attacker would need after the initial local compromise is local admin privileges and an affected machine. To clarify misunderstandings - there is no need for physical access, no digital signatures, no additional vulnerability to reflash an unsigned BIOS. Buy a computer from the store, run the exploits as admin - and they will work (on the affected models as described on the site).

Attackers in possession of these vulnerabilities would receive the following additional capabilities:
  • Persistency: Attackers could load malware into the AMD Secure Processor before the CPU starts. From this position they can prevent further BIOS updates and remain hidden from security products. This level of persistency is extreme - even if you reinstall the OS or try to reflash the BIOS - it won't work. The only way to remove the attacker from the chip, would be to start soldering out chips. (we have seen a motherboard that had a socket where you can switch chips - then you could just put a new SPI chip).
  • Stealth: Sitting inside the AMD Secure Processor or the AMD Chipset is, at the moment, outside the reach of virtually all security products. AMD chips could become a safe haven for attackers to operate from.
  • Network Credential Theft: The ability to bypass Microsoft Credentials Guard and steal network credentials, for example credentials left by the IT department on the affected machine. We have a PoC version of mimikatz that works even with Credential Guard enabled. Stealing domain credentials could help attackers to move to higher value targets in the network.
  • Specific AMD Secure Processor features for cloud providers, such as Secure Encrypted Virtualization, could be circumvented or disabled by these vulnerabilities.
What was it tested on?
These are the machines we have tested the vulnerabilities on. On our site, every red circle in the vulnerabilities map represents a working PoC that was tested in our lab.

This is the list of hardware that has been tested in our lab:
  • BIOSTAR B350 GT3 Ryzen Motherboard.
  • GIGABYTE AB350-GAMING 3
  • HP EliteDesk 705 G3 SFF Ryzen Pro machine
  • HP Envy X360 Ryzen Mobile Laptop
  • TYAN B8026T70AV16E8HR EPYC SERVER
  • GIGABYTE MZ31-AR0 EPYC SERVER
RYZENFALL, FALLOUT
Requirements
  • Physical access is not required. An attacker would only need to be able to run an EXE with local admin privileges on the machine.
Impact:
  • Write to SMM memory, leading to code execution in SMM.
  • Reading and/or tampering with Credential Guard VTL-1 memory through the PSP.
  • Ryzenfall-4, which achieves code execution inside the PSP, leads to all the attacker capabilities described above, as well as the capability to tamper with the PSP and its security features.
  • An attacker can use RYZENFALL or FALLOUT to bypass Windows Credential Guard, steal network credentials, and then use these to move laterally through Windows-based enterprise networks
MASTERKEY
Requirements:
  • Physical access is not required. An attacker would only need to be able to run an EXE with local admin privileges on the machine.
  • Wait for reboot.
Impact:
The MASTERKEY set of vulnerabilities enable an attacker to execute unsigned code inside the PSP. Totaling a complete compromise of the Secure Processor. The exploit reflashes the BIOS to take advantage of the vulnerability:
  • On some motherboards - this works out of the box. This is because PSP firmware is often ignored by BIOS signature checks.
  • In other cases - RYZENFALL #1-2 could be used as a prerequisite for MASTERKEY to achieve code execution in SMM and bypass BIOS signature checks made in SMM code.
  • Even if all else fails, we believe using RYZENFALL-4 to write to SPI flash from inside the PSP is probably possible.
CHIMERA
Requirements:
  • Physical access is not required. An attacker would only need to be able to run an EXE with local admin privileges on the machine.
Impact:
The CHIMERA set of vulnerabilities are a set Manufacturer Backdoors left on the AMD Chipset, developed by Taiwanese company ASMedia.
  • This allows for an attacker to inject malicious code into the chip and take over the chipset (Read/Write/Execute).
  • One set of backdoors in implemented in firmware, while the other is implemented in the actual logic gates of the chip (ASIC). Both yield to the same impact.
Source: Safe Firmware
Add your own comment

89 Comments on CTS Labs Posts Some Clarifications on AMD "Zen" Vulnerabilities

#76
Hood
It is AMD's fault, if you look at it objectively. They designed these chips on a shoestring budget, (and did a good job, on the surface). But in these days of frequent major hacks, it was irresponsible of AMD to do so without considering possible vulnerabilities. Their budget didn't have room for millions of dollars worth of testing and validation, and shortcuts were obviously taken. But they're still responsible for these flaws (their quick success with Ryzen came at the expense of users unwitting vulnerability to exploits). Just as Intel was ultimately responsible for the Spectre/Meltdown fiasco. Lack of due diligence on the part of both companies. Like with any product that causes damage or loss to someone - lawsuits are inevitable. And you certainly can't blame the consumers, all they did was trust a major company to do the right thing.
Also, CTS has already given AMD detailed examples of how to reproduce all the exploits (as stated in the original White paper). Isn't that what you mean by "handing over their findings"?
Posted on Reply
#77
AsRock
TPU addict
Thats like saying it's Microsofts fault that any of there OS's were not immune from viruses and what ever. There is always some thing else, Always.

I guess they did some what of a decent thing then giving that data to AMD but still, they should be taken to the cleaners for being douch bags.
Posted on Reply
#78
Hood
AsRockThats like saying it's Microsofts fault that any of there OS's were not immune from viruses and what ever. There is always some thing else, Always.

I guess they did some what of a decent thing then giving that data to AMD but still, they should be taken to the cleaners for being douch bags.
So AMD should sue CTS for causing them financial loss (drop in stock price because of negative publicity, if that actually occurs). Depends on Whether they can convince a jury that it was intentional, or possibly presented in a negligent way. AMD stock went up the next day, now it's very slowly dropping. It will be very important that AMD puts the right spin on this, and they can't wait too long, or it makes it worse. I hope they do it right and weather this latest storm with no lasting damage. We need them to be healthy and competitive, to keep Intel and NVIDIA in check (and provide decent budget solutions).
Posted on Reply
#79
DeathtoGnomes
HoodSo AMD should sue CTS for causing them financial loss (drop in stock price because of negative publicity, if that actually occurs). Depends on Whether they can convince a jury that it was intentional, or possibly presented in a negligent way. AMD stock went up the next day, now it's very slowly dropping. It will be very important that AMD puts the right spin on this, and they can't wait too long, or it makes it worse. I hope they do it right and weather this latest storm with no lasting damage. We need them to be healthy and competitive, to keep Intel and NVIDIA in check (and provide decent budget solutions).
The law suit, if any, will prolly come after AMD confirms any/all CTS claims. CTS should be reported to the SEC as well for attempted stock manipulation. As for AMD stock, its been on a steady decline for a while, and if you look the charts, price spikes are very common. IMO. AMD doesnt have to put any spin on this, just face it head on.
Posted on Reply
Add your own comment
Mar 31st, 2025 15:47 EDT change timezone

New Forum Posts

Popular Reviews

Controversial News Posts