Lune

ASPLOS2024Top-tier venue

Rubix: Reducing the Overhead of Secure Rowhammer Mitigations via Randomized Line-to-Row Mapping

Anish Saxena, Saurav Mathur, Moinuddin K. Qureshi

Abstract

Modern systems mitigate Rowhammer using victim refresh, which refreshes neighbours of an aggressor row when it encounters a specified number of activations. Unfortunately, complex attack patterns like Half-Double break victim-refresh, rendering current systems vulnerable. Instead, recently proposed secure Rowhammer mitigations perform mitigative action on the aggressor rather than the victims. Such schemes employ mitigative actions such as row-migration or accesscontrol and include AQUA, SRS, and Blockhammer. While these schemes incur only modest slowdowns at Rowhammer thresholds of few thousand, they incur prohibitive slowdowns (15%-600%) for lower thresholds that are likely in the near future. The goal of our paper is to make secure Rowhammer mitigations practical at such low thresholds.

Our paper provides the key insights that benign application encounter thousands of hot rows (receiving more activations than the threshold) due to the memory mapping, which places spatially proximate lines in the same row to maximize row-buffer hitrate. Unfortunately, this causes row to receive activations for many frequently used lines. We propose Rubix, which breaks the spatial correlation in the line-to-row mapping by using an encrypted address to access the memory, reducing the likelihood of hot rows by 2 to 3 orders of magnitude. To aid row-buffer hits, Rubix randomizes a group of 1-4 lines. We also propose Rubix-D, which dynamically changes the line-to-row mapping. Rubix-D minimizes hot-rows and makes it much harder for an adversary to learn the spatial neighbourhood of a row. Rubix reduces the slowdown of AQUA (from 15% to 1%), SRS (from 60% to 2%), and Blockhammer (from 600% to 3%) while incurring a storage of less than 1 Kilobyte.

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.

12 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

  • Self-Managing DRAM: A Low-Cost Framework for Enabling Autonomous and Efficient DRAM Maintenance Operations cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • Self-Managing DRAM: A Low-Cost Framework for Enabling Autonomous and Efficient DRAM Maintenance Operations cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Self-Managing DRAM: A Low-Cost Framework for Enabling Autonomous and Efficient DRAM Maintenance Operations
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Another Flip in the Wall of Rowhammer Defenses
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • 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
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters
  • Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Another Flip in the Wall of Rowhammer Defenses
  • AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites Self-Managing DRAM: A Low-Cost Framework for Enabling Autonomous and Efficient DRAM Maintenance Operations
  • AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • 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
  • AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds cites MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters
  • 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 RAMBleed: Reading Bits in Memory Without Accessing Them
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer 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
  • MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters cites Another Flip in the Wall of Rowhammer Defenses
  • MOAT: Securely Mitigating Rowhammer with Per-Row Activation Counters cites TRRespass: Exploiting the Many Sides of Target Row Refresh
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. 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
  2. MOAT: Securely Mitigating Rowhammer with Per-Row Activation CountersMoinuddin Qureshi, Salman QaziASPLOS 2025 · 19 citations
  3. Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read DisturbanceAtaberk Olgun, F. Nisa Bostanci, Ismail Emir Yüksel, Oguzhan Canpolat et al.HPCA 2025 · 15 citations
  4. AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer ThresholdsMoinuddin QureshiHPCA 2025 · 15 citations
  5. Self-Managing DRAM: A Low-Cost Framework for Enabling Autonomous and Efficient DRAM Maintenance OperationsHasan Hassan, Ataberk Olgun, A. Giray Yaglikçi, Haocong Luo et al.MICRO 2024 · 11 citations

Builds on20

  1. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
  2. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  3. 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
  4. RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
  5. Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations

Related papers

  1. AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at RuntimeAnish Saxena, Gururaj Saileshwar, Prashant J. Nair, Moinuddin K. QureshiMICRO 2022 · 57 citations
  2. Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rowsGururaj Saileshwar, Bolin Wang, Moinuddin K. Qureshi, Prashant J. NairASPLOS 2022 · 78 citations
  3. DAPPER: A Performance-Attack-Resilient Tracker for RowHammer DefenseJeonghyun Woo, Prashant J. NairHPCA 2025 · 10 citations
  4. 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
  5. ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines