Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
Hasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen, Kaveh Razavi, Onur Mutlu
Abstract
The RowHammer vulnerability in DRAM is a critical threat to system security. To protect against RowHammer, vendors commit to security-through-obscurity: modern DRAM chips rely on undocumented, proprietary, on-die mitigations, commonly known as Target Row Refresh (TRR). At a high level, TRR detects and refreshes potential RowHammer-victim rows, but its exact implementations are not openly disclosed. Security guarantees of TRR mechanisms cannot be easily studied due to their proprietary nature.
To assess the security guarantees of recent DRAM chips, we present Uncovering TRR (U-TRR), an experimental methodology to analyze in-DRAM TRR implementations. U-TRR is based on the new observation that data retention failures in DRAM enable a side channel that leaks information on how TRR refreshes potential victim rows. U-TRR allows us to (i) understand how logical DRAM rows are laid out physically in silicon; (ii) study undocumented on-die TRR mechanisms; and (iii) combine (i) and (ii) to evaluate the RowHammer security guarantees of modern DRAM chips. We show how U-TRR allows us to craft RowHammer access patterns that successfully circumvent the TRR mechanisms employed in 45 DRAM modules of the three major DRAM vendors. We find that the DRAM modules we analyze are vulnerable to RowHammer, having bit flips in up to 99.9% of all DRAM rows. We make U-TRR source code openly and freely available at [106].
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.
52 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
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites Another Flip in the Wall of Rowhammer Defenses
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites Another Flip in the Wall of Rowhammer Defenses
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites Another Flip in the Wall of Rowhammer Defenses
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites ProTRR: Principled yet Optimal In-DRAM Target Row Refresh
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Another Flip in the Wall of Rowhammer Defenses
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- 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
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- 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
Cited by top-tier papers52
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
- ProTRR: Principled yet Optimal In-DRAM Target Row RefreshMichele Marazzi, Patrick Jattke, Flavien Solt, Kaveh RazaviS&P 2022 · 101 citations
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and DefensesLois Orosa, Abdullah Giray Yaglikçi, Haocong Luo, Ataberk Olgun et al.MICRO 2021 · 74 citations
- RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul et al.ISCA 2023 · 71 citations
- ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi et al.USENIX Security 2024 · 63 citations
Builds on26
- 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
- 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
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 citations
Related papers
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan et al.ISCA 2020 · 161 citations
- 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
- Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel et al.NDSS 2026 · 5 citations
- Quantifying Rowhammer Vulnerability for DRAM SecurityYichen Jiang, Huifeng Zhu, Dean Sullivan, Xiaolong Guo et al.DAC 2021 · 20 citations
- DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory CommandsHwayong Nam, Seungmin Baek, Minbok Wi, Michael Jaemin Kim et al.ISCA 2024 · 19 citations
