Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks
Hern\'an Ponce-de-Le\'on, Johannes Kinder

TL;DR
This paper introduces a lightweight, axiomatic modeling approach for speculative execution attacks like Spectre, enabling rapid extension and validation of defenses using a formal memory model framework.
Contribution
It proposes an axiomatic, CAT-based memory model for speculative semantics, improving extensibility and efficiency over existing operational approaches.
Findings
Framework effectively detects known speculative attacks
Models can be quickly extended to new attack types
Evaluation shows competitive performance with state-of-the-art tools
Abstract
The Spectre family of speculative execution attacks have required a rethinking of formal methods for security. Approaches based on operational speculative semantics have made initial inroads towards finding vulnerable code and validating defenses. However, with each new attack grows the amount of microarchitectural detail that has to be integrated into the underlying semantics. We propose an alternative, light-weight and axiomatic approach to specifying speculative semantics that relies on insights from memory models for concurrency. We use the CAT modeling language for memory consistency to specify execution models that capture speculative control flow, store-to-load forwarding, predictive store forwarding, and memory ordering machine clears. We present a bounded model checking framework parametrized by our speculative CAT models and evaluate its implementation against the state of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Distributed systems and fault tolerance · Software System Performance and Reliability
