Lune

USENIX Security2025Top-tier venue

SoK: So, You Think You Know All About Secure Randomized Caches?

Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan Panda

Abstract

Over the past decade, numerous side-channel attacks on shared resources, such as the Last-Level Cache (LLC), have exposed security risks in the form of flush-based, conflictbased, and occupancy-based attacks, driving the development of secure cache designs. To defend against conflict-based attacks, which is one of the most effective classes of sidechannel attacks, many modern designs randomize LLC set indexing to hinder eviction set construction. Various randomized cache designs have been proposed recently, offering distinct security guarantees. While these designs incorporate several microarchitectural modifications (we call them security knobs) over the conventional set-associative cache to ensure security, the individual impact of these microarchitectural modifications has never been evaluated. This leaves a gap in the understanding of randomized LLCs -the design space has not been explored completely and systematically. In this SoK, we identify and systematically analyze the design knobs employed in state-of-the-art secure randomized cache designs that mitigate conflict-based attacks. Using conventional set-associative caches as our baseline, we study five key knobs: skewing, extra invalid tags, high associativity, replacement policy, and remapping. We also evaluate their impact on occupancy-based attacks. Our findings show that no single knob provides a comprehensive security guarantee. Instead, only specific combinations of knobs yield effective protection, while others offer little to no security benefit.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design cites Theory and Practice of Finding Eviction Sets
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design cites Robust Website Fingerprinting Through the Cache Occupancy Channel
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design cites Systematic Analysis of Randomization-based Protected Cache Architectures
  • Systematic Analysis of Randomization-based Protected Cache Architectures cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Systematic Analysis of Randomization-based Protected Cache Architectures cites Theory and Practice of Finding Eviction Sets
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on15

  1. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz et al.USENIX Security 2019 · 221 citations
  2. Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser et al.USENIX Security 2019 · 159 citations
  3. Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 citations
  4. MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 citations
  5. Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 citations

Related papers

  1. Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix ItWei Song, Boya Li, Zihan Xue, Zhenzhen Li et al.S&P 2021 · 67 citations
  2. Systematic Evaluation of Randomized Cache Designs against Cache OccupancyAnirban Chakraborty, Nimish Mishra, Sayandeep Saha, Sarani Bhattacharya et al.USENIX Security 2025
  3. Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 citations
  4. PhantomCache: Obfuscating Cache Conflicts with Localized RandomizationQinhan Tan, Zhihua Zeng, Kai Bu, Kui RenNDSS 2020
  5. SCARF - A Low-Latency Block Cipher for Secure Cache-RandomizationFederico Canale, Tim Güneysu, Gregor Leander, Jan Philipp Thoma et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines