Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks

Hernán Ponce-de-León, Johannes Kinder
8/31/2021
cs.CRcs.PL

Official code: lmu-plai/Kaibyo (4 stars, Java, MIT, last commit 2022-01-21).

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.

Show full abstract

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 art. Due to the axiomatic approach, our models can be rapidly extended to allow our framework to detect new types of attacks and validate defenses against them.

View on arXivView PDF

Code Implementations(1)

lmu-plai/KaibyoOfficial100%
MIT

Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks

41Java, AssemblyJan 27, 20214 years agoMIT

Similar Papers

Cite this paper

@article{poncedelen2021cats,
  title  = {Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks},
  author = {Hernán Ponce-de-León and Johannes Kinder},
  year   = {2021},
  eprint = {2108.13818},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.13818}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.13818.svg)](https://codeofpaper.com/paper/2108.13818)

Discussion