Lune

ASPLOS2020顶会

Safecracker: Leaking Secrets through Compressed Caches

Po-An Tsai, Andrés Sánchez, Christopher W. Fletcher, Daniel Sánchez

摘要

The hardware security crisis brought on by recent speculative execution attacks has shown that it is crucial to adopt a security-conscious approach to architecture research, analyzing the security of promising architectural techniques before they are deployed in hardware.

This paper offers the first security analysis of cache compression, one such promising technique that is likely to appear in future processors. We find that cache compression is insecure because the compressibility of a cache line reveals information about its contents. Compressed caches introduce a new side channel that is especially insidious, as simply storing data transmits information about it.

We present two techniques that make attacks on compressed caches practical. Pack+Probe allows an attacker to learn the compressibility of victim cache lines, and Safecracker leaks secret data efficiently by strategically changing the values of nearby data. Our evaluation on a proof-ofconcept application shows that, on a common compressed cache architecture, Safecracker lets an attacker compromise a secret key in under 10 ms, and worse, leak large fractions of program memory when used in conjunction with latent memory safety vulnerabilities. We also discuss potential ways to close this new compression-induced side channel. We hope this work prevents insecure cache compression techniques from reaching mainstream processors.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • GPU.zip: On the Side-Channel Implications of Hardware-Based Graphical Data Compression 引用了 Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private Data
  • Hacky Racers: Exploiting Instruction-Level Parallelism to Generate Stealthy Fine-Grained Timers 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Hacky Racers: Exploiting Instruction-Level Parallelism to Generate Stealthy Fine-Grained Timers 引用了 Meltdown: Reading Kernel Memory from User Space
  • Hacky Racers: Exploiting Instruction-Level Parallelism to Generate Stealthy Fine-Grained Timers 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private Data 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private Data 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private Data 引用了 Meltdown: Reading Kernel Memory from User Space
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest 引用了 Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private Data
  • Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest 引用了 Meltdown: Reading Kernel Memory from User Space
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Augury: Using Data Memory-Dependent Prefetchers to Leak Data at RestJose Rodrigo Sanchez Vicarte, Michael Flanders, Riccardo Paccagnella, Grant Garrett-Grossman 等S&P 2022 · 66 次引用
  2. 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 次引用
  3. GPU.zip: On the Side-Channel Implications of Hardware-Based Graphical Data CompressionYingchen Wang, Riccardo Paccagnella, Zhao Gang, Willy R. Vasquez 等S&P 2024 · 17 次引用
  4. Hacky Racers: Exploiting Instruction-Level Parallelism to Generate Stealthy Fine-Grained TimersHaocheng Xiao, Sam AinsworthASPLOS 2023 · 11 次引用
  5. Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel 等MICRO 2025 · 8 次引用

它引用的 Paper19

  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. Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta 等USENIX Security 2016 · 594 次引用
  5. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用

相关 Paper

  1. Peek-a-Walk: Leaking Secrets via Page Walk Side ChannelsAlan Wang, Boru Chen, Yingchen Wang, Christopher W. Fletcher 等S&P 2025
  2. Adversarial Prefetch: New Cross-Core Cache Side Channel AttacksYanan Guo, Andrew Zigerelli, Youtao Zhang, Jun YangS&P 2022 · 43 次引用
  3. Composable Cachelets: Protecting Enclaves from Cache Side-Channel AttacksDaniel Townley, Kerem Arikan, Yu David Liu, Dmitry Ponomarev 等USENIX Security 2022
  4. Leaking Information Through Cache LRU StatesWenjie Xiong, Jakub SzeferHPCA 2020 · 54 次引用
  5. MetaLeak: Uncovering Side Channels in Secure Processor Architectures Exploiting MetadataMd Hafizul Islam Chowdhuryy, Hao Zheng, Fan YaoISCA 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖