Security Analysis Framework of Transient Execution Attacks on Out-of-Order Processors
Abstract
Transient execution attacks (TEAs) such as Spectre, Meltdown, and Speculative Store Bypass (SSB) exploit modern processor optimizations to leak sensitive data through microarchitectural side channels. Although these attacks use different triggering mechanisms, they share a common goal: creating a transient window in which dependent instructions leave exploitable cache traces. This work presents a reusable Verification IP (VIP) of a two-phase formal security property methodology for statically analyzing Flush+Reload-based TEAs at the RTL level. We apply the proposed method to two open-source RISC-V processors, BOOM v3 and RSD. Furthermore, we validate it on mitigated designs using existing SSB defenses on RSD and our proposed ForcePC mitigation on BOOM v3 respectively, to demonstrate the sensitivity of the proposed VIP. The results show that the proposed methodology can detect Meltdown- and SSB-related vulnerabilities and accurately distinguish vulnerable designs from mitigated ones, demonstrating its effectiveness and reusability for hardware security verification of transient execution attacks.