Breaking Down The New Security Flaws In AMD's Ryzen, EPYC Chips

CTS-Labs, a new "research organization" from Israel that seems to have formed last year, claimed to have found four categories of bugs affecting AMD’s Ryzen processors, called Masterkey, Ryzenfall, Fallout, and Chimera. 

AMD PSP

AMD started incorporating the Platform Security Processor (PSP) into its chips back in 2013 as a “trusted execution environment,” somewhat similar to Intel’s much criticized Management Engine (ME).

In theory, the chip is there to create a secure environment that’s isolated from operating system malware. However, critics have said that, just like Intel’s ME, it could be used as a backdoor without the user knowing any better. If the PSP somehow became malicious, it could bypass any OS protection because it exists at a lower level underneath the OS.

Last year, AMD customers and privacy activists created a petition pleading to AMD to release the source code to its PSP. However, AMD said that it has no plans (minute 35) to open-source its PSP firmware anytime soon.

The company also added that it has already completed multiple audits performed by other third-party security companies that AMD hired to check the PSP for vulnerabilities, and that some of its enterprise customers are doing their own audits of the co-processor.

A PSP security flaw was disclosed in the beginning of this year, but everyone’s attention quickly moved to Meltdown and Spectre after that.

Masterkey Vulnerabilities

CTS said that the Masterkey class of vulnerabilities allows attackers to bypass AMD's Hardware Validated Boot feature and exploit the PSP co-processor that comes with AMD’s Ryzen and EPYC chip line-ups. Ryzen Pro and Ryzen Mobile chips may also be affected, but the researchers didn't test those chips.


The flaws supposedly enable code execution and malware persistence on AMD’s PSP that would run in kernel-mode with the highest permissions and stay hidden from virtually all security solutions on the market.

According to CTS-Labs' report, the Masterkey flaws also allow tampering with AMD’s firmware-based security features such as Secure Encrypted Virtualization (SEV) and Firmware Trusted Platform Module (fTPM). The Windows Credential Guard protection could also be bypassed, allowing for credential theft. Attackers could even use the Masterkey flaws to install ransomware or brick the hardware.

Ryzefall Design And Implementation Flaws

The Ryzenfall bugs represent a set of design and implementation flaws in AMD's "Secure OS" that runs on the PSP. CTS-Labs said that these flaws allows attackers to take full control of the PSP in the Ryzen, Ryzen Pro, and Ryzen Mobile processors. The PSP could be leveraged to read and write protected memory areas, such as SMRAM, and the Windows Credential Guard isolated memory.


The attackers could steal network credentials using these flaws and then they could gain access even to highly secure corporate networks, according to the CTS researchers. The malicious actors could use Ryzenfall in conjunction with Masterkey to install persistent malware for long-term espionage purposes.

Fallout Design Flaws

The Fallout set of vulnerabilities resides in the boot loader component of EPYC’s PSP processor. The boot loader is responsible for the Hardware Validated Boot on the EPYC server chips, as well as launching the PSP module for Secure Encrypted Virtualization, a new security feature of the EPYC chips.


The flaws could allow attackers to read from and write to protected memory such as System Management RAM (SMRAM) and Windows Credential Guard isolated memory (VTL-1). Attackers could also bypass BIOS flashing protections that are implemented in the System Management Mode (SMM), used for low-level hardware control.

Chimera Backdoors

Perhaps the worst of the bugs may not even be regular software vulnerabilities or design flaws, but actual firmware and hardware backdoors, found in ASMedia’s chipsets, which AMD’s Ryzen uses under AMD's own "Promontory” brand name. Asus is the parent organization behind ASMedia.


The Chimera manufacturer backdoors allow attackers to inject malicious code into the Ryzen chipset. The chipset connects the CPU to USB, SATA, and PCIe devices. An attacker could potentially leverage the middleman position of the chipset to launch an attack on the CPU.

CTS said that chipset-based malware would be able to evade any endpoint anti-malware solutions on the market. The malware running on the chipset could leverage the Direct Memory Access (DMA) engine to attack the operating system. The researchers don’t believe that AMD could mitigate these backdoors, considering one of them is hardware-based, without a recall of the chips.

CTS-Labs hasn’t given too many details about how the flaws work, as a precaution so that malicious actors don’t start exploiting them before AMD has a chance to fix these flaws. At the same time, the company only gave AMD 24 hours notice before publishing its materials.

The security researchers said they don’t know if any of the vulnerabilities are already being exploited in the wild, but they are concerned about the Chimera firmware and hardware backdoors found in the ASMedia chipsets. They conclude the report saying that the existence of these major flaws in AMD’s processors is due to AMD’s disregard for fundamental security principles.

Create a new thread in the UK News comments forum about this subject
This thread is closed for comments
5 comments
Comment from the forums
    Your comment
  • HEXiT
    annoyed doesnt even cover my feelings on this...
    hardware backdoors?
    who was responsible for this idea... FIRE THEN PROSECUTE him/them...

    the sheer mount of flaws is disturbing. but the inclusion of a back door thats intentional.
  • _lc_
    Sorry, but before reporting something like this one should investigate the source.
    There is even more to report about that "company" and their flawed allegations. They have been copying stock graphics and texts. It is all a bad mockup.
    On top of this, it looks like somebody has been shorting AMD stocks. Apparently, the company has done this sort of smear campaign before – again – shorting stocks...
    Very dirty, very shady – smells a lot like Intel to me. :-P
  • bananaforscale
    Here's a breakdown for you: it's all smoke and mirrors intended to manipulate AMD's stock price.