I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches
Xida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan, Dean M. Tullsen, Ashish Venkat
摘要
Modern Intel, AMD, and ARM processors translate complex instructions into simpler internal micro-ops that are then cached in a dedicated on-chip structure called the micro-op cache. This work presents an in-depth characterization study of the micro-op cache, reverse-engineering many undocumented features, and further describes attacks that exploit the micro-op cache as a timing channel to transmit secret information. In particular, this paper describes three attacks – (1) a same thread cross-domain attack that leaks secrets across the user-kernel boundary, (2) a cross-SMT thread attack that transmits secrets across two SMT threads via the micro-op cache, and (3) transient execution attacks that have the ability to leak an unauthorized secret accessed along a misspeculated path, even before the transient instruction is dispatched to execution, breaking several existing invisible speculation and fencing-based solutions that mitigate Spectre.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 28 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 Spectre Attacks: Exploiting Speculative Execution
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 RIDL: Rogue In-Flight Data Load
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 Meltdown: Reading Kernel Memory from User Space
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load 引用了 Meltdown: Reading Kernel Memory from User Space
- RIDL: Rogue In-Flight Data Load 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- Leaky Frontends: Security Vulnerabilities in Processor Frontends 引用了 Spectre Attacks: Exploiting Speculative Execution
- Leaky Frontends: Security Vulnerabilities in Processor Frontends 引用了 Meltdown: Reading Kernel Memory from User Space
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
- InSpectre Gadget: Inspecting the Residual Attack Surface of Cross-privilege Spectre v2 引用了 Spectre Attacks: Exploiting Speculative Execution
- InSpectre Gadget: Inspecting the Residual Attack Surface of Cross-privilege Spectre v2 引用了 RIDL: Rogue In-Flight Data Load
- InSpectre Gadget: Inspecting the Residual Attack Surface of Cross-privilege Spectre v2 引用了 Meltdown: Reading Kernel Memory from User Space
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
- SoK: Practical Foundations for Software Spectre Defenses 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Meltdown: Reading Kernel Memory from User Space
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Spectre Attacks: Exploiting Speculative Execution
引用它的顶会 Paper28
- SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
- InSpectre Gadget: Inspecting the Residual Attack Surface of Cross-privilege Spectre v2Sander Wiebing, Alvise de Faveri Tron, Herbert Bos, Cristiano GiuffridaUSENIX Security 2024 · 32 次引用
- Leaky Frontends: Security Vulnerabilities in Processor FrontendsShuwen Deng, Bowen Huang, Jakub SzeferHPCA 2022 · 27 次引用
- No-FAT: Architectural Support for Low Overhead Memory Safety ChecksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Ryan Piersma 等ISCA 2021 · 26 次引用
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & SecuritySamira Mirbagher Ajorpaz, Daniel Moghimi, Jeffrey Neal Collins, Gilles Pokam 等MICRO 2022 · 23 次引用
它引用的 Paper19
- 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 次引用
- ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
相关 Paper
- Leaky MDU: ARM Memory Disambiguation Unit Uncovered and Vulnerabilities ExposedChang Liu, Yongqiang Lyu, Haixia Wang, Pengfei Qiu 等DAC 2023 · 5 次引用
- Phantom: Exploiting Decoder-detectable MispredictionsJohannes Wikner, Daniël Trujillo, Kaveh RazaviMICRO 2023 · 19 次引用
- Leaking Information Through Cache LRU StatesWenjie Xiong, Jakub SzeferHPCA 2020 · 54 次引用
- Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
- SPECRUN: The Danger of Speculative Runahead Execution in ProcessorsChaoqun Shen, Gang Qu, Jiliang ZhangDAC 2024 · 1 次引用
