PThammer: Cross-User-Kernel-Boundary Rowhammer through Implicit Accesses
Zhi Zhang, Yueqiang Cheng, Dongxi Liu, Surya Nepal, Zhi Wang, Yuval Yarom
摘要
Rowhammer is a hardware vulnerability in DRAM memory, where repeated access to memory can induce bit flips in neighboring memory locations. Being a hardware vulnerability, rowhammer bypasses all of the system memory protection, allowing adversaries to compromise the integrity and confidentiality of data. Rowhammer attacks have shown to enable privilege escalation, sandbox escape, and cryptographic key disclosures.
Recently, several proposals suggest exploiting the spatial proximity between the accessed memory location and the location of the bit flip for a defense against rowhammer. These all aim to deny the attacker's permission to access memory locations near sensitive data.
In this paper, we question the core assumption underlying these defenses. We present PThammer, a confused-deputy attack that causes accesses to memory locations that the attacker is not allowed to access. Specifically, PThammer exploits the address translation process of modern processors, inducing the processor to generate frequent accesses to protected memory locations. We implement PThammer, demonstrating that it is a viable attack, resulting in a system compromise (e.g., kernel privilege escalation). We further evaluate the effectiveness of proposed software-only defenses showing that PThammer can overcome those.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 49 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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 引用了 BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
- 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 引用了 BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- 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 引用了 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 引用了 BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Scalable Memory Protection in the PENGLAI Enclave 引用了 Spectre Attacks: Exploiting Speculative Execution
- Scalable Memory Protection in the PENGLAI Enclave 引用了 Meltdown: Reading Kernel Memory from User Space
引用它的顶会 Paper49
- BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter 等S&P 2022 · 140 次引用
- Scalable Memory Protection in the PENGLAI EnclaveErhu Feng, Xu Lu, Dong Du, Bicheng Yang 等OSDI 2021 · 126 次引用
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi 等HPCA 2021 · 124 次引用
- 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 次引用
它引用的 Paper22
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
- 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 次引用
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用
相关 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 次引用
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
- Citadel: Rethinking Memory Allocation to Safeguard Against Inter-Domain Rowhammer ExploitsAnish Saxena, Walter Wang, Alexandros DaglisMICRO 2025 · 6 次引用
- SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row RefreshZhi Zhang, Yueqiang Cheng, Minghua Wang, Wei He 等USENIX ATC 2022 · 62 次引用
- Go Go Gadget Hammer: Flipping Nested Pointers for Arbitrary Data LeakageYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin 等USENIX Security 2024 · 11 次引用
