Lune

ISCA2024顶会

The Maya Cache: A Storage-efficient and Secure Fully-associative Last-level Cache

Anubhav Bhatla, Navneet, Biswabandan Panda

摘要

The last-level cache is vulnerable to cross-core conflict-based attacks as the cache is shared among multiple cores. A fully associative last-level cache with a random replacement policy can mitigate these attacks. However, it is impractical to design a large last-level cache that is fully associative. One of the recent works, named Mirage, provides an illusion of a fully associative cache with a decoupled tag and data store and a random replacement policy. Mirage is a secure design that mitigates conflict-based attacks with a marginal performance overhead. However, it incurs a storage overhead of 20%, static power overhead of 18.16%, and area overhead of 6.86% compared to a non-secure baseline cache of 16 MB for an 8-core system. One of the primary contributors to the additional storage requirements is the usage of extra invalid tag entries that are used in a skewed way without changing the number of data store entries. These invalid tag entries provide a strong security guarantee. We observe that more than 80% of last-level cache's data store entries are dead on arrival, providing negligible utility in terms of performance improvement as they do not get reused in their lifetimes. Also, in general, the data store entries occupy ≈ eight times more storage than tag store entries. Based on these observations, we propose Maya, a storage efficient and yet secure last-level randomized cache that compensates for the additional storage of tag store entries by using fewer data store entries. Maya increases the tag store entries for security and reuse detection and uses fewer data store entries that only store the reused data. Our proposal provides a strong security guarantee, which is one set-associative eviction in 10 32 line fills at the last-level cache. This is equivalent to a line installed once in 10 16 years to mount an eviction attack. Maya provides this security guarantee with a 12MB data store that occupies 28.11% less area and 5.46% less static power when compared to a non-secure baseline of 16MB cache.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Robust Website Fingerprinting Through the Cache Occupancy Channel 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • SoK: So, You Think You Know All About Secure Randomized Caches? 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • SoK: So, You Think You Know All About Secure Randomized Caches? 引用了 Robust Website Fingerprinting Through the Cache Occupancy Channel
  • SoK: So, You Think You Know All About Secure Randomized Caches? 引用了 Systematic Evaluation of Randomized Cache Designs against Cache Occupancy
  • SoK: So, You Think You Know All About Secure Randomized Caches? 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
  • Systematic Evaluation of Randomized Cache Designs against Cache Occupancy 引用了 Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSX
  • Systematic Evaluation of Randomized Cache Designs against Cache Occupancy 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Systematic Evaluation of Randomized Cache Designs against Cache Occupancy 引用了 Robust Website Fingerprinting Through the Cache Occupancy Channel
  • Systematic Evaluation of Randomized Cache Designs against Cache Occupancy 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
  • CryptoBTB: A Secure Hierarchical BTB for Diverse Instruction Footprint Workloads 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • CryptoBTB: A Secure Hierarchical BTB for Diverse Instruction Footprint Workloads 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSX
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Robust Website Fingerprinting Through the Cache Occupancy Channel
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Assassyn: A Unified Abstraction for Architectural Simulation and ImplementationJian Weng, Boyang Han, Derui Gao, Ruijie Gao 等ISCA 2025 · 1 次引用
  2. CryptoBTB: A Secure Hierarchical BTB for Diverse Instruction Footprint WorkloadsDebpratim Adak, Eric Rotenberg, Amro Awad, Huiyang ZhouMICRO 2025 · 1 次引用
  3. SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
  4. Systematic Evaluation of Randomized Cache Designs against Cache OccupancyAnirban Chakraborty, Nimish Mishra, Sayandeep Saha, Sarani Bhattacharya 等USENIX Security 2025

它引用的 Paper14

  1. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  2. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
  3. Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSXCraig Disselkoen, David Kohlbrenner, Leo Porter, Dean M. TullsenUSENIX Security 2017 · 186 次引用
  4. Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser 等USENIX Security 2019 · 159 次引用
  5. MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用

相关 Paper

  1. SeqAss: Using SeqUential Associative Caches to Mitigate Conflict-Based Cache Attacks with Reduced Cache Misses and Performance OverheadWei Song, Zhidong Wang, Jinchi Han, Da Xie 等S&P 2026
  2. Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 次引用
  3. PhantomCache: Obfuscating Cache Conflicts with Localized RandomizationQinhan Tan, Zhihua Zeng, Kai Bu, Kui RenNDSS 2020
  4. Scatter and Split Securely: Defeating Cache Contention and Occupancy AttacksLukas Giner, Stefan Steinegger, Antoon Purnal, Maria Eichlseder 等S&P 2023
  5. Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix ItWei Song, Boya Li, Zihan Xue, Zhenzhen Li 等S&P 2021 · 67 次引用
黄昏的海面,两侧是细线勾勒的悬崖