English

Flush+Flush: A Fast and Stealthy Cache Attack

Cryptography and Security 2016-04-06 v3

Abstract

Research on cache attacks has shown that CPU caches leak significant information. Proposed detection mechanisms assume that all cache attacks cause more cache hits and cache misses than benign applications and use hardware performance counters for detection. In this article, we show that this assumption does not hold by developing a novel attack technique: the Flush+Flush attack. The Flush+Flush attack only relies on the execution time of the flush instruction, which depends on whether data is cached or not. Flush+Flush does not make any memory accesses, contrary to any other cache attack. Thus, it causes no cache misses at all and the number of cache hits is reduced to a minimum due to the constant cache flushes. Therefore, Flush+Flush attacks are stealthy, i.e., the spy process cannot be detected based on cache hits and misses, or state-of-the-art detection mechanisms. The Flush+Flush attack runs in a higher frequency and thus is faster than any existing cache attack. With 496 KB/s in a cross-core covert channel it is 6.7 times faster than any previously published cache covert channel.

Keywords

Cite

@article{arxiv.1511.04594,
  title  = {Flush+Flush: A Fast and Stealthy Cache Attack},
  author = {Daniel Gruss and Clémentine Maurice and Klaus Wagner and Stefan Mangard},
  journal= {arXiv preprint arXiv:1511.04594},
  year   = {2016}
}

Comments

This paper has been accepted at the 13th Conference on Detection of Intrusions and Malware & Vulnerability Assessment (DIMVA) 2016. The final publication is available at link.springer.com

R2 v1 2026-06-22T11:45:19.688Z