Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Open Access Articles
  3. MIT Open Access Articles
  4. Safecracker: Leaking Secrets through Compressed Caches
This is not the latest version of this item. The latest version can be found here.

Safecracker: Leaking Secrets through Compressed Caches

Thumbnail Image
Download
Name

2020.safecracker.asplos.pdf

Description
Accepted version
Size

458.02 KB

Format

Adobe PDF

Checksum (MD5)

8e943e173a370f5b6a6b4048339cbd48

sword-2022-07-19T15:52:47.original.xml (130 B)
Original SWORD entry document
Author(s)
Tsai, Po-An
•
Sanchez, Andres
•
Fletcher, Christopher W
•
Sanchez, Daniel
Date Issued
2020
Journal
International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS
Publisher
Association for Computing Machinery (ACM)
Citation
Tsai, Po-An, Sanchez, Andres, Fletcher, Christopher W and Sanchez, Daniel. 2020. "Safecracker: Leaking Secrets through Compressed Caches." International Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS.
Version
Author's final manuscript
Abstract
© 2020 Copyright held by the owner/author(s). Publication rights licensed to ACM. 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 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.
Terms of Use
Creative Commons Attribution-Noncommercial-Share Alike
http://creativecommons.org/licenses/by-nc-sa/4.0/
Persistent DSpace Link
https://hdl.handle.net/1721.1/143867
DOI of Published Version
10.1145/3373376.3378453
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.