Lune

HPCA2021顶会

New Models for Understanding and Reasoning about Speculative Execution Attacks

Zecheng He, Guangyuan Hu, Ruby B. Lee

摘要

Spectre and Meltdown attacks and their variants exploit hardware performance optimization features to cause security breaches. Secret information is accessed and leaked through covert or side channels. New attack variants keep appearing and we do not have a systematic way to capture the critical characteristics of these attacks and evaluate why they succeed or fail.

In this paper, we provide a new attack-graph model for reasoning about speculative execution attacks. We model attacks as ordered dependency graphs, and prove that a race condition between two nodes can occur if there is a missing dependency edge between them. We define a new concept, "security dependency", between a resource access and its prior authorization operation. We show that a missing security dependency is equivalent to a race condition between authorization and access, which is a root cause of speculative execution attacks. We show detailed examples of how our attack graph models the Spectre and Meltdown attacks, and is generalizable to all the attack variants published so far. This attack model is also very useful for identifying new attacks and for generalizing defense strategies. We identify several defense strategies with different performance-security tradeoffs. We show that the defenses proposed so far all fit under one of our defense strategies. We also explain how attack graphs can be constructed and point to this as promising future work for tool designers.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit 引用了 Meltdown: Reading Kernel Memory from User Space
  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • GhostMinion: A Strictness-Ordered Cache System for Spectre Mitigation 引用了 Spectre Attacks: Exploiting Speculative Execution
  • GhostMinion: A Strictness-Ordered Cache System for Spectre Mitigation 引用了 Meltdown: Reading Kernel Memory from User Space
  • GhostMinion: A Strictness-Ordered Cache System for Spectre Mitigation 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • 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
  • Hunting the Haunter - Efficient Relational Symbolic Execution for Spectre with Haunted RelSE 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Hunting the Haunter - Efficient Relational Symbolic Execution for Spectre with Haunted RelSE 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 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
  • DeJITLeak: eliminating JIT-induced timing side-channel leaks 引用了 Spectre Attacks: Exploiting Speculative Execution
  • DeJITLeak: eliminating JIT-induced timing side-channel leaks 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • DeJITLeak: eliminating JIT-induced timing side-channel leaks 引用了 Hunting the Haunter - Efficient Relational Symbolic Execution for Spectre with Haunted RelSE
  • DeJITLeak: eliminating JIT-induced timing side-channel leaks 引用了 Meltdown: Reading Kernel Memory from User Space
  • DeJITLeak: eliminating JIT-induced timing side-channel leaks 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. GhostMinion: A Strictness-Ordered Cache System for Spectre MitigationSam AinsworthMICRO 2021 · 36 次引用
  2. DeJITLeak: eliminating JIT-induced timing side-channel leaksQi Qin, JulianAndres JiYang, Fu Song, Taolue Chen 等FSE 2022 · 18 次引用
  3. Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and ProfitChang Liu, Dongsheng Wang, Yongqiang Lyu, Pengfei Qiu 等HPCA 2024 · 9 次引用
  4. Hunting the Haunter - Efficient Relational Symbolic Execution for Spectre with Haunted RelSELesly-Ann Daniel, Sébastien Bardin, Tamara RezkNDSS 2021

它引用的 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. 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. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  5. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用

相关 Paper

  1. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
  2. Conditional address propagation: an efficient defense mechanism against transient execution attacksPeinan Li, Rui Hou, Lutan Zhao, Yifan Zhu 等DAC 2022 · 1 次引用
  3. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
  4. A Formal Approach for Detecting Vulnerabilities to Transient Execution Attacks in Out-of-Order ProcessorsMohammad Rahmani Fadiheh, Johannes Müller, Raik Brinkmann, Subhasish Mitra 等DAC 2020 · 38 次引用
  5. Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private DataJose Rodrigo Sanchez Vicarte, Pradyumna Shome, Nandeeka Nayak, Caroline Trippel 等ISCA 2021 · 29 次引用
黄昏的海面,两侧是细线勾勒的悬崖