Systematic Analysis of Randomization-based Protected Cache Architectures
Antoon Purnal, Lukas Giner, Daniel Gruss, Ingrid Verbauwhede
摘要
Recent secure cache designs aim to mitigate sidechannel attacks by randomizing the mapping from memory addresses to cache sets. As vendors investigate deployment of these caches, it is crucial to understand their actual security. In this paper, we consolidate existing randomization-based secure caches into a generic cache model. We then comprehensively analyze the security of existing designs, including CEASER-S and SCATTERCACHE, by mapping them to instances of this model. We tailor cache attacks for randomized caches using a novel PRIME+PRUNE+PROBE technique, and optimize it using burst accesses, bootstrapping, and multi-step profiling. PRIME+ PRUNE+PROBE constructs probabilistic but reliable eviction sets, enabling attacks previously assumed to be computationally infeasible. We also simulate an end-to-end attack, leaking secrets from a vulnerable AES implementation. Finally, a case study of CEASER-S reveals that cryptographic weaknesses in the randomization algorithm can lead to a complete security subversion. Our systematic analysis yields more realistic and comparable security levels for randomized caches. As we quantify how design parameters influence the security level, our work leads to important conclusions for future work on secure cache designs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 31 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 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 引用了 Meltdown: Reading Kernel Memory from User Space
- MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches
- MOESI-prime: preventing coherence-induced hammering in commodity workloads 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
- MOESI-prime: preventing coherence-induced hammering in commodity workloads 引用了 CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches
- CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches 引用了 Spectre Attacks: Exploiting Speculative Execution
- CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches 引用了 Meltdown: Reading Kernel Memory from User Space
- CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped Caches 引用了 ARMageddon: Cache Attacks on Mobile Devices
引用它的顶会 Paper31
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
- MeshUp: Stateless Cache Side-channel Attack on CPU MeshJunpeng Wan, Yanxiang Bi, Zhe Zhou, Zhou LiS&P 2022 · 42 次引用
- CaSA: End-to-end Quantitative Security Analysis of Randomly Mapped CachesThomas Bourgeat, Jules Drean, Yuheng Yang, Lillian Tsai 等MICRO 2020 · 41 次引用
- MOESI-prime: preventing coherence-induced hammering in commodity workloadsKevin Loughlin, Stefan Saroiu, Alec Wolman, Yatin A. Manerkar 等ISCA 2022 · 34 次引用
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 次引用
它引用的 Paper16
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
- ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
相关 Paper
- Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 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 次引用
- Systematic Evaluation of Randomized Cache Designs against Cache OccupancyAnirban Chakraborty, Nimish Mishra, Sayandeep Saha, Sarani Bhattacharya 等USENIX Security 2025
- ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
- ClepsydraCache - Preventing Cache Attacks with Time-Based EvictionsJan Philipp Thoma, Christian Niesler, Dominic A. Funke, Gregor Leander 等USENIX Security 2023
