Lune

S&P2023Top-tier venue

CSI:Rowhammer - Cryptographic Security and Integrity against Rowhammer

Jonas Juffinger, Lukas Lamster, Andreas Kogler, Maria Eichlseder, Moritz Lipp, Daniel Gruss

Abstract

In this paper, we present CSI:Rowhammer, a principled hardware-software co-design Rowhammer mitigation with cryptographic security and integrity guarantees, that does not focus on any specific properties of Rowhammer. We design a new memory error detection mechanism based on a low-latency cryptographic MAC and an exception mechanism initiating a software-level correction routine. The exception handler uses a novel instruction-set extension for the error correction and resumes execution afterward. In contrast to regular ECC-DRAM that remains exploitable if more than 2 bits are flipped, CSI:Rowhammer maintains the security level of the cryptographic MAC. We evaluate CSI:Rowhammer in a gem5 proof-of-concept implementation. Under normal conditions, we see latency overheads below 0.75% and no memory overhead compared to off-the-shelf ECC-DRAM. While the average latency to correct a single bitflip is below 20 ns (compared to a range from a few nanoseconds to several milliseconds for state-of-the-art ECC memory), CSI:Rowhammer can detect any number of bitflips with overwhelming probability and correct at least 8 bitflips in practical time constraints.

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.

29 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

  • Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites Another Flip in the Wall of Rowhammer Defenses
  • Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • 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 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • 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
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites Another Flip in the Wall of Rowhammer Defenses
  • MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker 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 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault InjectionShaofeng Li, Xinyu Wang, Minhui Xue, Haojin Zhu et al.USENIX Security 2024 · 32 citations
  2. ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
  3. MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM TrackerMoinuddin Qureshi, Salman Qazi, Aamer JaleelMICRO 2024 · 28 citations
  4. CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos et al.HPCA 2024 · 27 citations
  5. 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

Builds on15

  1. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
  2. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  3. 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
  4. 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
  5. RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations

Related papers

  1. Copy-on-Flip: Hardening ECC Memory Against Rowhammer AttacksAndrea Di Dio, Koen Koning, Herbert Bos, Cristiano GiuffridaNDSS 2023
  2. BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel et al.MICRO 2024 · 19 citations
  3. Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations
  4. SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity ProtectionAli Fakhrzadehgan, Yale N. Patt, Prashant J. Nair, Moinuddin K. QureshiHPCA 2022 · 51 citations
  5. Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel et al.NDSS 2026 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines