RollingCache: Using Runtime Behavior to Defend Against Cache Side Channel Attacks
Divya Ojha, Sandhya Dwarkadas

TL;DR
RollingCache introduces a dynamic cache mapping technique that adapts at runtime to prevent contention-based side channel attacks without relying on encryption or partitioning, maintaining low performance overhead.
Contribution
It proposes a novel cache design that dynamically changes address mappings to defend against contention attacks, unlike prior static or partitioning-based methods.
Findings
Reduces deterministic contention signals
Achieves 1.67% performance overhead
Effectively defends against cache side channel attacks
Abstract
Shared caches are vulnerable to side channel attacks through contention in cache sets. Besides being a simple source of information leak, these side channels form useful gadgets for more sophisticated attacks that compromise the security of shared systems. The fundamental design aspect that contention attacks exploit is the deterministic nature of the set of addresses contending for a cache set. In this paper, we present RollingCache, a cache design that defends against contention attacks by dynamically changing the set of addresses contending for cache sets. Unlike prior defenses, RollingCache does not rely on address encryption/decryption, data relocation, or cache partitioning. We use one level of indirection to implement dynamic mapping controlled by the whole-cache runtime behavior. Our solution does not depend on having defined security domains, and can defend against an…
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 · Cryptographic Implementations and Security · Advanced Malware Detection Techniques
