The weakness occurs because of “BadRAM,” which are rogue memory modules that deliberately provide false information to the computer’s processor during startup.
Processors are present in every computer and are necessary to perform every calculation. The computer’s memory (DRAM) is essential for storing code and data. When a computer boots up, the processor will communicate with DRAM modules to learn size, speed and configuration.
In this case, researchers targeted a security technology called Secure Encrypted Virtualization (SEV), designed by global computing company AMD. Moreover, this technology protects privacy and trust in cloud computing by encrypting a virtual machine’s memory and isolating it from advanced attackers.
The research was carried out by a consortium of experts from KU Leuven, Belgium; the University of Luebeck, Germany; and the University of Birmingham, UK.
Firmware Update Launches
Furthermore, results of the research led AMD to issuing firmware updates to securely validate memory configurations as processors boot up.
“We found that using cheap, off-the-shelf equipment, we were able to trick the computer’s processor into allowing access to protected memory,” said Dr. David Oswald, at the University of Birmingham.
Moreover, the researchers published a website to explain the weakness and the potential threat posed.
Additionally, they explain BadRAM makes the computer’s memory module intentionally lie about its size, tricking the CPU into addressing “ghost” memory regions that don’t exist.
BadRAM in 3 Simple Steps
- Compromise the memory module: BadRAM makes the memory module intentionally lie about its size, tricking the CPU into accessing nonexistent “ghost” addresses that end up silently mapped to existing memory regions.
- Find aliases: Two CPU addresses now map to the same DRAM location. Our practical tools find these aliases in minutes.
- Bypass CPU Access Control: Through these aliases, attackers can bypass CPU memory protections, exposing sensitive data or causing disruptions.
“We worked with AMD to ensure they were able to adopt appropriate countermeasures so that BadRAM is detected at the point the computer boots up,” Oswald said. “While it’s good practice to keep your system up-to-date, most cloud providers will have updated their firmware to include AMD’s countermeasures, so there is no need to worry that your data is not secure.”


