CacheQuery: learning replacement policies from hardware caches
Pepe Vila, Pierre Ganty, Marco Guarnieri, Boris Köpf
摘要
We show how to infer deterministic cache replacement policies using off-the-shelf automata learning and program synthesis techniques. For this, we construct and chain two abstractions that expose the cache replacement policy of any set in the cache hierarchy as a membership oracle to the learning algorithm, based on timing measurements on a silicon CPU. Our experiments demonstrate an advantage in scope and scalability over prior art and uncover two previously undocumented cache replacement policies.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Osiris: Automated Discovery of Microarchitectural Side Channels 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Osiris: Automated Discovery of Microarchitectural Side Channels 引用了 Theory and Practice of Finding Eviction Sets
- Spook.js: Attacking Chrome Strict Site Isolation via Speculative Execution 引用了 SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
- Spook.js: Attacking Chrome Strict Site Isolation via Speculative Execution 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScript
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Theory and Practice of Finding Eviction Sets
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Leaking Information Through Cache LRU States
- Speculative interference attacks: breaking invisible speculation schemes 引用了 Leaking Information Through Cache LRU States
引用它的顶会 Paper15
- SMASH: Synchronized Many-sided Rowhammer Attacks from JavaScriptFinn de Ridder, Pietro Frigo, Emanuele Vannacci, Herbert Bos 等USENIX Security 2021 · 124 次引用
- Osiris: Automated Discovery of Microarchitectural Side ChannelsDaniel Weber, Ahmad Ibrahim, Hamed Nemati, Michael Schwarz 等USENIX Security 2021 · 75 次引用
- Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu 等ASPLOS 2021 · 69 次引用
- Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention AttacksAntoon Purnal, Furkan Turan, Ingrid VerbauwhedeCCS 2021 · 55 次引用
- Spook.js: Attacking Chrome Strict Site Isolation via Speculative ExecutionAyush Agarwal, Sioli O'Connell, Jason Kim, Shaked Yehezkel 等S&P 2022 · 32 次引用
它引用的 Paper6
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
- CaSym: Cache Aware Symbolic Execution for Side Channel Detection and MitigationRobert Brotzman, Shen Liu, Danfeng Zhang, Gang Tan 等S&P 2019 · 77 次引用
- Leaking Information Through Cache LRU StatesWenjie Xiong, Jakub SzeferHPCA 2020 · 54 次引用
- Reverse Engineering x86 Processor MicrocodePhilipp Koppe, Benjamin Kollenda, Marc Fyrbiak, Christian Kison 等USENIX Security 2017 · 31 次引用
相关 Paper
- An Imitation Learning Approach for Cache ReplacementEvan Zheran Liu, Milad Hashemi, Kevin Swersky, Parthasarathy Ranganathan 等ICML 2020 · 108 次引用
- Designing a Cost-Effective Cache Replacement Policy using Machine LearningSubhash Sethumurugan, Jieming Yin, John SartoriHPCA 2021 · 81 次引用
- CacheMind: From Miss Rates to Why - Natural-Language, Trace-Grounded Reasoning for Cache ReplacementKaushal Mhapsekar, Azam Ghanbari, Bita Aslrousta, Samira Mirbagher AjorpazASPLOS 2026
- AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing AttacksMulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li 等HPCA 2023 · 3 次引用
- SpecuSym: speculative symbolic execution for cache timing leak detectionShengjian Guo, Yueqi Chen, Peng Li, Yueqiang Cheng 等ICSE 2020 · 34 次引用
