BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
Abdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi, Ataberk Olgun, Lois Orosa, Hasan Hassan, Jisung Park, Konstantinos Kanellopoulos, Taha Shahroodi, Saugata Ghose, Onur Mutlu
摘要
Aggressive memory density scaling causes modern DRAM devices to suffer from RowHammer, a phenomenon where rapidly activating (i.e., hammering) a DRAM row can cause bit-flips in physically-nearby rows. Recent studies demonstrate that modern DDR4/LPDDR4 DRAM chips, including chips previously marketed as RowHammer-safe, are even more vulnerable to RowHammer than older DDR3 DRAM chips. Many works show that attackers can exploit RowHammer bit-flips to reliably mount system-level attacks to escalate privilege and leak private data. Therefore, it is critical to ensure RowHammersafe operation on all DRAM-based systems as they become increasingly more vulnerable to RowHammer. Unfortunately, state-of-the-art RowHammer mitigation mechanisms face two major challenges. First, they incur increasingly higher performance and/or area overheads when applied to more vulnerable DRAM chips. Second, they require either closely-guarded proprietary information about the DRAM chips' physical circuit layouts or modifications to the DRAM chip design.
In this paper, we show that it is possible to efficiently and scalably prevent RowHammer bit-flips without knowledge of or modification to DRAM internals. To this end, we introduce BlockHammer, a low-cost, effective, and easy-to-adopt Row-Hammer mitigation mechanism that prevents all RowHammer bit-flips while overcoming the two key challenges. BlockHammer selectively throttles memory accesses that could otherwise potentially cause RowHammer bit-flips. The key idea of Block-Hammer is to ( 1) track row activation rates using area-efficient Bloom filters, and (2) use the tracking data to ensure that no row is ever activated rapidly enough to induce RowHammer bit-flips. By guaranteeing that no DRAM row ever experiences a RowHammer-unsafe activation rate, BlockHammer (1) makes it impossible for a RowHammer bit-flip to occur and (2) greatly reduces a RowHammer attack's impact on the performance of co-running benign applications. Our evaluations across a comprehensive range of 280 workloads show that, compared to the best of six state-of-the-art RowHammer mitigation mechanisms (all of which require knowledge of or modification to DRAM internals), BlockHammer provides (1) competitive performance and energy when the system is not under a RowHammer attack and (2) significantly better performance and energy when the system is under a RowHammer attack. BlockHammer's source code is openly and freely available [124].
问 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 引用了 Another Flip in the Wall of Rowhammer Defenses
- ProTRR: Principled yet Optimal In-DRAM Target Row Refresh 引用了 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 引用了 Another Flip in the Wall of Rowhammer Defenses
- BLACKSMITH: Scalable Rowhammering in the Frequency Domain 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows 引用了 Another Flip in the Wall of Rowhammer Defenses
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows 引用了 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
- 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 引用了 Another Flip in the Wall of Rowhammer Defenses
- Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Another Flip in the Wall of Rowhammer Defenses 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Another Flip in the Wall of Rowhammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- SIMDRAM: a framework for bit-serial SIMD processing using DRAM 引用了 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 引用了 Another Flip in the Wall of Rowhammer Defenses
引用它的顶会 Paper60
- SIMDRAM: a framework for bit-serial SIMD processing using DRAMNastaran Hajinazar, Geraldo F. Oliveira, Sven Gregorio, João Dinis Ferreira 等ASPLOS 2021 · 182 次引用
- 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 次引用
- 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 次引用
- 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 次引用
它引用的 Paper18
- 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 次引用
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
- 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
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan 等ISCA 2020 · 161 次引用
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel 等MICRO 2024 · 19 次引用
- Understanding RowHammer Under Reduced Refresh Latency: Experimental Analysis of Real DRAM Chips and Implications on Future SolutionsYahya Can Tugrul, A. Giray Yaglikçi, Ismail Emir Yüksel, Ataberk Olgun 等HPCA 2025 · 10 次引用
- A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and DefensesLois Orosa, Abdullah Giray Yaglikçi, Haocong Luo, Ataberk Olgun 等MICRO 2021 · 74 次引用
- Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel 等NDSS 2026 · 5 次引用
