PerSpectron: Detecting Invariant Footprints of Microarchitectural Attacks with Perceptron
Samira Mirbagher Ajorpaz, Gilles Pokam, Esmaeil Mohammadian Koruyeh, Elba Garza, Nael B. Abu-Ghazaleh, Daniel A. Jiménez
摘要
Detecting microarchitectural attacks is critical given their proliferation in recent years. Many of these attacks exhibit intrinsic behaviors essential to the nature of their operation, such as creating contention or misspeculation. This study systematically investigates the microarchitectural footprints of hardware-based attacks and shows how they can be detected and classified using an efficient hardware predictor. We present a methodology to use correlated microarchitectural statistics to design a hardware-based neural predictor capable of detecting and classifying microarchitectural attacks before data is leaked. Once a potential attack is detected, it can be proactively mitigated by triggering appropriate countermeasures.
Our hardware-based detector, PerSpectron, uses perceptron learning to identify and classify attacks. Perceptron-based prediction has been successfully used in branch prediction and other hardware-based applications. PerSpectron has minimal performance overhead. The statistics being monitored have similar overhead to already existing performance monitoring counters. Additionally, PerSpectron operates outside the processor's critical paths, offering security without added computation delay. Our system achieves a usable detection rate for detecting attacks such as SpectreV1, SpectreV2, SpectreRSB, Meltdown, break-ingKSLR, Flush+Flush, Flush+Reload, Prime+Probe as well as cache-attack calibration programs. We also believe that the large number of diverse microarchitectural features offers both evasion resilience and interpretability-features not present in previous hardware security detectors. We detect these attacks early enough to avoid any data leakage, unlike previous work that triggers countermeasures only after data has been exposed.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 Spectre Attacks: Exploiting Speculative Execution
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 RIDL: Rogue In-Flight Data Load
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 Meltdown: Reading Kernel Memory from User Space
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
- Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling 引用了 EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security
- Uncore Encore: Covert Channels Exploiting Uncore Frequency Scaling 引用了 AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks
- GateBleed: Exploiting On-Core Accelerator Power Gating for High Performance and Stealthy Attacks on AI 引用了 Spectre Attacks: Exploiting Speculative Execution
- GateBleed: Exploiting On-Core Accelerator Power Gating for High Performance and Stealthy Attacks on AI 引用了 EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & Security
- GateBleed: Exploiting On-Core Accelerator Power Gating for High Performance and Stealthy Attacks on AI 引用了 RIDL: Rogue In-Flight Data Load
- GateBleed: Exploiting On-Core Accelerator Power Gating for High Performance and Stealthy Attacks on AI 引用了 Meltdown: Reading Kernel Memory from User Space
- RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load 引用了 Meltdown: Reading Kernel Memory from User Space
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
- AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks 引用了 Meltdown: Reading Kernel Memory from User Space
- A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
引用它的顶会 Paper6
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & SecuritySamira Mirbagher Ajorpaz, Daniel Moghimi, Jeffrey Neal Collins, Gilles Pokam 等MICRO 2022 · 23 次引用
- To Cross, or Not to Cross Pages for Prefetching?Georgios Vavouliotis, Martí Torrents, Boris Grot, Kleovoulos Kalaitzidis 等HPCA 2025 · 10 次引用
- Uncore Encore: Covert Channels Exploiting Uncore Frequency ScalingYanan Guo, Dingyuan Cao, Xin Xin, Youtao Zhang 等MICRO 2023 · 9 次引用
- GateBleed: Exploiting On-Core Accelerator Power Gating for High Performance and Stealthy Attacks on AIJoshua Kalyanapu, Farshad Dizani, Darsh Asher, Azam Ghanbari 等MICRO 2025 · 3 次引用
- AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing AttacksMulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li 等HPCA 2023 · 3 次引用
它引用的 Paper10
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang 等CCS 2017 · 403 次引用
相关 Paper
- Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private DataJose Rodrigo Sanchez Vicarte, Pradyumna Shome, Nandeeka Nayak, Caroline Trippel 等ISCA 2021 · 29 次引用
- Modeling, Derivation, and Automated Analysis of Branch Predictor Security VulnerabilitiesQuancheng Wang, Ming Tang, Ke Xu, Han WangHPCA 2024 · 5 次引用
- Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf 等USENIX Security 2023
- SpecASan: Mitigating Transient Execution Attacks Using Speculative Address SanitizationSaber Ganjisaffar, Esmaeil Mohmmadian Koruyeh, Jason Zellmer, Hodjat Asghari Esfeden 等ISCA 2025 · 1 次引用
- New Predictor-Based Attacks in ProcessorsShuwen Deng, Jakub SzeferDAC 2021 · 7 次引用
