Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks
Title | Cats vs. Spectre: An Axiomatic Approach to Modeling Speculative Execution Attacks |
Publication Type | Conference Paper |
Year of Publication | 2022 |
Authors | Ponce-de-Leon, Hernán, Kinder, Johannes |
Conference Name | 2022 IEEE Symposium on Security and Privacy (SP) |
Date Published | may |
Keywords | composability, Concurrency, Concurrent computing, Metrics, microarchitecture, Out of order, Predictive models, privacy, Prototypes, pubcrawl, resilience, Resiliency, security, Semantics |
Abstract | The SPECTRE family of speculative execution attacks has 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, lightweight 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 parameterized 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. |
Notes | ISSN: 2375-1207 |
DOI | 10.1109/SP46214.2022.9833774 |
Citation Key | ponce-de-leon_cats_2022 |