[Paper Review] RELOAD+REFRESH: Abusing Cache Replacement Policies to Perform Stealthy Cache Attacks
This paper introduces RELOAD+REFRESH, a stealthy cache attack that exploits deterministic cache replacement policies in Intel CPUs (4th–8th gen) to monitor victim process memory accesses without inducing cache misses. By precisely predicting and manipulating cache set evictions, the attack achieves detection resistance while maintaining accuracy comparable to state-of-the-art methods like PRIME+PROBE.
Caches have become the prime method for unintended information extraction across logical isolation boundaries. Even Spectre and Meltdown rely on the cache side channel, as it provides great resolution and is widely available on all major CPU platforms. As a consequence, several methods to stop cache attacks by detecting them have been proposed. Detection is strongly aided by the fact that observing cache activity of co-resident processes is not possible without altering the cache state and thereby forcing evictions on the observed processes. In this work, we show that this widely held assumption is incorrect. Through clever usage of the cache replacement policy it is possible to track a victims process cache accesses without forcing evictions on the victim's data. Hence, online detection mechanisms that rely on these evictions can be circumvented as they do not detect be the introduced RELOAD+REFRESH attack. The attack requires a profound understanding of the cache replacement policy. We present a methodology to recover the replacement policy and apply it to the last five generations of Intel processors. We further show empirically that the performance of RELOAD+REFRESH on cryptographic implementations is comparable to that of other widely used cache attacks, while its detectability becomes extremely difficult, due to the negligible effect on the victims cache access pattern.
Motivation & Objective
- To investigate whether cache-based side-channel attacks can be performed without inducing detectable cache misses on the victim.
- To reverse-engineer the last-level cache (LLC) replacement policies in modern Intel processors from 4th to 8th generation.
- To develop a methodology for analyzing and predicting cache replacement behavior in complex, real-world CPU architectures.
- To design and implement a new cache attack, RELOAD+REFRESH, that enables covert monitoring of victim memory access patterns with high temporal resolution.
- To demonstrate that current detection mechanisms relying on observable cache miss activity are ineffective against this new attack vector.
Proposed method
- Developed a novel reverse-engineering methodology to test and validate replacement policies by forcing cache misses and observing actual evictions.
- Used hardware performance counters (HPCs) to monitor cache miss patterns and correlate them with predicted eviction candidates.
- Identified that Intel's LLC uses a deterministic replacement policy based on a combination of access history and a pseudo-random selection mechanism.
- Designed the RELOAD+REFRESH attack to reload a conflict address and refresh victim data in the cache without evicting it, using precise timing and cache set control.
- Executed the attack on AES and RSA cryptographic implementations to extract secret keys by observing cache access patterns.
- Measured and compared attack performance against PRIME+PROBE and FLUSH+RELOAD, evaluating sampling rates and miss counts.
Experimental results
Research questions
- RQ1Can cache replacement policies in modern Intel CPUs be reverse-engineered to predict eviction behavior with high accuracy?
- RQ2Is it possible to monitor a victim’s cache accesses without inducing cache misses, thereby evading detection mechanisms?
- RQ3How does the performance of RELOAD+REFRESH compare to existing cache attacks like PRIME+PROBE and FLUSH+RELOAD in terms of resolution and stealth?
- RQ4What is the actual impact of RELOAD+REFRESH on the victim’s cache miss rate and execution behavior?
- RQ5Can RELOAD+REFRESH extract secret information from real cryptographic implementations such as AES and RSA?
Key findings
- The RELOAD+REFRESH attack induces only 145.6 average L3 cache misses per 1000 samples on the victim, compared to 1,000+ for FLUSH+RELOAD and PRIME+PROBE, making it nearly undetectable.
- The attack achieved 93% accuracy in retrieving multiply operations during RSA decryption at maximum sampling rate, matching the performance of PRIME+PROBE.
- The mean time between samples for RELOAD+REFRESH is 810 cycles, significantly higher than PRIME+PROBE’s 280–1950 cycle range, but still sufficient for high-resolution timing.
- The attack successfully extracted keys from a T-Table AES implementation and the square-and-multiply RSA variant, demonstrating practical feasibility.
- The study reveals that current detection mechanisms relying on cache miss monitoring are ineffective against attacks that avoid inducing such misses.
- The authors reverse-engineered the deterministic replacement policy used in Intel’s 4th–8th generation CPUs, showing it is based on access history and a pseudo-random mechanism.
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.