PhantomCache: Obfuscating Cache Conflicts with Localized Randomization
Qinhan Tan, Zhihua Zeng, Kai Bu, Kui Ren
摘要
—Cache conflicts due to deterministic memory-to-cache mapping have long been exploited to leak sensitive information such as secret keys. While randomized mapping is fully investigated for L1 caches, it still remains unresolved about how to secure a much larger last-level cache (LLC). Recent solutions periodically change the mapping strategy to disrupt the crafting of conflicted addresses, which is a critical attack procedure to exploit cache conflicts. Remapping, however, increases both miss rate and access latency. We present PhantomCache for securing an LLC with remapping-free randomized mapping. We propose a localized randomization technique to bound randomized mapping of a memory address within only a limited number of cache sets. The small randomization space offers fast set search over an LLC in a memory access. The intrinsic randomness still suffices to obfuscate conflicts and disrupt efficient exploitation of con-flicted addresses. We evaluate PhantomCache against an attacker exploring the state-of-the-art attack with linear-complexity. To secure an 8-bank 16 MB 16-way LLC, PhantomCache confines randomization space of an address within 8 sets and brings only 1.20% performance degradation on individual benchmarks, 0.50% performance degradation on mixed workloads, and 0.50% storage overhead per cache line, which are 2x and 9x more effi-cient than the state-of-the-art solutions. Moreover, PhantomCache is solely an architectural solution and requires no software change.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix It
- 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
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 ARMageddon: Cache Attacks on Mobile Devices
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud 引用了 Systematic Analysis of Randomization-based Protected Cache Architectures
- Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix It 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix It 引用了 Theory and Practice of Finding Eviction Sets
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 ARMageddon: Cache Attacks on Mobile Devices
- Theory and Practice of Finding Eviction Sets 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Theory and Practice of Finding Eviction Sets 引用了 ARMageddon: Cache Attacks on Mobile Devices
- Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Theory and Practice of Finding Eviction Sets
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 ARMageddon: Cache Attacks on Mobile Devices
- 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 引用了 Theory and Practice of Finding Eviction Sets
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Systematic Analysis of Randomization-based Protected Cache Architectures
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Theory and Practice of Finding Eviction Sets
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 ARMageddon: Cache Attacks on Mobile Devices
引用它的顶会 Paper20
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
- Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 次引用
- 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 次引用
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention AttacksAntoon Purnal, Furkan Turan, Ingrid VerbauwhedeCCS 2021 · 55 次引用
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 次引用
它引用的 Paper5
- ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
- Strong and Efficient Cache Side-Channel Protection using Hardware Transactional MemoryDaniel Gruss, Julian Lettner, Felix Schuster, Olga Ohrimenko 等USENIX Security 2017 · 254 次引用
- 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 次引用
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
相关 Paper
- SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
- 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
- Scatter and Split Securely: Defeating Cache Contention and Occupancy AttacksLukas Giner, Stefan Steinegger, Antoon Purnal, Maria Eichlseder 等S&P 2023
- 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
