SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
Finn de Ridder, Pietro Frigo, Emanuele Vannacci, Herbert Bos, Cristiano Giuffrida, Kaveh Razavi
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 60 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 BLACKSMITH: Scalable Rowhammering in the Frequency Domain
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 ProTRR: Principled yet Optimal In-DRAM Target Row Refresh
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 BLACKSMITH: Scalable Rowhammering in the Frequency Domain
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
引用它的顶会 Paper60
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter 等S&P 2022 · 140 次引用
- ProTRR: Principled yet Optimal In-DRAM Target Row RefreshMichele Marazzi, Patrick Jattke, Flavien Solt, Kaveh RazaviS&P 2022 · 101 次引用
- SpecHammer: Combining Spectre and Rowhammer for New Speculative AttacksYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin 等S&P 2022 · 81 次引用
- 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 等MICRO 2021 · 79 次引用
- RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul 等ISCA 2023 · 71 次引用
它引用的 Paper16
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel 等USENIX Security 2016 · 306 次引用
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 次引用
相关 Paper
- SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik 等USENIX Security 2024 · 28 次引用
- Posthammer: Pervasive Browser-based Rowhammer Attacks with Postponed Refresh CommandsFinn de Ridder, Patrick Jattke, Kaveh RazaviUSENIX Security 2025
- Half-Double: Hammering From the Next Row OverAndreas Kogler, Jonas Juffinger, Salman Qazi, Yoongu Kim 等USENIX Security 2022
- ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi 等USENIX Security 2024 · 63 次引用
- Phoenix: Rowhammer Attacks on DDR5 with Self-Correcting SynchronizationDiego Meyer, Patrick Jattke, Michele Marazzi, Salman Qazi 等S&P 2026 · 25 次引用
