arXiv · 2601.22978
Triosecuris: Formally Verified Protection Against Speculative Control-Flow Hijacking
Abstract
This paper introduces Triosecuris, a formally verified defense against Spectre BTB, RSB, and PHT that combines CET-style hardware-assisted control-flow integrity with compiler-inserted speculative load hardening (SLH). Triosecuris is based on the novel observation that in the presence of CET-style protection, we can precisely detect BTB misspeculation for indirect calls and RSB misspeculation for returns and set the SLH misspeculation flag. We formalize Triosecuris as a transformation in Rocq and provide a machine-checked proof that it achieves relative security: any transformed program running with speculation leaks no more than what the source program leaks without speculation. This strong security guarantee applies to arbitrary programs, even those not following the cryptographic constant-time programming discipline.
Explore related subjects
Keep this discovery
Jonathan Baumann, Yonghyun Kim, Yan Farba, Catalin Hritcu, Julay Leatherman-Brooks. 2026-01-30. Triosecuris: Formally Verified Protection Against Speculative Control-Flow Hijacking. https://doi.org/10.1109/csf68417.2026.00036
Cite the original work for its findings. Save a collection to share your selection of sources.