Lune

NDSS2019顶会

Unveiling your keystrokes: A Cache-based Side-channel Attack on Graphics Libraries

Daimeng Wang, Ajaya Neupane, Zhiyun Qian, Nael B. Abu-Ghazaleh, Srikanth V. Krishnamurthy, Edward J. M. Colbert, Paul L. Yu

摘要

Operating systems use shared memory to improve performance. However, as shown in recent studies, attackers can exploit CPU cache side-channels associated with shared memory to extract sensitive information. The attacks that were previously attempted typically only detect the presence of a certain operation and require significant manual analysis to identify and evaluate their effectiveness. Moreover, very few of them target graphics libraries which are commonly used, but difficult to attack. In this paper, we consider the execution time of shared libraries as the side-channel, and showcase a completely automated technique to discover and select exploitable side-channels on shared graphics libraries. In essence, we first collect the cache lines accessed by a victim process during different key presses offline, and then use machine learning to infer the best cache lines (e.g., easily measurable, robust to noise, high information leakage) for a flush and reload attack. We are able to discover effective strategies to classify what keys have been pressed. Using this approach, we not only preclude the need for manual analyses of code and traces — the automated system discovered many previously unknown sidechannels of the type we are interested in, but also achieve high precision in terms of inferring the sensitive information entered on desktop and Android platforms. We show that our approach infers the passwords with lowercase letters and numbers 10,000 1,000,000 times faster than random guessing. For a large fraction of PINs consisting of 4 to 6 digits, we are able to infer them within 20 and 80 guesses respectively. Finally, we suggest ways to mitigate these attacks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • Adversarial Prefetch: New Cross-Core Cache Side Channel Attacks 引用了 ARMageddon: Cache Attacks on Mobile Devices
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences 引用了 Invisible Probe: Timing Attacks with PCIe Congestion Side-channel
  • Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World 引用了 Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World 引用了 ARMageddon: Cache Attacks on Mobile Devices
  • MeshUp: Stateless Cache Side-channel Attack on CPU Mesh 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • 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 引用了 ARMageddon: Cache Attacks on Mobile Devices
  • : Practical Cache Attacks from the Network 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper21

  1. : Practical Cache Attacks from the NetworkMichael Kurth, Ben Gras, Dennis Andriesse, Cristiano Giuffrida 等S&P 2020 · 78 次引用
  2. Invisible Probe: Timing Attacks with PCIe Congestion Side-channelMingtian Tan, Junpeng Wan, Zhe Zhou, Zhou LiS&P 2021 · 52 次引用
  3. Adversarial Prefetch: New Cross-Core Cache Side Channel AttacksYanan Guo, Andrew Zigerelli, Youtao Zhang, Jun YangS&P 2022 · 43 次引用
  4. MeshUp: Stateless Cache Side-channel Attack on CPU MeshJunpeng Wan, Yanxiang Bi, Zhe Zhou, Zhou LiS&P 2022 · 42 次引用
  5. "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security ConferencesDaniel Olszewski, Allison Lu, Carson Stillman, Kevin Warren 等CCS 2023 · 19 次引用

它引用的 Paper8

  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. ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
  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. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher 等S&P 2019 · 201 次引用

相关 Paper

  1. How to 0wn the NAS in Your Spare TimeSanghyun Hong, Michael Davinroy, Yigitcan Kaya, Dana Dachman-Soled 等ICLR 2020 · 4 次引用
  2. Return-Oriented Flush-Reload Side Channels on ARM and Their Implications for Android DevicesXiaokuan Zhang, Yuan Xiao, Yinqian ZhangCCS 2016 · 77 次引用
  3. Page Cache AttacksDaniel Gruss, Erik Kraft, Trishita Tiwari, Michael Schwarz 等CCS 2019 · 55 次引用
  4. There's always a bigger fish: a clarifying analysis of a machine-learning-assisted side-channel attackJack Cook, Jules Drean, Jonathan Behrens, Mengjia YanISCA 2022 · 35 次引用
  5. Eavesdropping user credentials via GPU side channels on smartphonesBoyuan Yang, Ruirong Chen, Kai Huang, Jun Yang 等ASPLOS 2022 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖