EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Exorcist: Enabling Atomic-Level Runtime Detection of Spectre Attacks using Precise Event Based Sampling

Hao Jia, Haoyu Ma, Changfeng Ding, Jinku Li

Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 2235-2258

DOI: 10.1145/3808107 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Hao Jia und 3 weiteren Autor:innen. Die Arbeit nennt 67 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: The Beijing-Tianjin-Hebei Natural Science Cooperation Project, The Talent Fund of Beijing Jiaotong University, The Key Research and Development Program of Shaanxi.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

While being key hardware techniques for improving the performance of modern processors, the speculative execution mechanisms also lead to side-channel attacks, which pose significant threats to the security of computer systems. While researchers have proposed various solutions to mitigate the threat posed by speculative attacks, most existing approaches have focused on offline static vulnerability analysis, which suffers from significant limitations of incompleteness and poor scalability. Based on Intel's Precise Event Based Sampling (PEBS) technique, this paper proposes Exorcist, a novel runtime framework for detecting Spectre-PHT attacks at the atomic level. Leveraging the key observation that the atomic execution of a Spectre-PHT gadget triggers both a cache miss and a branch mis-precision in a fixed sequence, Exorcist uses carefully configured PEBS monitoring to efficiently capture all related fine-grained hardware performance events, then launches a kernel- and user-level collaborated taint analysis to effectively pinpoint Spectre-PHT gadgets that have actually exploited vulnerable speculative executions. Our approach significantly reduces the amount of native instructions needed to be processed to confirm actual Spectre exploitation, making it capable of achieving high accuracy and a negligible false positive rate with second-level response time. We have implemented a prototype of Exorcist and performed a comprehensive evaluation on it. Experimental results indicate that Exorcist can efficiently detect Spectre-PHT attacks at runtime with acceptable performance overhead, including JIT-compiled Spectre-PHT payloads written in JavaScript that are beyond the reach of existing offline analysis-based approaches.

Förderung

  • The Beijing-Tianjin-Hebei Natural Science Cooperation Project
  • The Talent Fund of Beijing Jiaotong University
  • The Key Research and Development Program of Shaanxi
  • The ‘111 Center’

Zitieren

APA

Jia, H., Ma, H., Ding, C., & Li, J. (2026). Exorcist: Enabling Atomic-Level Runtime Detection of Spectre Attacks using Precise Event Based Sampling. Proceedings of the ACM on Software Engineering, 3(FSE), 2235-2258. https://doi.org/10.1145/3808107

Vancouver

Jia H, Ma H, Ding C, Li J. Exorcist: Enabling Atomic-Level Runtime Detection of Spectre Attacks using Precise Event Based Sampling. Proceedings of the ACM on Software Engineering. 2026;3(FSE):2235-2258. doi:10.1145/3808107

BibTeX
@article{Jia2026,
  author = {Jia, Hao and Ma, Haoyu and Ding, Changfeng and Li, Jinku},
  title = {Exorcist: Enabling Atomic-Level Runtime Detection of Spectre Attacks using Precise Event Based Sampling},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {2235--2258},
  doi = {10.1145/3808107}
}
Kostenlos starten →