John Leyden
Senior Writer

Battering RAM hardware hack breaks secure CPU enclaves

News
Dec 11, 20253 mins

Black Hat Europe 2025: Low-cost hardware hack opens the door to supply chain attacks against confidential computing servers in cloud environments.

Battering ram, Siege, Medieval image.
Credit: havos123 / Pixabay

Confidential computing, powered by hardware technologies such as Intel SGX (Software Guard Extensions) and AMD SEV (Secure Encrypted Virtualization), promises strong isolation and transparent memory encryption.

Designed to protect against privileged attackers and physical threats such as bus snooping and cold boot attacks, these secure CPU enclaves are used predominantly in cloud computing environments to create protected memory regions that are encrypted and inaccessible to the rest of the system. However, security researchers from Begium’s KU Leuven University have developed a custom, low-cost DDR4 interposer that re-opens the door to supply chain attacks against even fully patched systems.

During a presentation at the Black Hat Europe conference on Wednesday, Jesse De Meulemeester and Jo Van Bulck demonstrated how this $50 piece of hardware made it possible to manipulate memory address mapping, effectively tricking the processor into granting unauthorized access to portions of encrypted memory.

Because the hack operates at runtime it circumvents recent boot-time firmware mitigations deployed by Intel and AMD in response to earlier software-based “BadRAM” memory aliasing attacks.

The latest hack — dubbed Battering RAM — enables arbitrary plaintext read/write access and extraction of SGX’s platform provisioning key. This, in turn, allowed the researchers to forge attestation reports and implant persistent backdoors on AMD SEV-protected virtual machines. Cloud infrastructures that rely on Intel’s Scalable SGX technology are also potentially vulnerable.

The researchers reported their findings to both AMD and Intel prior to unveiling their research. Both chip giants said the attack was out of scope because it involved hardware manipulation.

De Meulemeester told CSO that software and firmware modules are currently unable to detect this attack. As a result, if attackers were able to introduce a compromised memory module into the supply chain they would then be able to carry out follow-up malware-based attacks on vulnerable virtual infrastructure.

The research undercuts fundamental assumptions about encrypted memory security guarantees while raising questions about the performance and security trade-offs built into the architecture of confidential cloud computing systems.

Comprehensively resolving the problem would involve reintroducing cryptographic freshness protections integrity into the next generation of server chips, says De Meulemeester, a PhD candidate in electrical engineering who specializes in securing high-performance computing systems against emerging threats.

John Leyden
Senior Writer

John Leyden reports on cybersecurity for CSO Online. He has written about computer networking and cyber-security for more than 20 years.

Prior to joining CSO, John wrote and edited articles for PortSwigger's The Daily Swig covering topics including web security, vulnerabilities and hacking culture. He also co-hosted the SwigCast podcast. For more than 17 years, John covered a wide variety of topics including network security and enterprise technology for The Register. His work at The Register earned him a number of awards, including the BT Enigma award for contributions to technology journalism.

Before the advent of the interwebs John worked as a crime reporter at a local newspaper in Manchester, UK. John holds a degree in electronic engineering from City University, London.

More from this author