Grand Pwning Unit: Accelerating Microarchitectural Attacks with the GPU
Pietro Frigo, Cristiano Giuffrida, Herbert Bos, Kaveh Razavi
Abstract
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.
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.
74 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Spectre Attacks: Exploiting Speculative Execution
- RAMBleed: Reading Bits in Memory Without Accessing Them cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Flip Feng Shui: Hammering a Needle in the Software Stack
- RIDL: Rogue In-Flight Data Load cites Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RIDL: Rogue In-Flight Data Load cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- RIDL: Rogue In-Flight Data Load cites Flip Feng Shui: Hammering a Needle in the Software Stack
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Flip Feng Shui: Hammering a Needle in the Software Stack
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites Flip Feng Shui: Hammering a Needle in the Software Stack
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites ARMageddon: Cache Attacks on Mobile Devices
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites RAMBleed: Reading Bits in Memory Without Accessing Them
- 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 RIDL: Rogue In-Flight Data Load
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer 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 Flip Feng Shui: Hammering a Needle in the Software Stack
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites 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 cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks cites Flip Feng Shui: Hammering a Needle in the Software Stack
Cited by top-tier papers74
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo et al.S&P 2019 · 408 citations
- 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
- Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault AttacksSanghyun Hong, Pietro Frigo, Yigitcan Kaya, Cristiano Giuffrida et al.USENIX Security 2019 · 255 citations
- RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations
Builds on12
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
- ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice et al.USENIX Security 2016 · 451 citations
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel et al.USENIX Security 2016 · 306 citations
Related papers
- Not so Refreshing: Attacking GPUs using RFM Rowhammer MitigationRavan Nazaraliyev, Yicheng Zhang, Sankha Baran Dutta, Andrés Márquez et al.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 et al.S&P 2026 · 1 citation
- Eavesdropping user credentials via GPU side channels on smartphonesBoyuan Yang, Ruirong Chen, Kai Huang, Jun Yang et al.ASPLOS 2022 · 12 citations
- GPUBreach: Privilege Escalation Attacks on GPUs Using RowhammerChris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu et al.S&P 2026 · 8 citations
