Downfall: Exploiting Speculative Data Gathering
Daniel Moghimi
摘要
We introduce Downfall attacks, new transient execution attacks that undermine the security of computers running everywhere across the internet. We exploit the gather instruction on high-performance x86 CPUs to leak data across boundaries of user-kernel, processes, virtual machines, and trusted execution environments. We also develop practical and end-to-end attacks to steal cryptographic keys, program's runtime data, and even data at rest (arbitrary data). Our findings, exploitation techniques, and demonstrated attacks defeat all previous defenses, calling for critical hardware fixes and security updates for widely-used client and server computers. Stealing Cryptographic Keys ( §5) We demonstrate endto-end cross-VM attacks against widely-used modern cryptographic software that uses SIMD instructions for efficient and secure (constant-time) execution. We steal AES-128 and AES-256 keys from the off-the-shelf OpenSSL command line tool for encrypting data. Unlike previous such attacks, our attack is simple and reliable; In less than 10 seconds, we steal AES round keys, 8 bytes at a time, and combine them to break AES without any cryptanalysis, source code analysis, or any data analysis tricks required by previous attacks [52, 60] . Stealing Arbitrary Data ( §6) We discover that GDS can steal data from no-op operations that do not do anything architecturally. Masked memory operations, when the masked bit is unset, and the streaming data copy instructions, when the data copy size is zero, should not execute architecturally. But, we found that Intel CPUs transiently prefetch data into the leaky SIMD register buffers when such no-op operations are
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 27 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 RIDL: Rogue In-Flight Data Load
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Lifting Micro-Update Models from RTL for Formal Security Analysis 引用了 Spectre Attacks: Exploiting Speculative Execution
- Lifting Micro-Update Models from RTL for Formal Security Analysis 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Lifting Micro-Update Models from RTL for Formal Security Analysis 引用了 RIDL: Rogue In-Flight Data Load
- Lifting Micro-Update Models from RTL for Formal Security Analysis 引用了 Meltdown: Reading Kernel Memory from User Space
- 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
- Cross-Core Interrupt Detection: Exploiting User and Virtualized IPIs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Cross-Core Interrupt Detection: Exploiting User and Virtualized IPIs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Lost and Found in Speculation: Hybrid Speculative Vulnerability Detection 引用了 Spectre Attacks: Exploiting Speculative Execution
- Meltdown: Reading Kernel Memory from User Space 引用了 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
- "These results must be false": A usability evaluation of constant-time analysis tools 引用了 Spectre Attacks: Exploiting Speculative Execution
- "These results must be false": A usability evaluation of constant-time analysis tools 引用了 Meltdown: Reading Kernel Memory from User Space
引用它的顶会 Paper27
- "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt 等USENIX Security 2024 · 15 次引用
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi 等NDSS 2026 · 7 次引用
- Lost and Found in Speculation: Hybrid Speculative Vulnerability DetectionMohamadreza Rostami, Shaza Zeitouni, Rahul Kande, Chen Chen 等DAC 2024 · 6 次引用
- Cross-Core Interrupt Detection: Exploiting User and Virtualized IPIsFabian Rauscher, Daniel GrussCCS 2024 · 4 次引用
- Lifting Micro-Update Models from RTL for Formal Security AnalysisAdwait Godbole, Kevin Cheang, Yatin A. Manerkar, Sanjit A. SeshiaASPLOS 2024 · 3 次引用
它引用的 Paper21
- 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
- CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos 等S&P 2021 · 162 次引用
- GADGETSPINNER: A New Transient Execution Primitive Using the Loop Stream DetectorYun Chen, Ali Hajiabadi, Trevor E. CarlsonHPCA 2024 · 6 次引用
- CacheOut: Leaking Data on Intel CPUs via Cache EvictionsStephan van Schaik, Marina Minkin, Andrew Kwong, Daniel Genkin 等S&P 2021 · 158 次引用
- Adversarial Prefetch: New Cross-Core Cache Side Channel AttacksYanan Guo, Andrew Zigerelli, Youtao Zhang, Jun YangS&P 2022 · 43 次引用
- ÆPIC Leak: Architecturally Leaking Uninitialized Data from the MicroarchitecturePietro Borrello, Andreas Kogler, Martin Schwarzl, Moritz Lipp 等USENIX Security 2022
