Lune

USENIX Security2024顶会

Go Go Gadget Hammer: Flipping Nested Pointers for Arbitrary Data Leakage

Youssef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin, Kang G. Shin

摘要

Rowhammer is an increasingly threatening vulnerability that grants an attacker the ability to flip bits in memory without directly accessing them. Despite efforts to mitigate Rowhammer via software and defenses built directly into DRAM modules, more recent generations of DRAM are actually more susceptible to malicious bit-flips than their predecessors. This phenomenon has spawned numerous exploits, showing how Rowhammer acts as the basis for various vulnerabilities that target sensitive structures, such as Page Table Entries (PTEs) or opcodes, to grant control over a victim machine. However, in this paper, we consider Rowhammer as a more general vulnerability, presenting a novel exploit vector for Rowhammer that targets particular code patterns. We show that if victim code is designed to return benign data to an unprivileged user, and uses nested pointer dereferences, Rowhammer can flip these pointers to gain arbitrary read access in the victim's address space. Furthermore, we identify gadgets present in the Linux kernel, and demonstrate an endto-end attack that precisely flips a targeted pointer. To do so we developed a number of improved Rowhammer primitives, including kernel memory massaging, Rowhammer synchronization, and testing for kernel flips, which may be of broader interest to the Rowhammer community. Compared to prior works' leakage rate of .3 bits/s, we show that such gadgets can be used to read out kernel data at a rate of 82.6 bits/s. By targeting code gadgets, this work expands the scope and attack surface exposed by Rowhammer. It is no longer sufficient for software defenses to selectively pad previously exploited memory structures in flip-safe memory, as any victim code that follows the pattern in question must be protected.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • PRowhammer: Propagating Bit-Flips from CPU to GPU 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • SoK: Systematizing a Decade of Architectural Rowhammer Defenses Through the Lens of Streaming Algorithms 引用了 QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
  • SoK: Systematizing a Decade of Architectural Rowhammer Defenses Through the Lens of Streaming Algorithms 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ρHammer: Reviving RowHammer Attacks on New Architectures via Prefetching 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ρHammer: Reviving RowHammer Attacks on New Architectures via Prefetching 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 SoK: Systematizing a Decade of Architectural Rowhammer Defenses Through the Lens of Streaming Algorithms
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 ρHammer: Reviving RowHammer Attacks on New Architectures via Prefetching
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
  • PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row Counting 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority QueuesJeonghyun Woo, Shaopeng Chris Lin, Prashant J. Nair, Aamer Jaleel 等HPCA 2025 · 20 次引用
  2. SoK: Systematizing a Decade of Architectural Rowhammer Defenses Through the Lens of Streaming AlgorithmsMichael Jaemin Kim, Seungmin Baek, Jumin Kim, Hwayong Nam 等S&P 2026 · 6 次引用
  3. PVAC: A Rowhammer Mitigation Architecture Exploiting Per-Victim-Row CountingJumin Kim, Seungmin Baek, Hwayong Nam, Minbok Wi 等ISCA 2026 · 5 次引用
  4. PRowhammer: Propagating Bit-Flips from CPU to GPUMrityunjay Shukla, Shubham Roy, Sayandeep Saha, Biswabandan PandaISCA 2026 · 1 次引用
  5. ρHammer: Reviving RowHammer Attacks on New Architectures via PrefetchingWeijie Chen, Shan Tang, Yulin Tang, Xiapu Luo 等MICRO 2025 · 1 次引用

它引用的 Paper28

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  3. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  4. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  5. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用

相关 Paper

  1. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
  2. PThammer: Cross-User-Kernel-Boundary Rowhammer through Implicit AccessesZhi Zhang, Yueqiang Cheng, Dongxi Liu, Surya Nepal 等MICRO 2020 · 69 次引用
  3. FLIPPYRAM: A Large-Scale Study of Rowhammer PrevalenceMartin Heckel, Nima Sayadi, Jonas Juffinger, Carina Fiedler 等NDSS 2026 · 2 次引用
  4. GDDRHammer: Greatly Disturbing DRAM Rows - Cross-Component Rowhammer Attacks From Modern GPUsYichang Hu, Noah Brown, Yuhang Chen, Joshua Bakita 等S&P 2026 · 1 次引用
  5. SpecHammer: Combining Spectre and Rowhammer for New Speculative AttacksYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin 等S&P 2022 · 81 次引用
黄昏的海面,两侧是细线勾勒的悬崖