Researchers say they’ve discovered serious potential vulnerabilities within AMD’s Ryzen and Epyc chip architectures. AMD said it’s taking the reports seriously, though it wasn’t provided sufficient time to investigate or confirm them before their disclosure.
CTS-Labs, a security research company which says it specializes in vulnerabilities within ASICs and other chips, has said it’s discovered four potential attacks, code-named Masterkey, Ryzenfall, Fallout, and Chimera. All would require a program running with local access and administrator privileges to exploit them. CTS published a clarification paper on March 16 with more technical details, including a claim that an attacker does not need physical access to the machine and that the vulnerabilities were more relevant to enterprise customers, not PC users.
AMD confirmed it’s been made aware of the potential vulnerabilities. However, the statement AMD provided to PCWorld implied that the company wasn’t given the usual amount of time to investigate the vulnerabilities internally, which is typically about 90 days. Instead, the company said it was told of the vulnerability the day before it was made public.
“At AMD, security is a top priority and we are continually working to ensure the safety of our users as new risks arise,” AMD’s statement said. “We are investigating this report, which we just received, to understand the methodology and merit of the findings.”
In a blog post on its site, AMD added: “This company [CTS Labs] was previously unknown to AMD and we find it unusual for a security firm to publish its research to the press without providing a reasonable amount of time for the company to investigate and address its findings.” As of Friday, March 16, AMD had not provided a response.
However, Dan Guido, a security researcher, wrote that he has seen the proof of concept code and confirmed the vulnerabilities. “Regardless of the hype around the release, the bugs are real, accurately described in their technical report (which is not public [as far as I know]), and their exploit code works,” he tweeted.
What this means for you: At this point, nothing. It’s important to note that these attacks remain unconfirmed by AMD, though they’re potentially serious. CTS-Labs claims it’s been able to exploit the vulnerabilities it found on several Ryzen chips, but no potential attack has been seen in the wild. It’s also important to note that while other publications may care about the effect on AMD’s share price, PCWorld does not. Are there vulnerabilities? How severe are they? What mitigations will AMD provide and when? And what do users need to do, if anything? Did disclosing the vulnerabilities so late to AMD increase the chances that they could be weaponized? As to the latter question, we don’t know. But that’s the direction in which we see this issue unfolding.
A list of the potential AMD chip vulnerabilities, according to CTS-Labs.
What are Ryzenfall, Masterkey, Fallout, and Chimera?
Hardware vulnerabilities have come to the forefront with the rise of Spectre and Meltdown, which attack the speculative execution processes used by Intel and other vendors. AMD and ARM are also potentially affected by Spectre and Meltdown, though Intel has been the public face of both vulnerabilities.
The four new AMD-specific vulnerabilities largely attack the AMD Secure Processor, logic which creates a protected environment for executing sensitive tasks. In a whitepaper, CTS-Labs criticized the processor as a “black box” that remains poorly understood. The whitepaper painted AMD as irresponsible, claiming that the Ryzen and Ryzen Pro chipsets “could not have passed even the most rudimentary white-box security review.” It also urged the security community to study the effects on mission-critical systems “that could potentially put lives at risk.”
According to CTS-Labs, there are three derivatives of Masterkey, all of which have been proven on Epyc and Ryzen. There are four derivatives of Ryzenfall, three of Fallout, and two Chimera attacks. Ryzenfall and Fallout have been tested on Ryzen, Ryzen Pro, and Epyc; Ryzen Mobile chips are not affected. Chimera has been tested on Ryzen and Ryzen Pro, CTS-Labs claimed.
Masterkey, according to CTS-Labs, allows the injection of persistent malware into the Secure Processor, among other attacks. Ryzenfall threatens the secure OS running on top of the Secure Processor, potentially bypassing virtualization and injecting malware. It allows an attacker to break into the “fenced DRAM” the OS creates.
Fallout exposes the bootloader within the Epyc Secure Processor, allowing access to protected memory regions, CTS-Labs claims. Finally, the firm claimed the Chimera attack could access “an array of hidden manufacturer backdoors” inside AMD’s Promontory chipsets. CTS-Labs blamed ASMedia, a third-party chipmaker that supplied the USB host controller and SATA controller within AMD’s Ryzen chipset, for these vulnerabilities, which were then introduced into the Ryzen chipsets.
In its clarification document, CTS claimed that the vulnerabilities it discovered were “mostly relevant for enterprise networks, organizations and cloud providers.” None of the vulnerabilities would require physical access, CTS added. An attacker would only need to be able to run an EXE with local admin privileges on the machine, the firm wrote.
“The only thing the attacker would need after the initial local compromise is local admin privileges and an affected machine,” CTS-Labs wrote. “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].”
CTS said that they’ve tested the vulnerabilities the firm discovered on the following hardware:
- 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
CTS-Labs motivations have also drawn scrutiny, including a notice on their Web site that it may have a financial interest in the subjects of its reports. PCWorld attempted to interview CTS executives, but ultimately declined the interview after CTS-Labs representatives demanded a list of questions in advance, and also forbade us from asking about the timing and the company’s financial motivations.
CTS-Labs is not the only security organization to discover an issue with AMD’s Secure Processor. Last September, Google researchers found and reported a stack overflow vulnerability, which AMD said it patched. AMD’s BIOS now allows users to disable PSP support. PSP, or the Platform Security Processor, is the former name of AMD’s Secure Processor.