Exploiting the DRAM Rowhammer Bug to Gain Kernel Privileges

by Mark Seaborn, Halvar Flake "Rowhammer" is a problem with DRAM in which repeatedly accessing a row of memory can cause bit flips in adjacent rows. While the industry has known about the problem for a while and has started mitigating the problem in newer hardware, it was rarely mentioned in public until the publication of Yoongu Kim et al's paper in the summer of 2014 which included hard data about the prevalence of the problem. In spite of the paper's speculations about the exploitability of the issue, most people still classified rowhammer as only a reliability issue - the probabilistic aspect of the problem seems to have made people think exploitability would be impractical. We have shown that rowhammer is practically exploitable in real-world scenarios - both in-browser through NaCl, and outside of the browser to escalate to kernel privileges. The probabilistic aspect can be effectively tamed so that the problem can be reliably exploited. Rowhammer, to our knowledge, represents the first public discussion of turning a widespread, real-world, physics-level hardware problem into a security issue. We will discuss the details of our two exploits cause and use bit flips, and how the rowhammer problem can be mitigated. We will explore whether it is possible to cause row hammering using normal cached memory accesses.

Meltdown/Spectre/Rowhammer
▶︎

Meltdown/Spectre/Rowhammer

Using Undocumented CPU Behavior to See Into Kernel Mode and Break KASLR in the Process
▶︎

Using Undocumented CPU Behavior to See Into Kernel Mode and Break KASLR in the Process

Emanate Like A Boss: Generalized Covert Data Exfiltration With Funtenna
▶︎

Emanate Like A Boss: Generalized Covert Data Exfiltration With Funtenna

RuhrSec 2017: "Rowhammer Attacks: A Walkthrough Guide", Dr. Clémentine Maurice & Daniel Gruss
▶︎

RuhrSec 2017: "Rowhammer Attacks: A Walkthrough Guide", Dr. Clémentine Maurice & Daniel Gruss

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains
▶︎

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Breaking the x86 Instruction Set
▶︎

Breaking the x86 Instruction Set

Attacking AI - Jason Haddix - NDC Security 2026
▶︎

Attacking AI - Jason Haddix - NDC Security 2026

Row Hammer: Flipping Bits in Memory Without Accessing Them - Papers We Love #026
▶︎

Row Hammer: Flipping Bits in Memory Without Accessing Them - Papers We Love #026

Every Level of Reverse Engineering Explained
▶︎

Every Level of Reverse Engineering Explained

DEF CON 33 - Kill List: Hacking an Assassination Site on the Dark Web - Carl Miller, Chris Monteiro
▶︎

DEF CON 33 - Kill List: Hacking an Assassination Site on the Dark Web - Carl Miller, Chris Monteiro

RuhrSec 2016: "Cache Side-Channel Attacks and the case of Rowhammer", Daniel Gruss
▶︎

RuhrSec 2016: "Cache Side-Channel Attacks and the case of Rowhammer", Daniel Gruss

We're 99.9% sure this pattern is true, but no one can prove it
▶︎

We're 99.9% sure this pattern is true, but no one can prove it

DRAMA: How Your DRAM Becomes a Security Problem
▶︎

DRAMA: How Your DRAM Becomes a Security Problem

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

DEF CON 26  - Alexei Bulazel - Reverse Engineering Windows Defenders Emulator
▶︎

DEF CON 26 - Alexei Bulazel - Reverse Engineering Windows Defenders Emulator

Spectre Attacks Exploiting Speculative Execution
▶︎

Spectre Attacks Exploiting Speculative Execution

Broadpwn: Remotely Compromising Android and iOS via a Bug in Broadcom's Wi-Fi Chipsets
▶︎

Broadpwn: Remotely Compromising Android and iOS via a Bug in Broadcom's Wi-Fi Chipsets

16. Side-Channel Attacks
▶︎

16. Side-Channel Attacks

Bochspwn Reloaded: Detecting Kernel Memory Disclosure with x86 Emulation and Taint Tracking
▶︎

Bochspwn Reloaded: Detecting Kernel Memory Disclosure with x86 Emulation and Taint Tracking

DEF CON 26  - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons
▶︎

DEF CON 26 - Christopher Domas - The Ring 0 Facade Awakening the Processors Inner Demons