Lune

HPCA2020顶会

Leaking Information Through Cache LRU States

Wenjie Xiong, Jakub Szefer

摘要

The Least-Recently Used cache replacement policy and its variants are widely deployed in modern processors. This paper shows for the first time in detail that the LRU states of caches can be used to leak information: any access to a cache by a sender will modify the LRU state, and the receiver is able to observe this through a timing measurement. This paper presents LRU timing-based channels both when the sender and the receiver have shared memory, e.g., shared library data pages, and when they are separate processes without shared memory. In addition, the new LRU timing-based channels are demonstrated on both Intel and AMD processors in scenarios where the sender and the receiver are sharing the cache in both hyper-threaded setting and time-sliced setting. The transmission rate of the LRU channels can be up to 600Kbps per cache set in the hyper-threaded setting. Different from the majority of existing cache channels which require the sender to trigger cache misses, the new LRU channels work with the sender only having cache hits, making the channel faster and more stealthy. This paper also demonstrates that the new LRU channels can be used in transient execution attacks, e.g., Spectre. Further, this paper shows that the LRU channels pose threats to existing secure cache designs, and this work demonstrates the LRU channels affect the secure PL cache. The paper finishes by discussing and evaluating possible defenses.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Meltdown: Reading Kernel Memory from User Space
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Speculative interference attacks: breaking invisible speculation schemes
  • ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
  • 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
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 CacheQuery: learning replacement policies from hardware caches
  • Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Spectre Attacks: Exploiting Speculative Execution
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Meltdown: Reading Kernel Memory from User Space
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • Speculative interference attacks: breaking invisible speculation schemes 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Speculative interference attacks: breaking invisible speculation schemes 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
  • Speculative interference attacks: breaking invisible speculation schemes 引用了 CacheQuery: learning replacement policies from hardware caches
  • Speculative interference attacks: breaking invisible speculation schemes 引用了 Meltdown: Reading Kernel Memory from User Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. DOLMA: Securing Speculation with the Principle of Transient Non-ObservabilityKevin Loughlin, Ian Neal, Jiacheng Ma, Elisa Tsai 等USENIX Security 2021 · 94 次引用
  2. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
  3. Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention AttacksAntoon Purnal, Furkan Turan, Ingrid VerbauwhedeCCS 2021 · 55 次引用
  4. Adversarial Prefetch: New Cross-Core Cache Side Channel AttacksYanan Guo, Andrew Zigerelli, Youtao Zhang, Jun YangS&P 2022 · 43 次引用
  5. CacheQuery: learning replacement policies from hardware cachesPepe Vila, Pierre Ganty, Marco Guarnieri, Boris KöpfPLDI 2020 · 38 次引用

它引用的 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. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
  4. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  5. ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用

相关 Paper

  1. I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan 等ISCA 2021 · 59 次引用
  2. Exploitation of Security Vulnerability on RetirementKe Xu, Ming Tang, Quancheng Wang, Han WangHPCA 2024 · 3 次引用
  3. Abusing Cache Line Dirty States to Leak Information in Commercial ProcessorsYujie Cui, Chun Yang, Xu ChengHPCA 2022 · 10 次引用
  4. RELOAD+REFRESH: Abusing Cache Replacement Policies to Perform Stealthy Cache AttacksSamira Briongos, Pedro Malagón, José Manuel Moya, Thomas EisenbarthUSENIX Security 2020
  5. TimeCache: Using Time to Eliminate Cache Side Channels when Sharing SoftwareDivya Ojha, Sandhya DwarkadasISCA 2021 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖