Lune

USENIX Security2018顶会

Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks

Ben Gras, Kaveh Razavi, Herbert Bos, Cristiano Giuffrida

摘要

To stop side channel attacks on CPU caches that have allowed attackers to leak secret information and break basic security mechanisms, the security community has developed a variety of powerful defenses that effectively isolate the security domains. Of course, other shared hardware resources exist, but the assumption is that unlike cache side channels, any channel offered by these resources is insufficiently reliable and too coarse-grained to leak general-purpose information. This is no longer true. In this paper, we revisit this assumption and show for the first time that hardware translation lookaside buffers (TLBs) can be abused to leak fine-grained information about a victim's activity even when CPU cache activity is guarded by state-of-the-art cache side-channel protections, such as CAT and TSX. However, exploiting the TLB channel is challenging, due to unknown addressing functions inside the TLB and the attacker's limited monitoring capabilities which, at best, cover only the victim's coarse-grained data accesses. To address the former, we reverse engineer the previously unknown addressing function in recent Intel processors. To address the latter, we devise a machine learning strategy that exploits high-resolution temporal features about a victim's memory activity. Our prototype implementation, TLBleed, can leak a 256-bit EdDSA secret key from a single capture after 17 seconds of computation time with a 98% success rate, even in presence of state-ofthe-art cache isolation. Similarly, using a single capture, TLBleed reconstructs 92% of RSA keys from an implementation that is hardened against FLUSH+RELOAD attacks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • SMoTherSpectre: Exploiting Speculative Execution through Port Contention 引用了 Port Contention for Fun and Profit
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Port Contention for Fun and Profit
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper126

  1. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  2. Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss 等CCS 2019 · 289 次引用
  3. SMoTherSpectre: Exploiting Speculative Execution through Port ContentionAtri Bhattacharyya, Alexandra Sandulescu, Matthias Neugschwandtner, Alessandro Sorniotti 等CCS 2019 · 267 次引用
  4. Port Contention for Fun and ProfitAlejandro Cabrera Aldaya, Billy Bob Brumley, Sohaib ul Hassan, Cesar Pereida García 等S&P 2019 · 240 次引用
  5. CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos 等S&P 2021 · 162 次引用

它引用的 Paper14

  1. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
  2. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  3. Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang 等CCS 2017 · 403 次引用
  4. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  5. ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用

相关 Paper

  1. TLB;DR: Enhancing TLB-based Attacks with TLB Desynchronized Reverse EngineeringAndrei Tatar, Daniël Trujillo, Cristiano Giuffrida, Herbert BosUSENIX Security 2022
  2. TDXploit: Novel Techniques for Single-Stepping and Cache Attacks on Intel TDXFabian Rauscher, Luca Wilke, Hannes Weissteiner, Thomas Eisenbarth 等USENIX Security 2025
  3. DevIOus: Device-Driven Side-Channel Attacks on the IOMMUTaehun Kim, Hyeongjin Park, Seokmin Lee, Seunghee Shin 等S&P 2023
  4. Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSXCraig Disselkoen, David Kohlbrenner, Leo Porter, Dean M. TullsenUSENIX Security 2017 · 186 次引用
  5. TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDXLuca Wilke, Florian Sieck, Thomas EisenbarthCCS 2024 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖