Lune

HPCA2023Top-tier venue

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

Mulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li, Xiaomeng Yang, Amy Zhang, Yuandong Tian, Hsien-Hsin S. Lee, G. Edward Suh

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. 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit cites Spectre Attacks: Exploiting Speculative Execution
  • Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit cites Meltdown: Reading Kernel Memory from User Space
  • Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud cites Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud cites ARMageddon: Cache Attacks on Mobile Devices
  • Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling cites Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World cites ARMageddon: Cache Attacks on Mobile Devices
  • Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
  • Robust Website Fingerprinting Through the Cache Occupancy Channel cites Spectre Attacks: Exploiting Speculative Execution
  • Robust Website Fingerprinting Through the Cache Occupancy Channel cites Meltdown: Reading Kernel Memory from User Space
  • SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity cites AttackGNN: Red-Teaming GNNs in Hardware Security Using Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 citations
  2. Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and ProfitChang Liu, Dongsheng Wang, Yongqiang Lyu, Pengfei Qiu et al.HPCA 2024 · 9 citations
  3. Uncore Encore: Covert Channels Exploiting Uncore Frequency ScalingYanan Guo, Dingyuan Cao, Xin Xin, Youtao Zhang et al.MICRO 2023 · 9 citations
  4. AttackGNN: Red-Teaming GNNs in Hardware Security Using Reinforcement LearningVasudev Gohil, Satwik Patnaik, Dileep Kalathil, Jeyavijayan RajendranUSENIX Security 2024 · 9 citations
  5. SoK: The Pitfalls of Deep Reinforcement Learning for CybersecurityShae McFadden, Myles Foley, Elizabeth Bates, Ilias Tsingenopoulos et al.USENIX Security 2026 · 7 citations

Builds on29

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  3. ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice et al.USENIX Security 2016 · 451 citations
  4. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher et al.S&P 2019 · 201 citations
  5. Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser et al.USENIX Security 2019 · 159 citations

Related papers

  1. MACTA: A Multi-agent Reinforcement Learning Approach for Cache Timing Attacks and DetectionJiaxun Cui, Xiaomeng Yang, Mulong Luo, Geunbae Lee et al.ICLR 2023
  2. Leaking Information Through Cache LRU StatesWenjie Xiong, Jakub SzeferHPCA 2020 · 54 citations
  3. ClepsydraCache - Preventing Cache Attacks with Time-Based EvictionsJan Philipp Thoma, Christian Niesler, Dominic A. Funke, Gregor Leander et al.USENIX Security 2023
  4. SCAGuard: Detection and Classification of Cache Side-Channel Attacks via Attack Behavior Modeling and Similarity ComparisonLimin Wang, Lei Bu, Fu SongDAC 2023 · 6 citations
  5. AutoLock: Why Cache Attacks on ARM Are Harder Than You ThinkMarc Green, Leandro Rodrigues Lima, Andreas Zankl, Gorka Irazoqui et al.USENIX Security 2017 · 51 citations
Dusk over the sea between two cliffs drawn in fine vertical lines