Lune

CCS2021顶会

Exorcising Spectres with Secure Compilers

Marco Patrignani, Marco Guarnieri

摘要

ttackers can access sensitive information of programs by exploiting the side-effects of speculatively-executed instructions using Spectre attacks. To mitigate these attacks, popular compilers deployed a wide range of countermeasures whose security, however, has not been ascertained: while some are believed to be secure, others are known to be insecure and result in vulnerable programs. This paper develops formal foundations for reasoning about the security of these defenses. For this, it proposes a framework of secure compilation criteria that characterise when compilers produce code resistant against Spectre v1 attacks. With this framework, this paper performs a comprehensive security analysis of countermeasures against Spectre v1 attacks implemented in major compilers, deriving the first security proofs of said countermeasures

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Automatic Detection of Speculative Execution Combinations 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Automatic Detection of Speculative Execution Combinations 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Automatic Detection of Speculative Execution Combinations 引用了 High-Assurance Cryptography in the Spectre Era
  • Automatic Detection of Speculative Execution Combinations 引用了 SoK: Practical Foundations for Software Spectre Defenses
  • ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Automatic Detection of Speculative Execution Combinations
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 RIDL: Rogue In-Flight Data Load
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Axiomatic hardware-software contracts for security
  • RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
  • RIDL: Rogue In-Flight Data Load 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • High-Assurance Cryptography in the Spectre Era 引用了 Spectre Attacks: Exploiting Speculative Execution
  • High-Assurance Cryptography in the Spectre Era 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • High-Assurance Cryptography in the Spectre Era 引用了 RIDL: Rogue In-Flight Data Load
  • High-Assurance Cryptography in the Spectre Era 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 High-Assurance Cryptography in the Spectre Era
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Axiomatic hardware-software contracts for security 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Axiomatic hardware-software contracts for security 引用了 RIDL: Rogue In-Flight Data Load
  • Axiomatic hardware-software contracts for security 引用了 High-Assurance Cryptography in the Spectre Era
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
  2. High-Assurance Cryptography in the Spectre EraGilles Barthe, Sunjay Cauligi, Benjamin Grégoire, Adrien Koutsos 等S&P 2021 · 42 次引用
  3. Axiomatic hardware-software contracts for securityNicholas Mosier, Hanna Lachnitt, Hamed Nemati, Caroline TrippelISCA 2022 · 26 次引用
  4. Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2023 · 20 次引用
  5. Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 次引用

它引用的 Paper14

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  3. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
  4. ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
  5. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用

相关 Paper

  1. Do You Even Lift? Strengthening Compiler Security Guarantees against Spectre AttacksXaver Fabian, Marco Patrignani, Marco Guarnieri, Michael BackesPOPL 2025
  2. Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke 等S&P 2020 · 177 次引用
  3. Preservation of Speculative Constant-Time by CompilationSantiago Arranz-Olmos, Gilles Barthe, Lionel Blatter, Benjamin Grégoire 等POPL 2025 · 8 次引用
  4. An Analysis of Speculative Type Confusion Vulnerabilities in the WildOfek Kirzner, Adam MorrisonUSENIX Security 2021 · 40 次引用
  5. Ultimate SLH: Taking Speculative Load Hardening to the Next LevelZhiyuan Zhang, Gilles Barthe, Chitchanok Chuengsatiansup, Peter Schwabe 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖