USENIX Security2023Top-tier venue
ClepsydraCache - Preventing Cache Attacks with Time-Based Evictions
Jan Philipp Thoma, Christian Niesler, Dominic A. Funke, Gregor Leander, Pierre Mayr, Nils Pohl, Lucas Davi, Tim Güneysu
Abstract
In the recent past, we have witnessed the shift towards attacks on the microarchitectural CPU level. In particular, cache side-channels play a predominant role as they allow an attacker to exfiltrate secret information by exploiting the CPU microarchitecture. These subtle attacks exploit the architectural visibility of conflicting cache addresses. In this paper, we present ClepsydraCache, which mitigates state-of-the-art cache attacks using a novel combination of cache decay and index randomization. Each cache entry is linked with a Time-To-Live (TTL) value. We propose a new dynamic scheduling mechanism of the TTL which plays a fundamental role in preventing those attacks while maintaining performance. ClepsydraCache efficiently protects against the latest cache attacks such as Prime+(Prune+)Probe. We present a full prototype in gem5 and lay out a proof-of-concept hardware design of the TTL mechanism, which demonstrates the feasibility of deploying ClepsydraCache in real-world systems.
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.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SCARF - A Low-Latency Block Cipher for Secure Cache-Randomization cites Spectre Attacks: Exploiting Speculative Execution
- SCARF - A Low-Latency Block Cipher for Secure Cache-Randomization cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- SCARF - A Low-Latency Block Cipher for Secure Cache-Randomization cites Meltdown: Reading Kernel Memory from User Space
- SCARF - A Low-Latency Block Cipher for Secure Cache-Randomization cites Theory and Practice of Finding Eviction Sets
- SCARF - A Low-Latency Block Cipher for Secure Cache-Randomization cites MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization cites Spectre Attacks: Exploiting Speculative Execution
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization cites Meltdown: Reading Kernel Memory from User Space
- Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
- Theory and Practice of Finding Eviction Sets cites Spectre Attacks: Exploiting Speculative Execution
- SoK: So, You Think You Know All About Secure Randomized Caches? cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- SoK: So, You Think You Know All About Secure Randomized Caches? cites Theory and Practice of Finding Eviction Sets
- SoK: So, You Think You Know All About Secure Randomized Caches? cites MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- SoK: So, You Think You Know All About Secure Randomized Caches? cites Prune+PlumTree - Finding Eviction Sets at Scale
- 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
- Prune+PlumTree - Finding Eviction Sets at Scale cites Spectre Attacks: Exploiting Speculative Execution
- Prune+PlumTree - Finding Eviction Sets at Scale cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- Prune+PlumTree - Finding Eviction Sets at Scale cites Theory and Practice of Finding Eviction Sets
Cited by top-tier papers3
- Prune+PlumTree - Finding Eviction Sets at ScaleTom Kessous, Niv GilboaS&P 2024 · 7 citations
- SCARF - A Low-Latency Block Cipher for Secure Cache-RandomizationFederico Canale, Tim Güneysu, Gregor Leander, Jan Philipp Thoma et al.USENIX Security 2023
- SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
Builds on9
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
- ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz et al.USENIX Security 2019 · 221 citations
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 citations
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 citations
Related papers
- Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 citations
- Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSXCraig Disselkoen, David Kohlbrenner, Leo Porter, Dean M. TullsenUSENIX Security 2017 · 186 citations
- Spec-o-Scope: Cache Probing at Cache SpeedGal Horowitz, Eyal Ronen, Yuval YaromCCS 2024 · 4 citations
- A Systematic Evaluation of Novel and Existing Cache Side ChannelsFabian Rauscher, Carina Fiedler, Andreas Kogler, Daniel GrussNDSS 2025
- TimeCache: Using Time to Eliminate Cache Side Channels when Sharing SoftwareDivya Ojha, Sandhya DwarkadasISCA 2021 · 14 citations
