Lune

ASPLOS2020顶会

Exploring Branch Predictors for Constructing Transient Execution Trojans

Tao Zhang, Kenneth Koltermann, Dmitry Evtyushkin

摘要

Transient execution is one of the most critical features used in CPUs to achieve high performance. Recent Spectre attacks demonstrated how this feature can be manipulated to force applications to reveal sensitive data. The industry quickly responded with a series of software and hardware mitigations among which microcode patches are the most prevalent and trusted. In this paper, we argue that currently deployed protections still leave room for constructing attacks. We do so by presenting transient trojans, software modules that conceal their malicious activity within transient execution mode. They appear completely benign, pass static and dynamic analysis checks, but reveal sensitive data when triggered. To construct these trojans, we perform a detailed analysis of the attack surface currently present in today's systems with respect to the recommended mitigation techniques. We reverse engineer branch predictors in several recent x86_64 processors which allows us to uncover previously unknown exploitation techniques. Using these techniques, we construct three types of transient trojans and demonstrate their stealthiness and practicality.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Automatic Detection of Speculative Execution Combinations 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Automatic Detection of Speculative Execution Combinations 引用了 Spectector: Principled Detection of Speculative Information Flows
  • Automatic Detection of Speculative Execution Combinations 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Automatic Detection of Speculative Execution Combinations 引用了 SoK: Practical Foundations for Software Spectre Defenses
  • Spectector: Principled Detection of Speculative Information Flows 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Spectector: Principled Detection of Speculative Information Flows 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Spectector: Principled Detection of Speculative Information Flows 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Spectre Attacks: Exploiting Speculative Execution
  • An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Spectector: Principled Detection of Speculative Information Flows
  • An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Meltdown: Reading Kernel Memory from User Space
  • An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Swivel: Hardening WebAssembly against Spectre
  • ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • INTROSPECTRE: A Pre-Silicon Framework for Discovery and Analysis of Transient Execution Vulnerabilities 引用了 Spectre Attacks: Exploiting Speculative Execution
  • INTROSPECTRE: A Pre-Silicon Framework for Discovery and Analysis of Transient Execution Vulnerabilities 引用了 Spectector: Principled Detection of Speculative Information Flows
  • INTROSPECTRE: A Pre-Silicon Framework for Discovery and Analysis of Transient Execution Vulnerabilities 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • INTROSPECTRE: A Pre-Silicon Framework for Discovery and Analysis of Transient Execution Vulnerabilities 引用了 Meltdown: Reading Kernel Memory from User Space
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Swivel: Hardening WebAssembly against Spectre 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Swivel: Hardening WebAssembly against Spectre 引用了 Spectector: Principled Detection of Speculative Information Flows
  • Swivel: Hardening WebAssembly against Spectre 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Swivel: Hardening WebAssembly against Spectre 引用了 Meltdown: Reading Kernel Memory from User Space
  • Swivel: Hardening WebAssembly against Spectre 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectector: Principled Detection of Speculative Information Flows
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 An Analysis of Speculative Type Confusion Vulnerabilities in the Wild
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Meltdown: Reading Kernel Memory from User Space
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • SoK: Practical Foundations for Software Spectre Defenses 引用了 Swivel: Hardening WebAssembly against Spectre
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. Swivel: Hardening WebAssembly against SpectreShravan Narayan, Craig Disselkoen, Daniel Moghimi, Sunjay Cauligi 等USENIX Security 2021 · 74 次引用
  2. SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
  3. An Analysis of Speculative Type Confusion Vulnerabilities in the WildOfek Kirzner, Adam MorrisonUSENIX Security 2021 · 40 次引用
  4. INTROSPECTRE: A Pre-Silicon Framework for Discovery and Analysis of Transient Execution VulnerabilitiesMoein Ghaniyoun, Kristin Barber, Yinqian Zhang, Radu TeodorescuISCA 2021 · 23 次引用
  5. Automatic Detection of Speculative Execution CombinationsXaver Fabian, Marco Guarnieri, Marco PatrignaniCCS 2022 · 19 次引用

它引用的 Paper9

  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. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  4. ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
  5. Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke 等S&P 2020 · 177 次引用

相关 Paper

  1. ConTExT: A Generic Approach for Mitigating SpectreMichael Schwarz, Moritz Lipp, Claudio Canella, Robert Schilling 等NDSS 2020
  2. Phantom: Exploiting Decoder-detectable MispredictionsJohannes Wikner, Daniël Trujillo, Kaveh RazaviMICRO 2023 · 19 次引用
  3. An Exploratory Analysis of Microcode as a Building Block for System DefensesBenjamin Kollenda, Philipp Koppe, Marc Fyrbiak, Christian Kison 等CCS 2018 · 13 次引用
  4. I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan 等ISCA 2021 · 59 次引用
  5. Branch Target Reuse: Practical Spectre-v2 Attacks in JIT Engines via Stale Branch Prediction EntriesSander Wiebing, Yuhui Zhu, Alessandro Biondi, Cristiano GiuffridaCCS 2026
黄昏的海面,两侧是细线勾勒的悬崖