AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks

Mulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li, Xiaomeng Yang +4 more
8/17/2022
cs.CRcs.AR
rl

Official code: facebookresearch/AutoCAT (48 stars, Python, GPL-2.0, last commit 2023-05-19).

Abstract

The aggressive performance optimizations in modern microprocessors can result in security vulnerabilities. For example, timing-based attacks in processor caches can steal secret keys or break randomization.

Show full abstract

So far, finding cache-timing vulnerabilities is mostly performed by human experts, which is inefficient and laborious. There is a need for automatic tools that can explore vulnerabilities given that unreported vulnerabilities leave the systems at risk. In this paper, we propose AutoCAT, an automated exploration framework that finds cache timing-channel attack sequences using reinforcement learning (RL). Specifically, AutoCAT formulates the cache timing-channel attack as a guessing game between an attack program and a victim program holding a secret. This guessing game can thus be solved via modern deep RL techniques. AutoCAT can explore attacks in various cache configurations without knowing design details and under different attack and victim program configurations. AutoCAT can also find attacks to bypass certain detection and defense mechanisms. In particular, AutoCAT discovered StealthyStreamline, a new attack that is able to bypass performance counter-based detection and has up to a 71% higher information leakage rate than the state-of-the-art LRU-based attacks on real processors. AutoCAT is the first of its kind in using RL for crafting microarchitectural timing-channel attack sequences and can accelerate cache timing-channel exploration for secure microprocessor designs.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks

482Python, CDec 14, 20223 years agoGPL-2.0

Similar Papers

Cite this paper

@article{luo2022autocat,
  title  = {AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks},
  author = {Mulong Luo and Wenjie Xiong and Geunbae Lee and Yueying Li and Xiaomeng Yang and Amy Zhang and Yuandong Tian and Hsien-Hsin S. Lee and G. Edward Suh},
  year   = {2022},
  eprint = {2208.08025},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.08025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.08025.svg)](https://codeofpaper.com/paper/2208.08025)

Discussion