Lune

S&P2022Top-tier venue

ProTRR: Principled yet Optimal In-DRAM Target Row Refresh

Michele Marazzi, Patrick Jattke, Flavien Solt, Kaveh Razavi

Abstract

The DRAM substrate is becoming increasingly more vulnerable to Rowhammer as we move to smaller technology nodes. We introduce ProTRR, the first principled in-DRAM Target Row Refresh mitigation with formal security guarantees and low bounds on overhead. Unlike existing proposals that require changes to the memory controllers, the in-DRAM nature of ProTRR enables its seamless integration. However, this means that ProTRR must respect the synchronous nature of the DRAM protocol, which limits the number of DRAM rows that can be protected at any given time. To overcome this challenge, ProTRR proactively refreshes each row that is most likely to observe bit flips in the future. While this strategy catches the rows that are hammered the most, some others may still fly under the radar. We use this observation to construct Feinting, a new Rowhammer attack that we formally prove to be optimal in this setting. We then conFigure ProTRR to be secure against Feinting. To achieve this, ProTRR should keep track of accesses to each row, which is prohibitively expensive to implement in hardware. Instead, ProTRR uses a new frequent item counting scheme that leverages Feinting to provide a provably optimal yet flexible trade-off between the tolerated DRAM vulnerability, the number of counters, and the number of additional refreshes. Our extensive evaluation using an ASIC implementation of ProTRR and cycle-accurate simulation shows that ProTRR can provide principled protection for current and future DRAM technologies with a negligible performance, power, and area impact. ProTRR is fully compatible with DDR4 and the new Refresh Management (RFM) extension in DDR5.

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.

53 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • 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
  • 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 When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer
  • 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 HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
  • 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 Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer cites Another Flip in the Wall of Rowhammer Defenses
  • When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Another Flip in the Wall of Rowhammer Defenses
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf 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
  • Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Another Flip in the Wall of Rowhammer Defenses
  • Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites MOESI-prime: preventing coherence-induced hammering in commodity workloads
  • Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • MOESI-prime: preventing coherence-induced hammering in commodity workloads cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Another Flip in the Wall of Rowhammer Defenses
  • MOESI-prime: preventing coherence-induced hammering in commodity workloads cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers53

  1. RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul et al.ISCA 2023 · 71 citations
  2. Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory SystemsJeonghyun Woo, Gururaj Saileshwar, Prashant J. NairHPCA 2023 · 45 citations
  3. HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM ChipsAbdullah Giray Yaglikçi, Ataberk Olgun, Minesh Patel, Haocong Luo et al.MICRO 2022 · 43 citations
  4. When Frodo Flips: End-to-End Key Recovery on FrodoKEM via RowhammerMichael Fahr, Hunter Kippen, Andrew Kwong, Thinh Dang et al.CCS 2022 · 34 citations
  5. MOESI-prime: preventing coherence-induced hammering in commodity workloadsKevin Loughlin, Stefan Saroiu, Alec Wolman, Yatin A. Manerkar et al.ISCA 2022 · 34 citations

Builds on18

  1. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
  2. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
  3. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  4. 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
  5. 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

  1. PrIDE: Achieving Secure Rowhammer Mitigation with Low-Cost In-DRAM TrackersAamer Jaleel, Gururaj Saileshwar, Stephen W. Keckler, Moinuddin K. QureshiISCA 2024 · 22 citations
  2. REGA: Scalable Rowhammer Mitigation with Refresh-Generating ActivationsMichele Marazzi, Flavien Solt, Patrick Jattke, Kubo Takashi et al.S&P 2023
  3. Mithril: Cooperative Row Hammer Protection on Commodity DRAM Leveraging Managed RefreshMichael Jaemin Kim, Jaehyun Park, Yeonhong Park, Wanju Doh et al.HPCA 2022 · 55 citations
  4. BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
  5. Phoenix: Rowhammer Attacks on DDR5 with Self-Correcting SynchronizationDiego Meyer, Patrick Jattke, Michele Marazzi, Salman Qazi et al.S&P 2026 · 25 citations
Dusk over the sea between two cliffs drawn in fine vertical lines