Lune

CCS2020顶会

InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis

Roberto Guanciale, Musard Balliu, Mads Dam

摘要

The recent Spectre attacks have demonstrated the fundamental insecurity of current computer microarchitecture. The attacks use features like pipelining, out-of-order and speculation to extract arbitrary information about the memory contents of a process. A comprehensive formal microarchitectural model capable of representing the forms of out-of-order and speculative behavior that can meaningfully be implemented in a high performance pipelined architecture has not yet emerged. Such a model would be very useful, as it would allow the existence and non-existence of vulnerabilities, and soundness of countermeasures to be formally established. This paper presents such a model targeting single core processors. The model is intentionally very general and provides an infrastructure to define models of real CPUs. It incorporates microarchitectural features that underpin all known Spectre vulnerabilities. We use the model to elucidate the security of existing and new vulnerabilities, as well as to formally analyze the effectiveness of proposed countermeasures. Specifically, we discover three new (potential) vulnerabilities, including a new variant of Spectre v4, a vulnerability on speculative fetching, and a vulnerability on out-of-order execution, and analyze the effectiveness of existing countermeasures including constant time and serializing instructions.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Constant-time foundations for the new spectre era 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Constant-time foundations for the new spectre era 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Constant-time foundations for the new spectre era 引用了 RIDL: Rogue In-Flight Data Load
  • Constant-time foundations for the new spectre era 引用了 Meltdown: Reading Kernel Memory from User Space
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Hardware-Software Contracts for Secure Speculation 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Hardware-Software Contracts for Secure Speculation 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Hardware-Software Contracts for Secure Speculation 引用了 RIDL: Rogue In-Flight Data Load
  • Hardware-Software Contracts for Secure Speculation 引用了 Meltdown: Reading Kernel Memory from User Space
  • Hardware-Software Contracts for Secure Speculation 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
  • RIDL: Rogue In-Flight Data Load 引用了 Meltdown: Reading Kernel Memory from User Space
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • High-Assurance Cryptography in the Spectre Era 引用了 Constant-time foundations for the new spectre era
  • High-Assurance Cryptography in the Spectre Era 引用了 Spectre Attacks: Exploiting Speculative Execution
  • High-Assurance Cryptography in the Spectre Era 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • High-Assurance Cryptography in the Spectre Era 引用了 Hardware-Software Contracts for Secure Speculation
  • High-Assurance Cryptography in the Spectre Era 引用了 RIDL: Rogue In-Flight Data Load
  • High-Assurance Cryptography in the Spectre Era 引用了 Meltdown: Reading Kernel Memory from User Space
  • High-Assurance Cryptography in the Spectre Era 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Automatically eliminating speculative leaks from cryptographic code with blade 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Automatically eliminating speculative leaks from cryptographic code with blade 引用了 Meltdown: Reading Kernel Memory from User Space
  • Automatically eliminating speculative leaks from cryptographic code with blade 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Constant-time foundations for the new spectre era
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Hardware-Software Contracts for Secure Speculation
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Meltdown: Reading Kernel Memory from User Space
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 High-Assurance Cryptography in the Spectre Era
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Automatically eliminating speculative leaks from cryptographic code with blade
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper30

  1. Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 次引用
  2. Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen 等PLDI 2020 · 90 次引用
  3. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
  4. Automatically eliminating speculative leaks from cryptographic code with bladeMarco Vassena, Craig Disselkoen, Klaus von Gleissenthall, Sunjay Cauligi 等POPL 2021 · 53 次引用
  5. High-Assurance Cryptography in the Spectre EraGilles Barthe, Sunjay Cauligi, Benjamin Grégoire, Adrien Koutsos 等S&P 2021 · 42 次引用

它引用的 Paper13

  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. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  4. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  5. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用

相关 Paper

  1. ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin 等USENIX Security 2023
  2. The Code That Never Ran: Modeling Attacks on Speculative EvaluationCraig Disselkoen, Radha Jagadeesan, Alan Jeffrey, James RielyS&P 2019 · 24 次引用
  3. Structural Operational Semantics for Functional and Security Verification of Pipelined ProcessorsRobert J. Colvin, Roger C. SuCAV 2025 · 2 次引用
  4. Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 次引用
  5. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
黄昏的海面,两侧是细线勾勒的悬崖