paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Safecracker: Leaking Secrets through Compressed Caches

Safecracker:经由压缩缓存泄露秘密
ASPLOS Proceedings of the Twenty-Fifth International Conference on Architectural Support for Programming Languages and Operating Systems2020匹配度 0/10 · 该论文研究缓存压缩带来的硬件侧信道攻击,属于计算机体系结构与硬件安全领域,与用户关注的程序语言/静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接关联。引用 22 inbox
Po-An Tsai, Andres Sanchez, Christopher W. Fletcher, Daniel Sanchez
crossref: 2026-09-12

AI 速览

一句话:首次分析缓存压缩的安全性,揭示可压缩性侧信道并提出 Pack+Probe 与 Safecracker 攻击,可在 10ms 内窃取密钥。

本文首次对缓存压缩进行安全性分析。作者发现,缓存行的可压缩性会泄露其内容信息,因而压缩缓存引入了一种隐蔽的新型侧信道:仅存储数据就会传递信息。为证明风险,作者提出 Pack+Probe 与 Safecracker 两种技术:前者让攻击者获知受害者缓存行的可压缩性,后者通过策略性修改邻近数据值来高效泄露秘密。在概念验证应用上的评估表明,在常见压缩缓存架构上,Safecracker 可在 10 毫秒内攻破密钥;若结合潜在的内存安全漏洞,还能泄露程序内存的很大一部分。作者讨论了关闭该侧信道的可能方法,并希望阻止不安全的缓存压缩技术进入主流处理器。

问题
缓存压缩是一项可能进入未来处理器的架构技术,但其可压缩性是否会泄露缓存行内容并形成侧信道尚未被分析。
方法
对缓存压缩进行安全分析,提出 Pack+Probe 让攻击者获知受害者缓存行的可压缩性,并提出 Safecracker 通过策略性修改邻近数据值来高效泄露秘密。
评估
在概念验证应用和常见压缩缓存架构上评估,Safecracker 可在不到 10ms 内攻破密钥,并可结合潜在内存安全漏洞泄露大量程序内存。
原文摘要(Abstract)

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-of-concept application shows that, on a common compressed cache architecture, Safecracker lets an attacker compromise a secret key in under 10ms, 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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5399,
  title = {Safecracker: Leaking Secrets through Compressed Caches},
  author = {Po-An Tsai and Andres Sanchez and Christopher W. Fletcher and Daniel Sanchez},
  booktitle = {ASPLOS},
  year = {2020},
  doi = {10.1145/3373376.3378453}
}