Lune

S&P2019顶会

The Code That Never Ran: Modeling Attacks on Speculative Evaluation

Craig Disselkoen, Radha Jagadeesan, Alan Jeffrey, James Riely

摘要

This paper studies information flow caused by speculation mechanisms in hardware and software. The Spectre attack shows that there are practical information flow attacks which use an interaction of dynamic security checks, speculative evaluation and cache timing. Previous formal models of program execution are designed to capture computer architecture, rather than micro-architecture, and so do not capture attacks such as Spectre. In this paper, we propose a model based on pomsets which is designed to model speculative evaluation. The model is abstract with respect to specific micro-architectural features, such as caches and pipelines, yet is powerful enough to express known attacks such as Spectre and Prime+Abort, and verify their countermeasures. The model also allows for the prediction of new information flow attacks. We derive two such attacks, which exploit compiler optimizations, and validate these experimentally against gcc and clang.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSX 引用了 Trusted Browsers for Uncertain Times
  • HyperFlow: A Processor Architecture for Nonmalleable, Timing-Safe Information Flow Security 引用了 Spectre Attacks: Exploiting Speculative Execution
  • High-Assurance Cryptography in the Spectre Era 引用了 Spectre Attacks: Exploiting Speculative Execution
  • High-Assurance Cryptography in the Spectre Era 引用了 InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis
  • Automatically eliminating speculative leaks from cryptographic code with blade 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Automatically eliminating speculative leaks from cryptographic code with blade 引用了 InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis
  • Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks 引用了 InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis
  • InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis 引用了 Spectre Attacks: Exploiting Speculative Execution
  • InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis 引用了 Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSX
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • 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 引用了 Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal Analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
  2. Automatically eliminating speculative leaks from cryptographic code with bladeMarco Vassena, Craig Disselkoen, Klaus von Gleissenthall, Sunjay Cauligi 等POPL 2021 · 53 次引用
  3. InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 次引用
  4. High-Assurance Cryptography in the Spectre EraGilles Barthe, Sunjay Cauligi, Benjamin Grégoire, Adrien Koutsos 等S&P 2021 · 42 次引用
  5. Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution AttacksHernán Ponce de León, Johannes KinderS&P 2022 · 35 次引用

它引用的 Paper4

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSXCraig Disselkoen, David Kohlbrenner, Leo Porter, Dean M. TullsenUSENIX Security 2017 · 186 次引用
  3. Trusted Browsers for Uncertain TimesDavid Kohlbrenner, Hovav ShachamUSENIX Security 2016 · 83 次引用
  4. HyperFlow: A Processor Architecture for Nonmalleable, Timing-Safe Information Flow SecurityAndrew Ferraiuolo, Mark Zhao, Andrew C. Myers, G. Edward SuhCCS 2018 · 63 次引用

相关 Paper

  1. New Models for Understanding and Reasoning about Speculative Execution AttacksZecheng He, Guangyuan Hu, Ruby B. LeeHPCA 2021 · 18 次引用
  2. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
  3. ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin 等USENIX Security 2023
  4. Pensieve: Microarchitectural Modeling for Security EvaluationYuheng Yang, Thomas Bourgeat, Stella Lau, Mengjia YanISCA 2023 · 23 次引用
  5. Exorcising Spectres with Secure CompilersMarco Patrignani, Marco GuarnieriCCS 2021 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖