Random and Safe Cache Architecture to Defeat Cache Timing Attacks
Guangyuan Hu, Ruby B. Lee

TL;DR
This paper introduces RaS cache architectures that randomize cache contents to prevent cache timing attacks, effectively defending against various attack types with minimal performance impact.
Contribution
The paper presents a comprehensive cache architecture solution that addresses all known cache timing attacks, combining randomness and safety to enhance security.
Findings
RaS-Spec incurs only 3.8% performance overhead.
RaS+ variants achieve security with 7.9% to 45.2% overhead.
The approach effectively mitigates both speculative and non-speculative cache attacks.
Abstract
Caches have been exploited to leak secret information due to the different times they take to handle memory accesses. Cache timing attacks include non-speculative cache side and covert channel attacks and cache-based speculative execution attacks. We first present a systematic view of the attack and defense space and show that no existing defense has addressed all cache timing attacks, which we do in this paper. We propose Random and Safe (RaS) cache architectures to decorrelate cache state changes from memory requests. RaS fills the cache with ``safe'' cache lines that are likely to be used in the future, rather than with demand-fetched, security-sensitive lines. RaS lifts the restriction on cache fills for accesses that become safe when speculative execution is resolved and authorized. Our RaS-Spec design against cache-based speculative execution attacks has a low 3.8% average…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Data Storage Technologies · Cloud Data Security Solutions
