Charting the Cache Side-Channel Frontier: A Systematic Study of Eviction Set Construction on Apple Silicon
Han Wang, Yakun Wu, Yusi Feng, Yinqian Zhang
摘要
Eviction sets constitute the fundamental primitive for conflict-based cache side-channel attacks, enabling unprivileged adversaries to induce contention deterministically. However, the security landscape of Apple Silicon remains largely underexplored due to the challenges of constructing these sets. We conduct a systematic reverse engineering study on the Apple M4 to uncover the root causes of these limitations, key microarchitectural impediments: an SLC victim buffer that obscures latency-based verification, a DRAM-to-Cache Prefetcher (DCP) that violates strict LRU replacement, and an opaque SLC allocation policy modulated by L2 Insertion/Promotion Vectors (IPV). Guided by these insights, we optimize construction strategies to overcome these impediments. Our enhanced Prime-Prune-Probe (PPP) achieves 88.2% success rate for L2 eviction sets. Furthermore, we employ a hierarchical filtering strategy to construct the first practical fine-grained SLC eviction sets on Apple Silicon. Our SLC optimal approach achieves a 90% success rate, unlocking fine-grained cross-cluster attack primitives previously deemed infeasible.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Spectre Attacks: Exploiting Speculative Execution
- Theory and Practice of Finding Eviction Sets 引用了 Spectre Attacks: Exploiting Speculative Execution
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
它引用的 Paper22
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
- ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
相关 Paper
- SLAC: Access-Driven CPU-to-GPU Side-channel Attacks via System-Level Cache on Apple SiliconTianhong Xu, Saion Kumar Roy, Ruyi Ding, A. Adam Ding 等CCS 2026
- Synchronization Storage Channels (S2C): Timer-less Cache Side-Channel Attacks on the Apple M1 via Hardware Synchronization InstructionsJiyong Yu, Aishani Dutta, Trent Jaeger, David Kohlbrenner 等USENIX Security 2023
- Prune+PlumTree - Finding Eviction Sets at ScaleTom Kessous, Niv GilboaS&P 2024 · 7 次引用
- SysBumps: Exploiting Speculative Execution in System Calls for Breaking KASLR in macOS for Apple SiliconHyerean Jang, Taehun Kim, Youngjoo ShinCCS 2024 · 6 次引用
- Augury: Using Data Memory-Dependent Prefetchers to Leak Data at RestJose Rodrigo Sanchez Vicarte, Michael Flanders, Riccardo Paccagnella, Grant Garrett-Grossman 等S&P 2022 · 66 次引用
