USENIX Security2024Top-tier venue
ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms
Patrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi, Matej Bölcskei, Kaveh Razavi
Abstract
AMD has gained a significant market share in recent years with the introduction of the Zen microarchitecture. While there are many recent Rowhammer attacks launched from Intel CPUs, they are completely absent on these newer AMD CPUs due to three non-trivial challenges: 1) reverse engineering the unknown DRAM addressing functions, 2) synchronizing with refresh commands for evading in-DRAM mitigations, and 3) achieving a sufficient row activation throughput. We address these challenges in the design of ZENHAMMER, the first Rowhammer attack on recent AMD CPUs. ZENHAM-MER reverse engineers DRAM addressing functions despite their non-linear nature, uses specially crafted access patterns for proper synchronization, and carefully schedules flush and fence instructions within a pattern to increase the activation throughput while preserving the access order necessary to bypass in-DRAM mitigations. Our evaluation with ten DDR4 devices shows that ZENHAMMER finds bit flips on seven and six devices on AMD Zen 2 and Zen 3, respectively, enabling Rowhammer exploitation on current AMD platforms. Furthermore, ZENHAMMER triggers Rowhammer bit flips on a DDR5 device for the first time.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
27 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DAPPER: A Performance-Attack-Resilient Tracker for RowHammer Defense cites QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites DAPPER: A Performance-Attack-Resilient Tracker for RowHammer Defense
- DAPPER: A Performance-Attack-Resilient Tracker for RowHammer Defense cites Another Flip in the Wall of Rowhammer Defenses
- Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory Aliasing cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus Interposition cites Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory Aliasing
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Another Flip in the Wall of Rowhammer Defenses
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites Flip Feng Shui: Hammering a Needle in the Software Stack
- AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites Another Flip in the Wall of Rowhammer Defenses
- AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Another Flip in the Wall of Rowhammer Defenses cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Another Flip in the Wall of Rowhammer Defenses cites Flip Feng Shui: Hammering a Needle in the Software Stack
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Flip Feng Shui: Hammering a Needle in the Software Stack
Cited by top-tier papers27
- TEE.Fail: Breaking Trusted Execution Environments via DDR5 Memory Bus InterpositionJalen Chuang, Alexander Seto, Nicolás Berrios, Stephan van Schaik et al.S&P 2026 · 29 citations
- Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory AliasingJesse De Meulemeester, David F. Oswald, Ingrid Verbauwhede, Jo Van BulckS&P 2026 · 20 citations
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority QueuesJeonghyun Woo, Shaopeng Chris Lin, Prashant J. Nair, Aamer Jaleel et al.HPCA 2025 · 20 citations
- AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer ThresholdsMoinuddin QureshiHPCA 2025 · 15 citations
- DAPPER: A Performance-Attack-Resilient Tracker for RowHammer DefenseJeonghyun Woo, Prashant J. NairHPCA 2025 · 10 citations
Builds on19
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel et al.USENIX Security 2016 · 306 citations
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
Related papers
- Phoenix: Rowhammer Attacks on DDR5 with Self-Correcting SynchronizationDiego Meyer, Patrick Jattke, Michele Marazzi, Salman Qazi et al.S&P 2026 · 25 citations
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
- GPUHammer: Rowhammer Attacks on GPU Memories are PracticalChris S. Lin, Joyce Qu, Gururaj SaileshwarUSENIX Security 2025
- ρHammer: Reviving RowHammer Attacks on New Architectures via PrefetchingWeijie Chen, Shan Tang, Yulin Tang, Xiapu Luo et al.MICRO 2025 · 1 citation
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi et al.HPCA 2021 · 124 citations
