Scatter and Split Securely: Defeating Cache Contention and Occupancy Attacks
Lukas Giner, Stefan Steinegger, Antoon Purnal, Maria Eichlseder, Thomas Unterluggauer, Stefan Mangard, Daniel Gruss
摘要
In this paper, we propose SassCache, a secure skewed associative cache with keyed index mapping. For this purpose, we design a new two-layered, low-latency cryptographic construction with configurable output coverage based on state-of-the-art cryptographic primitives. Based on this construction, SassCache is the first secure randomized cache with secure spacing. Victim cache lines automatically hide in locations the attacker cannot reach after less than 1 access on average. Consequently, attackers cannot evict the cache line, no matter which and how many memory accesses they perform. Our security analysis shows that all existing techniques for eviction set construction fail, and state-of-the-art attacks only apply to 1 in 3 million addresses, where SassCache is still as secure as ScatterCache. Compared to standard caches, Sass Cache has a single-threaded performance penalty of 1.75 % on the last-level cache hit rate in the SPEC2017 benchmark, and an average decrease of 11.7 p.p. in hit rate for MiBench, GAP and Scimark for our high-security settings.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Systematic Evaluation of Novel and Existing Cache Side Channels 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- A Systematic Evaluation of Novel and Existing Cache Side Channels 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- A Systematic Evaluation of Novel and Existing Cache Side Channels 引用了 Theory and Practice of Finding Eviction Sets
- Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level Cache 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level Cache 引用了 Robust Website Fingerprinting Through the Cache Occupancy Channel
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Theory and Practice of Finding Eviction Sets 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Eviction Notice: Reviving and Advancing Page Cache Attacks 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Prune+PlumTree - Finding Eviction Sets at Scale 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Prune+PlumTree - Finding Eviction Sets at Scale 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- Prune+PlumTree - Finding Eviction Sets at Scale 引用了 Theory and Practice of Finding Eviction Sets
引用它的顶会 Paper11
- The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level CacheAnubhav Bhatla, Navneet, Biswabandan PandaISCA 2024 · 12 次引用
- Uncore Encore: Covert Channels Exploiting Uncore Frequency ScalingYanan Guo, Dingyuan Cao, Xin Xin, Youtao Zhang 等MICRO 2023 · 9 次引用
- Prune+PlumTree - Finding Eviction Sets at ScaleTom Kessous, Niv GilboaS&P 2024 · 7 次引用
- Eviction Notice: Reviving and Advancing Page Cache AttacksSudheendra Raghav Neela, Jonas Juffinger, Lukas Maar, Daniel GrussNDSS 2026 · 2 次引用
- A Systematic Evaluation of Novel and Existing Cache Side ChannelsFabian Rauscher, Carina Fiedler, Andreas Kogler, Daniel GrussNDSS 2025
它引用的 Paper14
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
- ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
- Hello from the Other Side: SSH over Robust Cache Covert Channels in the CloudClémentine Maurice, Manuel Weber, Michael Schwarz, Lukas Giner 等NDSS 2017 · 174 次引用
- Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser 等USENIX Security 2019 · 159 次引用
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
相关 Paper
- Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 次引用
- SCARF - A Low-Latency Block Cipher for Secure Cache-RandomizationFederico Canale, Tim Güneysu, Gregor Leander, Jan Philipp Thoma 等USENIX Security 2023
- Systematic Evaluation of Randomized Cache Designs against Cache OccupancyAnirban Chakraborty, Nimish Mishra, Sayandeep Saha, Sarani Bhattacharya 等USENIX Security 2025
- SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
