ProSpeCT: Provably Secure Speculation for the Constant-Time Policy - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

ProSpeCT: Provably Secure Speculation for the Constant-Time Policy

Abstract

We propose ProSpeCT, a generic formal processor model providing provably secure speculation for the constant-time policy. For constant-time programs under a non-speculative semantics, ProSpeCT guarantees that speculative and out-of-order execution cause no microarchitectural leaks. This guarantee is achieved by tracking secrets in the processor pipeline and ensuring that they do not influence the microarchitectural state during speculative execution. Our formalization covers a broad class of speculation mechanisms, generalizing prior work. As a result, our security proof covers all known Spectre attacks, including load value injection (LVI) attacks. In addition to the formal model, we provide a prototype hardware implementation of ProSpeCT on a RISC-V processor and show evidence of its low impact on hardware cost, performance, and required software changes. In particular, the experimental evaluation confirms our expectation that for a compliant constant-time binary, enabling ProSpeCT incurs no performance overhead.

Dates and versions

hal-04389436 , version 1 (11-01-2024)

Licence

Attribution

Identifiers

Cite

Lesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin, Tamara Rezk, et al.. ProSpeCT: Provably Secure Speculation for the Constant-Time Policy. USENIX Security Symposium, Aug 2023, Anaheim, France. ⟨hal-04389436⟩

Collections

CEA INRIA INRIA2
18 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More