[Paper Review] SpyHammer: Understanding and Exploiting RowHammer under Fine-Grained Temperature Variations
SpyHammer is the first practical RowHammer-based side-channel attack that remotely infers DRAM temperature by exploiting the correlation between RowHammer-induced bit error rates and temperature. It achieves absolute temperature estimation within ±2.5°C and relative temperature changes within ±3.5°C using only memory access patterns, without system modifications or prior knowledge of the victim DRAM module.
RowHammer is a DRAM vulnerability that can cause bit errors in a victim DRAM row solely by accessing its neighboring DRAM rows at a high-enough rate. Recent studies demonstrate that new DRAM devices are becoming increasingly vulnerable to RowHammer, and many works demonstrate system-level attacks for privilege escalation or information leakage. In this work, we perform the first rigorous fine-grained characterization and analysis of the correlation between RowHammer and temperature. We show that RowHammer is very sensitive to temperature variations, even if the variations are very small (e.g., $\pm 1$ °C). We leverage two key observations from our analysis to spy on DRAM temperature: 1) RowHammer-induced bit error rate consistently increases (or decreases) as the temperature increases, and 2) some DRAM cells that are vulnerable to RowHammer exhibit bit errors only at a particular temperature. Based on these observations, we propose a new RowHammer attack, called SpyHammer, that spies on the temperature of DRAM on critical systems such as industrial production lines, vehicles, and medical systems. SpyHammer is the first practical attack that can spy on DRAM temperature. Our evaluation in a controlled environment shows that SpyHammer can infer the temperature of the victim DRAM modules with an error of less than $\pm 2.5$ °C at the 90th percentile of all tested temperatures, for 12 real DRAM modules (120 DRAM chips) from four main manufacturers.
Motivation & Objective
- To investigate the relationship between RowHammer bit error rates and DRAM temperature at fine-grained (1°C) intervals.
- To develop a remote side-channel attack that infers temperature from DRAM bit flips without hardware or software modifications.
- To enable both absolute and relative temperature monitoring in critical systems such as industrial machinery, vehicles, and medical devices.
- To reduce attack cost by identifying 'canary cells' that flip only at specific temperatures, minimizing required memory accesses.
- To evaluate the feasibility and accuracy of the attack across 12 real DRAM modules from four major manufacturers.
Proposed method
- Leveraged the observation that RowHammer-induced bit error rate (BER) consistently increases or decreases with temperature, enabling temperature inference.
- Proposed two attack variants: one for relative temperature changes (no prior victim characterization) and one for absolute temperature (with prior victim DRAM characterization).
- Built polynomial regression models to map BER to temperature, trained on DRAM modules with known temperature profiles.
- Identified 'canary cells'—DRAM cells that flip only at a specific temperature—during an enrollment phase to reduce attack cost.
- Used remote RowHammer techniques to reverse-engineer victim DRAM modules without physical access, enabling relative temperature monitoring.
- Performed controlled experiments on 120 DRAM chips across 12 modules at 1°C temperature steps to validate the attack under real-world conditions.
Experimental results
Research questions
- RQ1Can RowHammer bit error rates be reliably correlated with fine-grained temperature variations in modern DRAM chips?
- RQ2Can an attacker infer absolute or relative DRAM temperature using only memory access patterns and without system modifications?
- RQ3How accurate can temperature inference be using RowHammer-induced bit flips across diverse DRAM modules from multiple manufacturers?
- RQ4Can the attack be made efficient by focusing on cells that flip only at a specific temperature (canary cells) to reduce memory access overhead?
- RQ5What are the practical limitations and error bounds of such an attack in real-world critical systems?
Key findings
- SpyHammer can estimate absolute temperature with an error of ±2.5°C at the 90th percentile across all 12 tested DRAM modules.
- For relative temperature changes, SpyHammer achieves an error of ±3.5°C without prior characterization of the victim DRAM module.
- The correlation between BER and temperature is consistent across DRAM modules of the same model, enabling relative temperature monitoring across different systems.
- Canary cells—cells that flip only at a specific temperature—were identified in 83% of tested DRAM modules, enabling efficient temperature monitoring with fewer memory accesses.
- The attack works without disabling DRAM refreshes and does not corrupt data from other processes, making it stealthy and practical in production environments.
- The method is effective across 12 real DRAM modules from four major manufacturers, demonstrating broad applicability and robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.