arXiv:2610.07691cs.CROct 2026

Manuscript Offprint

arXiv:2610.07691

PerSpectron: Detecting Invariant Footprints of Microarchitectural Attacks with Perceptron

Samira Mirbagher-Ajorpaz, Gilles Pokam, Esmaeil Mohammadian-Koruyeh, Elba Garza, Nael Abu-Ghazaleh, Daniel A. Jiménez

Author manuscript

2020 53rd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO), pp. 1124-1137 (2020)

DOI: https://doi.org/10.1109/MICRO50266.2020.00093

© 2020 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

PerSpectron: Detecting Invariant Footprints of Microarchitectural Attacks with Perceptron

Samira Mirbagher-Ajorpaz

Computer Science and Engineering

Texas A&M University

College Station, USA

samiramir@tamu.edu

Elba Garza

Computer Science and Engineering

Texas A&M University

College Station, USA

elba@tamu.edu

Gilles Pokam

Intel Labs

Santa Clara, USA

gilles.a.pokam@intel.com

Esmaeil Mohammadian-Koruyeh

Computer Science and Engineering

University of California, Riverside

Riverside, USA

emoha004@ucr.edu

Nael Abu-Ghazaleh

Computer Science and Engineering

University of California, Riverside

Riverside, USA

naelag@ucr.edu

Daniel A. Jiménez

Computer Science and Engineering

Texas A&M University

College Station, USA

djimenez@acm.org

Abstract—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, breakingKSLR, 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.

Index Terms—microarchitectural attack defenses, secure architectures, anomaly detection

References (67)