Lune

USENIX Security2023顶会

ProSpeCT: Provably Secure Speculation for the Constant-Time Policy

Lesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin, Tamara Rezk, Frank Piessens

摘要

We propose ProSpeCT, a generic formal processor model providing provably secure speculation for the constant-time policy. For constant-time programs under a non-speculative semantics, ProSpeCT guarantees that speculative and out-of-order execution cause no microarchitectural leaks. This guarantee is achieved by tracking secrets in the processor pipeline and ensuring that they do not influence the microarchitectural state during speculative execution. Our formalization covers a broad class of speculation mechanisms, generalizing prior work. As a result, our security proof covers all known Spectre attacks, including load value injection (LVI) attacks. In addition to the formal model, we provide a prototype hardware implementation of ProSpeCT on a RISC-V processor and show evidence of its low impact on hardware cost, performance, and required software changes. In particular, the experimental evaluation confirms our expectation that for a compliant constant-time binary, enabling ProSpeCT incurs no performance overhead.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Spectre Attacks: Exploiting Speculative Execution
  • 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 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • On Kernel's Safety in the Spectre Era (And KASLR is Formally Dead) 引用了 Spectre Attacks: Exploiting Speculative Execution
  • On Kernel's Safety in the Spectre Era (And KASLR is Formally Dead) 引用了 Meltdown: Reading Kernel Memory from User Space
  • ret2spec: Speculative Execution Using Return Stack Buffers 引用了 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
  • SpecLFB: Eliminating Cache Side Channels in Speculative Executions 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SpecLFB: Eliminating Cache Side Channels in Speculative Executions 引用了 Meltdown: Reading Kernel Memory from User Space
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Meltdown: Reading Kernel Memory from User Space
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Towards Efficient Verification of Constant-Time Cryptographic Implementations 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Towards Efficient Verification of Constant-Time Cryptographic Implementations 引用了 Meltdown: Reading Kernel Memory from User Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. SpecLFB: Eliminating Cache Side Channels in Speculative ExecutionsXiaoyu Cheng, Fei Tong, Hongyu Wang, Zhe Zhou 等USENIX Security 2024 · 7 次引用
  2. Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious ProgramsHans Winderix, Marton Bognar, Job Noorman, Lesly-Ann Daniel 等S&P 2024 · 5 次引用
  3. Towards Efficient Verification of Constant-Time Cryptographic ImplementationsLuwei Cai, Fu Song, Taolue ChenFSE 2024 · 4 次引用
  4. On Kernel's Safety in the Spectre Era (And KASLR is Formally Dead)Davide Davoli, Martin Avanzini, Tamara RezkCCS 2024 · 2 次引用
  5. Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic ProgramsAli Hajiabadi, Trevor E. CarlsonISCA 2025 · 2 次引用

它引用的 Paper38

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. 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 次引用
  4. ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
  5. LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp 等S&P 2020 · 275 次引用

相关 Paper

  1. InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 次引用
  2. Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen 等PLDI 2020 · 90 次引用
  3. Levioso: Efficient Compiler-Informed Secure SpeculationAli Hajiabadi, Archit Agarwal, Andreas Diavastos, Trevor E. CarlsonDAC 2024 · 1 次引用
  4. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
  5. Spectre on RISC-V Silicon: Attacks and Defenses on Commercial Out-of-Order ProcessorsLukas Gerlach, Marton Bognar, Daniel Weber, Michael Schwarz 等USENIX Security 2026
黄昏的海面,两侧是细线勾勒的悬崖