Lune

USENIX Security2021Top-tier venue

SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript

Finn de Ridder, Pietro Frigo, Emanuele Vannacci, Herbert Bos, Cristiano Giuffrida, Kaveh Razavi

Abstract

Despite their in-DRAM Target Row Refresh (TRR) mitigations, some of the most recent DDR4 modules are still vulnerable to many-sided Rowhammer bit flips. While these bit flips are exploitable from native code, triggering them in the browser from JavaScript faces three nontrivial challenges. First, given the lack of cache flushing instructions in JavaScript, existing eviction-based Rowhammer attacks are already slow for the older single-or double-sided variants and thus not always effective. With many-sided Rowhammer, mounting effective attacks is even more challenging, as it requires the eviction of many different aggressor addresses from the CPU caches. Second, the most effective many-sided variants, known as n-sided, require large physically-contiguous memory regions which are not available in JavaScript. Finally, as we show for the first time, eviction-based Rowhammer attacks require proper synchronization to bypass in-DRAM TRR mitigations. Using a number of novel insights, we overcome these challenges to build SMASH (Synchronized MAny-Sided Hammering), a technique to succesfully trigger Rowhammer bit flips from JavaScript on modern DDR4 systems. To mount effective attacks, SMASH exploits high-level knowledge of cache replacement policies to generate optimal access patterns for eviction-based many-sided Rowhammer. To lift the requirement for large physically-contiguous memory regions, SMASH decomposes n-sided Rowhammer into multiple double-sided pairs, which we can identify using slice coloring. Finally, to bypass the in-DRAM TRR mitigations, SMASH carefully schedules cache hits and misses to successfully trigger synchronized many-sided Rowhammer bit flips. We showcase SMASH with an end-to-end JavaScript exploit which can fully compromise the Firefox browser in 15 minutes on average.

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.

60 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
  • 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 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • ProTRR: Principled yet Optimal In-DRAM Target Row Refresh cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites Flip Feng Shui: Hammering a Needle in the Software Stack
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • 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 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites Flip Feng Shui: Hammering a Needle in the Software Stack
  • 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 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 SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks
  • 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 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • 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
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites Flip Feng Shui: Hammering a Needle in the Software Stack
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 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 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 papers60

  1. BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
  2. ProTRR: Principled yet Optimal In-DRAM Target Row RefreshMichele Marazzi, Patrick Jattke, Flavien Solt, Kaveh RazaviS&P 2022 · 101 citations
  3. SpecHammer: Combining Spectre and Rowhammer for New Speculative AttacksYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin et al.S&P 2022 · 81 citations
  4. Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and ImplicationsHasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen et al.MICRO 2021 · 79 citations
  5. RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul et al.ISCA 2023 · 71 citations

Builds on16

  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. 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. SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik et al.USENIX Security 2024 · 28 citations
  2. Posthammer: Pervasive Browser-based Rowhammer Attacks with Postponed Refresh CommandsFinn de Ridder, Patrick Jattke, Kaveh RazaviUSENIX Security 2025
  3. Half-Double: Hammering From the Next Row OverAndreas Kogler, Jonas Juffinger, Salman Qazi, Yoongu Kim et al.USENIX Security 2022
  4. ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi et al.USENIX Security 2024 · 63 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