SMoTherSpectre: Exploiting Speculative Execution through Port Contention
Atri Bhattacharyya, Alexandra Sandulescu, Matthias Neugschwandtner, Alessandro Sorniotti, Babak Falsafi, Mathias Payer, Anil Kurmus
摘要
Spectre, Meltdown, and related attacks have demonstrated that kernels, hypervisors, trusted execution environments, and browsers are prone to information disclosure through micro-architectural weaknesses. However, it remains unclear as to what extent other applications, in particular those that do not load attacker-provided code, may be impacted. It also remains unclear as to what extent these attacks are reliant on cache-based side channels. We introduce SMoTherSpectre, a speculative code-reuse attack that leverages port-contention in simultaneously multi-threaded processors (SMoTher) as a side channel to leak information from a victim process. SMoTher is a fine-grained side channel that detects contention based on a single victim instruction. To discover realworld gadgets, we describe a methodology and build a tool that locates SMoTher-gadgets in popular libraries. In an evaluation on glibc, we found hundreds of gadgets that can be used to leak information. Finally, we demonstrate proof-of-concept attacks against the OpenSSH server, creating oracles for determining four host key bits, and against an application performing encryption using the OpenSSL library, creating an oracle which can differentiate a bit of the plaintext through gadgets in libcrypto and glibc.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 106 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Spectre Attacks: Exploiting Speculative Execution
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Meltdown: Reading Kernel Memory from User Space
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
- 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
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Spectre Attacks: Exploiting Speculative Execution
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Meltdown: Reading Kernel Memory from User Space
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Meltdown: Reading Kernel Memory from User Space
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
引用它的顶会 Paper106
- ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
- Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss 等CCS 2019 · 289 次引用
- LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp 等S&P 2020 · 275 次引用
- CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos 等S&P 2021 · 162 次引用
它引用的 Paper7
- 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 次引用
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用
- ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
相关 Paper
- AMD Prefetch Attacks through Power and TimeMoritz Lipp, Daniel Gruss, Michael SchwarzUSENIX Security 2022
- GhostRace: Exploiting and Mitigating Speculative Race ConditionsHany Ragab, Andrea Mambretti, Anil Kurmus, Cristiano GiuffridaUSENIX Security 2024 · 10 次引用
- Osiris: Automated Discovery of Microarchitectural Side ChannelsDaniel Weber, Ahmad Ibrahim, Hamed Nemati, Michael Schwarz 等USENIX Security 2021 · 75 次引用
- Whisper: Timing the Transient Execution to Leak Secrets and Break KASLRYu Jin, Chunlu Wang, Pengfei Qiu, Chang Liu 等DAC 2024 · 1 次引用
- SPEECHMINER: A Framework for Investigating and Measuring Speculative Execution VulnerabilitiesYuan Xiao, Yinqian Zhang, Radu TeodorescuNDSS 2020
