Lune

USENIX Security2025Top-tier venue

McSee: Evaluating Advanced Rowhammer Attacks and Defenses via Automated DRAM Traffic Analysis

Patrick Jattke, Michele Marazzi, Flavien Solt, Max Wipfli, Stefan Gloor, Kaveh Razavi

Abstract

Rowhammer attacks and defenses are constantly evolving. Recent attacks rely on hammering multiple banks or keeping rows activated for long durations. On the defense side, the DDR5 standard requires memory controllers to send Refresh Management (RFM) commands when a specific DRAM bank receives too many activations. Are advanced Rowhammer attacks adequately exploiting their target features and do memory controllers send RFM commands adequately? This paper answers these questions by building an automated software platform, called McSee, on top of a highfrequency oscilloscope to study the behavior of DDR4 and DDR5 memory controllers under Rowhammer attacks. Leveraging a series of hardware and software optimizations, McSee is capable of reliably capturing and efficiently decoding singlecycle DDR4 and multi-cycle DDR5 traffic on the DRAM bus. We make a number of key discoveries using McSee. First, we show that hammering too many banks in parallel can actually be detrimental to the performance of Rowhammer attacks. Second, rows remain active far shorter than assumed when considering the recent Rowpress attack. Third, we show that neither Intel nor AMD CPUs send RFM commands even if a DDR5 device requires RFM to properly mitigate Rowhammer. Fourth, we uncover that instead of RFM, the memory controllers of Intel platforms rely on additional mitigative activations, which we characterize for the first time. We conclude by discussing the implications of our findings on the landscape of Rowhammer attacks and defenses. Columns Rows Subchannel A Subchannel B DIMM Bank Group 0 Chip Chip Chip Chip Chip Chip Chip Bank 1 Bank 1 Bank 0 Bank 0 † Subchannel A pins, e.g., CA0 is CA0_A in the UDIMM std. [51].

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.

1 top-tier paper has 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

  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites Flip Feng Shui: Hammering a Needle in the Software Stack
  • 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
  • Another Flip in the Wall of Rowhammer Defenses cites Flip Feng Shui: Hammering a Needle in the Software Stack
  • 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
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Flip Feng Shui: Hammering a Needle in the Software Stack
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Download More RAM: Dismantling Windows Operating System Defences with Mischievous MemorySam Collins, Tom Chothia, William Burgess, Marius Muench et al.USENIX Security 2026

Builds on30

  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. Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel et al.USENIX Security 2016 · 306 citations
  4. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  5. 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

Related papers

  1. 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
  2. ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi et al.USENIX Security 2024 · 63 citations
  3. Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel et al.NDSS 2026 · 5 citations
  4. Phoenix: Rowhammer Attacks on DDR5 with Self-Correcting SynchronizationDiego Meyer, Patrick Jattke, Michele Marazzi, Salman Qazi et al.S&P 2026 · 25 citations
  5. DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh ManagementHritvik Taneja, Moinuddin K. QureshiISCA 2025 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines