USENIX ATC2022顶会
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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 28 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection 引用了 Another Flip in the Wall of Rowhammer Defenses
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- 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
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Another Flip in the Wall of Rowhammer Defenses
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 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 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 Another Flip in the Wall of Rowhammer Defenses
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 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 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 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 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 Another Flip in the Wall of Rowhammer Defenses
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips 引用了 Another Flip in the Wall of Rowhammer Defenses
- HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf 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
- 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
- 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
引用它的顶会 Paper28
- HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM ChipsAbdullah Giray Yaglikçi, Ataberk Olgun, Minesh Patel, Haocong Luo 等MICRO 2022 · 43 次引用
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault InjectionShaofeng Li, Xinyu Wang, Minhui Xue, Haojin Zhu 等USENIX Security 2024 · 32 次引用
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel 等USENIX Security 2024 · 29 次引用
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos 等HPCA 2024 · 27 次引用
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read DisturbanceOguzhan Canpolat, A. Giray Yaglikçi, Geraldo F. Oliveira, Ataberk Olgun 等HPCA 2025 · 23 次引用
它引用的 Paper19
- 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
- CAn't Touch This: Software-only Mitigation against Rowhammer Attacks targeting Kernel MemoryFerdinand Brasser, Lucas Davi, David Gens, Christopher Liebchen 等USENIX Security 2017 · 146 次引用
- Memory Band-Aid: A Principled Rowhammer Defense-in-DepthCarina Fiedler, Jonas Juffinger, Sudheendra Raghav Neela, Martin Heckel 等NDSS 2026 · 5 次引用
- PThammer: Cross-User-Kernel-Boundary Rowhammer through Implicit AccessesZhi Zhang, Yueqiang Cheng, Dongxi Liu, Surya Nepal 等MICRO 2020 · 69 次引用
- 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 次引用
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel 等MICRO 2024 · 19 次引用
