Lune

USENIX ATC2022Top-tier venue

SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh

Zhi Zhang, Yueqiang Cheng, Minghua Wang, Wei He, Wenhao Wang, Surya Nepal, Yansong Gao, Kang Li, Zhe Wang, Chenggang Wu

Abstract

Rowhammer attacks that corrupt level-1 page tables to gain kernel privilege are the most detrimental to system security and hard to mitigate. However, recently proposed softwareonly mitigations are not effective against such kernel privilege escalation attacks.

In this paper, we propose an effective and practical software-only defense, called SoftTRR, to protect page tables from all existing rowhammer attacks on x86. The key idea of SoftTRR is to refresh the rows occupied by page tables when a suspicious rowhammer activity is detected. SoftTRR is motivated by DRAM-chip-based target row refresh (ChipTRR) but eliminates its main security limitation (i.e., ChipTRR tracks a limited number of rows and thus can be bypassed by many-sided hammer [17]). Specifically, SoftTRR protects an unlimited number of page tables by tracking memory accesses to the rows that are in close proximity to page-table rows and refreshing the page-table rows once the tracked access count exceeds a pre-defined threshold. We implement a prototype of SoftTRR as a loadable kernel module, and evaluate its security effectiveness, performance overhead, and memory consumption. The experimental results show that SoftTRR protects page tables from real-world rowhammer attacks and incurs small performance overhead as well as memory cost.

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.

28 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 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • 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
  • 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
  • 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 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
  • 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 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 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
  • 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 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 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • 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 HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
  • 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
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Another Flip in the Wall of Rowhammer Defenses
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf 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
  • 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 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Another Flip in the Wall of Rowhammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • 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 Another Flip in the Wall of Rowhammer Defenses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers28

  1. HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM ChipsAbdullah Giray Yaglikçi, Ataberk Olgun, Minesh Patel, Haocong Luo et al.MICRO 2022 · 43 citations
  2. 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
  3. 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
  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 on19

  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. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 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. CAn't Touch This: Software-only Mitigation against Rowhammer Attacks targeting Kernel MemoryFerdinand Brasser, Lucas Davi, David Gens, Christopher Liebchen et al.USENIX Security 2017 · 146 citations
  2. Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel et al.NDSS 2026 · 5 citations
  3. PThammer: Cross-User-Kernel-Boundary Rowhammer through Implicit AccessesZhi Zhang, Yueqiang Cheng, Dongxi Liu, Surya Nepal et al.MICRO 2020 · 69 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. 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
Dusk over the sea between two cliffs drawn in fine vertical lines