Lune

S&P2021顶会

Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix It

Wei Song, Boya Li, Zihan Xue, Zhenzhen Li, Wenhao Wang, Peng Liu

摘要

Cache randomization has recently been revived as a promising defense against conflict-based cache side-channel attacks. As two of the latest implementations, CEASER-S and ScatterCache both claim to thwart conflict-based cache side-channel attacks using randomized skewed caches. Unfortunately, our experiments show that an attacker can easily find a usable eviction set within the chosen remap period of CEASER-S and increasing the number of partitions without dynamic remapping, such as ScatterCache, cannot eliminate the threat. By quantitatively analyzing the access patterns left by various attacks in the LLC, we have newly discovered several problems with the hypotheses and implementations of randomized caches, which are also overlooked by the research on conflict-based cache side-channel attacks.However, cache randomization is not a false hope and it is an effective defense that should be widely adopted in future processors. The newly discovered problems are corresponding to flaws associated with the existing implementation of cache randomization and are fixable. Several new defense ideas are proposed in this paper. Our experiments show that all the newly discovered problems are fixed within the current performance budget. We also argue that randomized set-associative caches can be sufficiently strengthened and possess a better chance to be actually adopted in commercial processors than their skewed counterparts because they introduce less overhaul to the existing cache structure.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Abusing Cache Line Dirty States to Leak Information in Commercial Processors 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Abusing Cache Line Dirty States to Leak Information in Commercial Processors 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Abusing Cache Line Dirty States to Leak Information in Commercial Processors 引用了 Meltdown: Reading Kernel Memory from User Space
  • Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 Theory and Practice of Finding Eviction Sets
  • The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level Cache 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level Cache 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Meltdown: Reading Kernel Memory from User Space
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Meltdown: Reading Kernel Memory from User Space 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Theory and Practice of Finding Eviction Sets 引用了 Spectre Attacks: Exploiting Speculative Execution
  • MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 Spectre Attacks: Exploiting Speculative Execution
  • MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 Meltdown: Reading Kernel Memory from User Space
  • MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 Theory and Practice of Finding Eviction Sets
  • Cache Refinement Type for Side-Channel Detection of Cryptographic Software 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. MeshUp: Stateless Cache Side-channel Attack on CPU MeshJunpeng Wan, Yanxiang Bi, Zhe Zhou, Zhou LiS&P 2022 · 42 次引用
  2. Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 次引用
  3. The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level CacheAnubhav Bhatla, Navneet, Biswabandan PandaISCA 2024 · 12 次引用
  4. Abusing Cache Line Dirty States to Leak Information in Commercial ProcessorsYujie Cui, Chun Yang, Xu ChengHPCA 2022 · 10 次引用
  5. Cache Refinement Type for Side-Channel Detection of Cryptographic SoftwareKe Jiang, Yuyan Bao, Shuai Wang, Zhibo Liu 等CCS 2022 · 7 次引用

它引用的 Paper7

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  4. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
  5. Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用

相关 Paper

  1. Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 次引用
  2. Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 次引用
  3. Systematic Evaluation of Randomized Cache Designs against Cache OccupancyAnirban Chakraborty, Nimish Mishra, Sayandeep Saha, Sarani Bhattacharya 等USENIX Security 2025
  4. SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
  5. MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
黄昏的海面,两侧是细线勾勒的悬崖