Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPU
Pietro Frigo, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi
摘要
Dark silicon is pushing processor vendors to add more specialized units such as accelerators to commodity processor chips. Unfortunately this is done without enough care to security. In this paper we look at the security implications of integrated Graphical Processor Units (GPUs) found in almost all mobile processors. We demonstrate that GPUs, already widely employed to accelerate a variety of benign applications such as image rendering, can also be used to "accelerate" microarchitectural attacks (i.e., making them more effective) on commodity platforms. In particular, we show that an attacker can build all the necessary primitives for performing effective GPU-based microarchitectural attacks and that these primitives are all exposed to the web through standardized browser extensions, allowing side-channel and Rowhammer attacks from JavaScript. These attacks bypass state-of-the-art mitigations and advance existing CPU-based attacks: we show the first end-toend microarchitectural compromise of a browser running on a mobile phone in under two minutes by orchestrating our GPU primitives. While powerful, these GPU primitives are not easy to implement due to undocumented hardware features. We describe novel reverse engineering techniques for peeking into the previously unknown cache architecture and replacement policy of the Adreno 330, an integrated GPU found in many common mobile platforms. This information is necessary when building shader programs implementing our GPU primitives. We conclude by discussing mitigations against GPU-enabled attackers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 74 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 Spectre Attacks: Exploiting Speculative Execution
- RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load 引用了 Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RIDL: Rogue In-Flight Data Load 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RIDL: Rogue In-Flight Data Load 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 ARMageddon: Cache Attacks on Mobile Devices
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 RAMBleed: Reading Bits in Memory Without Accessing Them
- 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 引用了 RIDL: Rogue In-Flight Data Load
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer 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 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks
- Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
引用它的顶会 Paper74
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
- Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault AttacksSanghyun Hong, Pietro Frigo, Yigitcan Kaya, Cristiano Giuffrida 等USENIX Security 2019 · 255 次引用
- RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 次引用
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 次引用
它引用的 Paper12
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel 等USENIX Security 2016 · 306 次引用
相关 Paper
- Not so Refreshing: Attacking GPUs using RFM Rowhammer MitigationRavan Nazaraliyev, Yicheng Zhang, Sankha Baran Dutta, Andrés Márquez 等USENIX Security 2025
- GPUHammer: Rowhammer Attacks on GPU Memories are PracticalChris S. Lin, Joyce Qu, Gururaj SaileshwarUSENIX Security 2025
- GDDRHammer: Greatly Disturbing DRAM Rows - Cross-Component Rowhammer Attacks From Modern GPUsYichang Hu, Noah Brown, Yuhang Chen, Joshua Bakita 等S&P 2026 · 1 次引用
- Eavesdropping user credentials via GPU side channels on smartphonesBoyuan Yang, Ruirong Chen, Kai Huang, Jun Yang 等ASPLOS 2022 · 12 次引用
- GPUBreach: Privilege Escalation Attacks on GPUs Using RowhammerChris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu 等S&P 2026 · 8 次引用
