Lune

ISCA2025Top-tier venue

MoPAC: Efficiently Mitigating Rowhammer with Probabilistic Activation Counting

Suhas Vittal, Salman Qazi, Poulami Das, Moinuddin Qureshi

Abstract

Rowhammer has worsened over the last decade. Existing in-DRAM solutions, such as TRR, were broken with simple patterns. In response, the recent DDR5 JEDEC standards modify the DRAM array to enable Per-Row Activation Counters (PRAC) for tracking aggressor rows. They also extend the DRAM timings to support the operations required to update the PRAC counters. Unfortunately, the increased memory timings cause significant performance overheads (on average 10%) even for benign applications and even at current Rowhammer thresholds. The goal of this paper is to minimize the slowdown of PRAC while retaining the security benefits of PRAC.

This paper proposes Mitigating Rowhammer with Probabilistic Activation Counts (MoPAC), which reduces the slowdown of updating the PRAC counters by performing the updates probabilistically, thereby incurring the latency overhead of counter updates for only a small subset of activations. To ensure security in the presence of probabilistic counters, MOPAC adjusts the threshold at which the row undergoes mitigation. We propose two variants of MoPAC: MoPAC-C (Memory-Controller Side) and MoPAC-D (DRAM Side).

MoPAC-C relies on having two types of precharge commands: one that incurs normal latency and does not do counter updates, and the other that incurs higher latency and performs counter updates. MoPAC-C probabilistically chooses when the longer precharge must be used to perform update of the PRAC counter. MoPAC-D is a completely in-DRAM solution that probabilistically selects which activations will be selected for performing counter updates and obtains the time required for counter-updates using ALERT or REF. Our evaluations show that, for a Rowhammer threshold of 500 (10× lower than current thresholds), MoPAC-C and MoPAC-D incur an average slowdown of only 1.7% and 0.7%, much less than the 10% incurred by PRAC. MoPAC removes one of the major obstacles to the commercial adoption of PRAC.

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.

9 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

  • SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Another Flip in the Wall of Rowhammer Defenses
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites Another Flip in the Wall of Rowhammer Defenses
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Another Flip in the Wall of Rowhammer Defenses
  • Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Another Flip in the Wall of Rowhammer Defenses
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Another Flip in the Wall of Rowhammer Defenses
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites Another Flip in the Wall of Rowhammer Defenses
  • GPUBreach: Privilege Escalation Attacks on GPUs Using Rowhammer cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • 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 Another Flip in the Wall of Rowhammer Defenses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read DisturbanceOguzhan Canpolat, A. Giray Yaglikçi, Geraldo F. Oliveira, Ataberk Olgun et al.HPCA 2025 · 23 citations
  2. ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future SystemsIsmail Emir Yuksel, Ataberk Olgun, Nisa Bostanci, Haocong Luo et al.MICRO 2025 · 15 citations
  3. Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel et al.MICRO 2025 · 8 citations
  4. GPUBreach: Privilege Escalation Attacks on GPUs Using RowhammerChris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu et al.S&P 2026 · 8 citations
  5. PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row CountingJumin Kim, Seungmin Baek, Hwayong Nam, Minbok Wi et al.ISCA 2026 · 5 citations

Builds on27

  1. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  2. 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
  3. RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
  4. 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
  5. SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScriptFinn de Ridder, Pietro Frigo, Emanuele Vannacci, Herbert Bos et al.USENIX Security 2021 · 124 citations

Related papers

  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. Loaded Dice: Solving the Non-Selection Problem for Scalable Probabilistic RowHammer DefenseJeonghyun Woo, Junsu Kim, Aamer Jaleel, Prashant J. NairISCA 2026 · 1 citation
  4. REGA: Scalable Rowhammer Mitigation with Refresh-Generating ActivationsMichele Marazzi, Flavien Solt, Patrick Jattke, Kubo Takashi et al.S&P 2023
  5. When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer MitigationsJeonghyun Woo, Joyce Qu, Gururaj Saileshwar, Prashant Jayaprakash NairISCA 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines