Spectector: Principled Detection of Speculative Information Flows
Marco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke, Andrés Sánchez
摘要
Since the advent of Spectre, a number of counter-measures have been proposed and deployed. Rigorously reasoning about their effectiveness, however, requires a well-defined notion of security against speculative execution attacks, which has been missing until now.In this paper (1) we put forward speculative non-interference, the first semantic notion of security against speculative execution attacks, and (2) we develop Spectector, an algorithm based on symbolic execution to automatically prove speculative non-interference, or to detect violations.We implement Spectector in a tool, which we use to detect subtle leaks and optimizations opportunities in the way major compilers place Spectre countermeasures. A scalability analysis indicates that checking speculative non-interference does not exhibit fundamental bottlenecks beyond those inherited by symbolic execution.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 76 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Constant-time foundations for the new spectre era 引用了 Spectre Attacks: Exploiting Speculative Execution
- Constant-time foundations for the new spectre era 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
- Hardware-Software Contracts for Secure Speculation 引用了 Spectre Attacks: Exploiting Speculative Execution
- Hardware-Software Contracts for Secure Speculation 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Hardware-Software Contracts for Secure Speculation 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- Hardware-Software Contracts for Secure Speculation 引用了 Verifying Constant-Time Implementations
- 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
- Swivel: Hardening WebAssembly against Spectre 引用了 Constant-time foundations for the new spectre era
- Swivel: Hardening WebAssembly against Spectre 引用了 Spectre Attacks: Exploiting Speculative Execution
- Swivel: Hardening WebAssembly against Spectre 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Swivel: Hardening WebAssembly against Spectre 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Spectre Attacks: Exploiting Speculative Execution
- DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Hardware-Software Contracts for Secure Speculation
- DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
引用它的顶会 Paper76
- Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 次引用
- DOLMA: Securing Speculation with the Principle of Transient Non-ObservabilityKevin Loughlin, Ian Neal, Jiacheng Ma, Elisa Tsai 等USENIX Security 2021 · 94 次引用
- Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen 等PLDI 2020 · 90 次引用
- SpecHammer: Combining Spectre and Rowhammer for New Speculative AttacksYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin 等S&P 2022 · 81 次引用
- Swivel: Hardening WebAssembly against SpectreShravan Narayan, Craig Disselkoen, Daniel Moghimi, Sunjay Cauligi 等USENIX Security 2021 · 74 次引用
它引用的 Paper5
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
- ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
- Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
- CaSym: Cache Aware Symbolic Execution for Side Channel Detection and MitigationRobert Brotzman, Shen Liu, Danfeng Zhang, Gang Tan 等S&P 2019 · 77 次引用
相关 Paper
- Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 次引用
- Exorcising Spectres with Secure CompilersMarco Patrignani, Marco GuarnieriCCS 2021 · 5 次引用
- AMuLeT: Automated Design-Time Testing of Secure Speculation CountermeasuresBo Fu, Leo Tenenbaum, David Adler, Assaf Klein 等ASPLOS 2025 · 3 次引用
- SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
- SpecSafe: detecting cache side channels in a speculative worldRobert Brotzman, Danfeng Zhang, Mahmut Taylan Kandemir, Gang TanOOPSLA 2021 · 3 次引用
