TRRespass: Exploiting the Many Sides of Target Row Refresh
Pietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen, Onur Mutlu, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi
摘要
After a plethora of high-profile RowHammer attacks, CPU and DRAM vendors scrambled to deliver what was meant to be the definitive hardware solution against the RowHammer problem: Target Row Refresh (TRR). A common belief among practitioners is that, for the latest generation of DDR4 systems that are protected by TRR, RowHammer is no longer an issue in practice. However, in reality, very little is known about TRR. How does TRR exactly prevent RowHammer? Which parts of a system are responsible for operating the TRR mechanism? Does TRR completely solve the RowHammer problem or does it have weaknesses? In this paper, we demystify the inner workings of TRR and debunk its security guarantees. We show that what is advertised as a single mitigation mechanism is actually a series of different solutions coalesced under the umbrella term Target Row Refresh. We inspect and disclose, via a deep analysis, different existing TRR solutions and demonstrate that modern implementations operate entirely inside DRAM chips. Despite the difficulties of analyzing in-DRAM mitigations, we describe novel techniques for gaining insights into the operation of these mitigation mechanisms. These insights allow us to build TRRespass, a scalable black-box RowHammer fuzzer that we evaluate on 42 recent DDR4 modules. TRRespass shows that even the latest generation DDR4 chips with in-DRAM TRR, immune to all known RowHammer attacks, are often still vulnerable to new TRR-aware variants of RowHammer that we develop. In particular, TRRespass finds that, on present-day DDR4 modules, RowHammer is still possible when many aggressor rows are used (as many as 19 in some cases), with a method we generally refer to as Many-sided RowHammer. Overall, our analysis shows that 13 out of the 42 modules from all three major DRAM vendors (i.e., Samsung, Micron, and Hynix) are vulnerable to our TRR-aware RowHammer access patterns, and thus one can still mount existing state-of-the-art system-level RowHammer attacks. In addition to DDR4, we also experiment with LPDDR4(X)1 chips and show that they are susceptible to RowHammer bit flips too. Our results provide concrete evidence that the pursuit of better RowHammer mitigations must continue.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 92 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript 引用了 Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Another Flip in the Wall of Rowhammer Defenses
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- RIDL: Rogue In-Flight Data Load 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RIDL: Rogue In-Flight Data Load 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques 引用了 Another Flip in the Wall of Rowhammer Defenses
- VoltPillager: Hardware-based fault injection attacks against Intel SGX Enclaves using the SVID voltage scaling interface 引用了 Another Flip in the Wall of Rowhammer Defenses
- VoltPillager: Hardware-based fault injection attacks against Intel SGX Enclaves using the SVID voltage scaling interface 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- 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
- 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
- SIMDRAM: a framework for bit-serial SIMD processing using DRAM 引用了 Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
引用它的顶会 Paper92
- SIMDRAM: a framework for bit-serial SIMD processing using DRAMNastaran Hajinazar, Geraldo F. Oliveira, Sven Gregorio, João Dinis Ferreira 等ASPLOS 2021 · 182 次引用
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan 等ISCA 2020 · 161 次引用
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter 等S&P 2022 · 140 次引用
- VoltPillager: Hardware-based fault injection attacks against Intel SGX Enclaves using the SVID voltage scaling interfaceZitai Chen, Georgios Vasilakis, Kit Murdock, Edward Dean 等USENIX Security 2021 · 127 次引用
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScriptFinn de Ridder, Pietro Frigo, Emanuele Vannacci, Herbert Bos 等USENIX Security 2021 · 124 次引用
它引用的 Paper14
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
- 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 次引用
相关 Paper
- Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and ImplicationsHasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen 等MICRO 2021 · 79 次引用
- Phoenix: Rowhammer Attacks on DDR5 with Self-Correcting SynchronizationDiego Meyer, Patrick Jattke, Michele Marazzi, Salman Qazi 等S&P 2026 · 25 次引用
- Quantifying Rowhammer Vulnerability for DRAM SecurityYichen Jiang, Huifeng Zhu, Dean Sullivan, Xiaolong Guo 等DAC 2021 · 20 次引用
- ProTRR: Principled yet Optimal In-DRAM Target Row RefreshMichele Marazzi, Patrick Jattke, Flavien Solt, Kaveh RazaviS&P 2022 · 101 次引用
- Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel 等NDSS 2026 · 5 次引用
