ECC.fail: Mounting Rowhammer Attacks on DDR4 Servers with ECC Memory
Nureddin Kamadan, Walter Wang, Stephan van Schaik, Christina Garman, Daniel Genkin, Yuval Yarom
摘要
Rowhammer is a hardware vulnerability present in nearly all computer memory, allowing attackers to modify bits in memory without directly accessing them. While Rowhammer has been extensively studied on client and even mobile platforms, no successful Rowhammer attack has been demonstrated on server platforms using DDR4 ECC memory. Tackling this challenge, in this paper we demonstrate the first end-to-end Rowhammer technique effective against Intel servers using Hynix DDR4 ECC memory. To that aim, we first characterize the Hynix implementation of Target Row Refresh (TRR) on server parts, demonstrating effective hammering patterns on both FPGA and Intel-based testing platforms with ECC disabled. We then reverse engineer Intel's ECC implementation on Skylake and Cascade Lake servers. We find that it has a coding distance of four, which often allows triggering incorrect ECC correction with just two bit flips. Combining the two observations, we present an end-to-end Rowhammer attack which can flip bits on Intel servers, without causing crashes. Finally, we demonstrate the effectiveness of our attack by hammering RSA public keys loaded into memory, causing the server to accept messages not signed by the original key.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses
- PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 Another Flip in the Wall of Rowhammer Defenses
- PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses 引用了 Another Flip in the Wall of Rowhammer Defenses
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Another Flip in the Wall of Rowhammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Another Flip in the Wall of Rowhammer Defenses 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer 引用了 Another Flip in the Wall of Rowhammer Defenses
- GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- GeForge: Hammering GDDR Memory to Forge GPU Page Tables for Fun and Profit 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- GeForge: Hammering GDDR Memory to Forge GPU Page Tables for Fun and Profit 引用了 Another Flip in the Wall of Rowhammer Defenses
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Another Flip in the Wall of Rowhammer Defenses
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
引用它的顶会 Paper8
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel 等MICRO 2025 · 8 次引用
- GPUBreach: Privilege Escalation Attacks on GPUs Using RowhammerChris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu 等S&P 2026 · 8 次引用
- PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row CountingJumin Kim, Seungmin Baek, Hwayong Nam, Minbok Wi 等ISCA 2026 · 5 次引用
- GeForge: Hammering GDDR Memory to Forge GPU Page Tables for Fun and ProfitJunpeng Wan, Yanan Guo, Zhi Zhang, Zhuo Li 等S&P 2026 · 4 次引用
- PRowhammer: Propagating Bit-Flips from CPU to GPUMrityunjay Shukla, Shubham Roy, Sayandeep Saha, Biswabandan PandaISCA 2026 · 1 次引用
它引用的 Paper34
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel 等USENIX Security 2016 · 306 次引用
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
相关 Paper
- Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud ProvidersLucian Cojocar, Jeremie S. Kim, Minesh Patel, Lillian Tsai 等S&P 2020 · 115 次引用
- Half-Double: Hammering From the Next Row OverAndreas Kogler, Jonas Juffinger, Salman Qazi, Yoongu Kim 等USENIX Security 2022
- SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik 等USENIX Security 2024 · 28 次引用
- Quantifying Rowhammer Vulnerability for DRAM SecurityYichen Jiang, Huifeng Zhu, Dean Sullivan, Xiaolong Guo 等DAC 2021 · 20 次引用
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter 等S&P 2022 · 140 次引用
