Lune

S&P2020Top-tier venue

Spectector: Principled Detection of Speculative Information Flows

Marco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke, Andrés Sánchez

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

75 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Constant-time foundations for the new spectre era cites Spectre Attacks: Exploiting Speculative Execution
  • Constant-time foundations for the new spectre era cites ret2spec: Speculative Execution Using Return Stack Buffers
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites Spectre Attacks: Exploiting Speculative Execution
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites ret2spec: Speculative Execution Using Return Stack Buffers
  • SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks cites A Systematic Evaluation of Transient Execution Attacks and Defenses
  • ret2spec: Speculative Execution Using Return Stack Buffers cites Spectre Attacks: Exploiting Speculative Execution
  • Hardware-Software Contracts for Secure Speculation cites Spectre Attacks: Exploiting Speculative Execution
  • Hardware-Software Contracts for Secure Speculation cites ret2spec: Speculative Execution Using Return Stack Buffers
  • Hardware-Software Contracts for Secure Speculation cites A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Hardware-Software Contracts for Secure Speculation cites Verifying Constant-Time Implementations
  • A Systematic Evaluation of Transient Execution Attacks and Defenses cites Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses cites ret2spec: Speculative Execution Using Return Stack Buffers
  • Swivel: Hardening WebAssembly against Spectre cites Constant-time foundations for the new spectre era
  • Swivel: Hardening WebAssembly against Spectre cites Spectre Attacks: Exploiting Speculative Execution
  • Swivel: Hardening WebAssembly against Spectre cites ret2spec: Speculative Execution Using Return Stack Buffers
  • Swivel: Hardening WebAssembly against Spectre cites A Systematic Evaluation of Transient Execution Attacks and Defenses
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability cites Spectre Attacks: Exploiting Speculative Execution
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability cites ret2spec: Speculative Execution Using Return Stack Buffers
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability cites Hardware-Software Contracts for Secure Speculation
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability cites A Systematic Evaluation of Transient Execution Attacks and Defenses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers75

  1. Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 citations
  2. DOLMA: Securing Speculation with the Principle of Transient Non-ObservabilityKevin Loughlin, Ian Neal, Jiacheng Ma, Elisa Tsai et al.USENIX Security 2021 · 94 citations
  3. Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen et al.PLDI 2020 · 90 citations
  4. SpecHammer: Combining Spectre and Rowhammer for New Speculative AttacksYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin et al.S&P 2022 · 81 citations
  5. Swivel: Hardening WebAssembly against SpectreShravan Narayan, Craig Disselkoen, Daniel Moghimi, Sunjay Cauligi et al.USENIX Security 2021 · 74 citations

Builds on5

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp et al.USENIX Security 2019 · 442 citations
  3. ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 citations
  4. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir et al.USENIX Security 2016 · 274 citations
  5. CaSym: Cache Aware Symbolic Execution for Side Channel Detection and MitigationRobert Brotzman, Shen Liu, Danfeng Zhang, Gang Tan et al.S&P 2019 · 77 citations

Related papers

  1. Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 citations
  2. Exorcising Spectres with Secure CompilersMarco Patrignani, Marco GuarnieriCCS 2021 · 5 citations
  3. AMuLeT: Automated Design-Time Testing of Secure Speculation CountermeasuresBo Fu, Leo Tenenbaum, David Adler, Assaf Klein et al.ASPLOS 2025 · 3 citations
  4. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe et al.S&P 2022 · 59 citations
  5. SpecSafe: detecting cache side channels in a speculative worldRobert Brotzman, Danfeng Zhang, Mahmut Taylan Kandemir, Gang TanOOPSLA 2021 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines