Logo image
Relative Security: (Dis)Proving Resilience Against Semantic Optimization Vulnerabilities in Isabelle/HOL
Journal article   Open access   Peer reviewed

Relative Security: (Dis)Proving Resilience Against Semantic Optimization Vulnerabilities in Isabelle/HOL

John Derrick, Brijesh Dongol, Chelsea Edmonds, Matt Griffin, Andrei Popescu and Jamie Wright
Journal of automated reasoning, Vol.69(4), p.31
18/11/2025

Abstract

Computer Science, Artificial Intelligence Science & Technology Computer Science Technology
Meltdown and Spectre are vulnerabilities known as transient execution vulnerabilities, where an attacker exploits speculative execution (a semantic optimization present in most modern processors) to break confidentiality. We introduce relative security, a general notion of information-flow security that models this type of vulnerability by contrasting the leaks that are possible in a "vanilla" semantics with those possible in a different semantics, often obtained from the vanilla semantics via some optimizations. We describe incremental proof methods, in the style of Goguen and Meseguer's unwinding, both for proving and for disproving relative security, and deploy these to formally establish the relative (in)security of some standard Spectre examples. Both the abstract results and the case studies have been mechanized in the Isabelle/HOL theorem prover. This paper is an extension of an earlier conference paper that provides significantly more detail on the Isabelle formalization and the unwinding proof process.
url
https://doi.org/10.1007/s10817-025-09744-7View
Published (Version of record) Open CC BY V4.0

Metrics

1 Record Views

Details

Logo image

Usage Policy