Abstract
This paper presents a novel approach to hardware security by repurposing the Rowhammer vulnerability—a DRAM disturbance error—into a Physically Unclonable Function (PUF). Unlike traditional intrinsic PUFs that are often limited to boot-time access, the Rowhammer PUF enables runtime device identification and cryptographic key generation on commodity hardware without modifications. By disabling refresh mechanisms and optimizing access patterns, the researchers demonstrate high entropy (0.192 per cell) and strong uniqueness across devices, effectively transforming a known exploit into a robust security primitive.
Introduction
Physically Unclonable Functions (PUFs) serve as unique "digital fingerprints" for hardware, derived from microscopic manufacturing variations. They are critical for secure device identification and key storage. However, existing solutions often require custom circuitry (extrinsic PUFs) or are restricted to boot-time availability (SRAM-based intrinsic PUFs). While DRAM decay has been explored as a PUF source, it typically suffers from low entropy and slow readout.
This research introduces the Rowhammer PUF, the first work to utilize the Rowhammer effect for a constructive security application. Rowhammer occurs when rapid access to a "hammer" row causes charge leakage in adjacent "victim" rows, leading to bit flips. By intentionally inducing these flips, the authors create a high-entropy signature that can be queried at runtime on standard off-the-shelf systems.
Methodology
The Rowhammer PUF is implemented through a software-only approach that manipulates standard DRAM operations. The core process involves three key steps:
- Refresh Disabling: The DRAM's auto-refresh mechanism is temporarily disabled for target memory regions to increase susceptibility to disturbance.
- Pattern Optimization: To maximize bit flips, PUF rows are initialized with specific patterns (e.g., checkerboard
0xAA) while hammer rows use the inverse (0x55), exploiting the physical layout of DRAM cells. - Hammering Strategies: The authors compared Single-sided Rowhammer (SSRH), where one adjacent row is hammered, and Double-sided Rowhammer (DSRH), where both adjacent rows are hammered simultaneously.
The system was evaluated on PandaBoard hardware using both a bootloader-level implementation and a Linux kernel module, demonstrating its versatility across different software layers.
Experimental Setup
The study utilized three PandaBoard ES (Revision B3) devices equipped with 1GB ELPIDA DDR2 memory. Experiments were conducted across various ambient temperatures (40°C, 50°C, and 60°C) to assess environmental resilience. For every parameter combination, 20 measurements were taken across three different memory regions on each board.
Results
Uniqueness and Robustness
The Rowhammer PUF demonstrated exceptional uniqueness, with a Jaccard inter-device similarity index ($J_{inter}$) near zero, meaning bit-flip patterns are highly device-specific. Intra-device stability remained high ($J_{intra} > 0.94$), indicating a consistent fingerprint with only ~5% noise across multiple queries.
Bit Flip Efficiency
The research found that Rowhammer-induced flips provide significantly higher entropy than standard DRAM decay. Specifically, 60 seconds of hammering produced 2.4 times more bit flips than decay alone.
As shown in the experimental data, DSRH generally yields a higher percentage of bit flips compared to SSRH. Furthermore, the choice of Initialization Vector (IV) significantly impacts the flip rate; the 0x55 hammer row IV (paired with 0xAA PUF rows) consistently maximized bit flips by exploiting the internal DRAM topology.
Discussion and Conclusion
The Rowhammer PUF offers a significant advancement in intrinsic security primitives by providing a high-entropy, runtime-accessible fingerprint. With a fractional entropy of 0.192 per cell, a 128-bit key can be derived from just 85 bytes of DRAM.
Despite these advantages, challenges remain. The current readout time (60-120 seconds) is relatively slow, and the long-term impact of repeated hammering on hardware longevity requires further study. Additionally, the presence of Error Correcting Code (ECC) memory in server environments may necessitate alternative readout strategies, such as monitoring ECC error logs. Future work will also explore the sensitivity of the PUF to voltage fluctuations and aging effects.
Summary updated