FSLH:灵活的机械推测加载硬化
FSLH: Flexible Mechanized Speculative Load Hardening
AI总结:
本文提出灵活的SLH方法,结合选择性和Ultimate SLH的优点,提供高效的推测加载硬化方案,确保程序在推测执行时不会泄露额外信息。
摘要:
Spectre推测侧信道攻击对安全构成了重大威胁。研究显示,遵循加密常量时间纪律的代码可以使用SLH的变体高效地抵御Spectre v1。然而,SLH对于非加密代码保护不足,导致引入Ultimate SLH,它为任意程序提供保护,但因保守地假设所有数据都是秘密,导致过大开销。本文引入了灵活的SLH概念,通过推广选择性SLH和Ultimate SLH,实现两者的最佳结合。我们为这类转换提供适当的保安定义:任何经过转换的程序在推测运行时不应泄露比源程序顺序泄露更多的信息。我们使用Rocq证明者正式证明,两个灵活的SLH变体强制执行这种相对安全保证。作为简单的推论,我们还发现,在我们的设置中,Ultimate SLH强制执行我们的相对安全概念,而两个选择性SLH变体强制执行推测常量时间安全。
英文摘要:
The Spectre speculative side-channel attacks pose formidable threats for security. Research has shown that code following the cryptographic constant-time discipline can be efficiently protected against Spectre v1 using a selective variant of Speculative Load Hardening (SLH). SLH was, however, not strong enough for protecting non-cryptographic code, leading to the introduction of Ultimate SLH, which provides protection for arbitrary programs, but has too large overhead for general use, since it conservatively assumes that all data is secret. In this paper we introduce a flexible SLH notion that achieves the best of both worlds by generalizing both Selective and Ultimate SLH. We give a suitable security definition for such transformations protecting arbitrary programs: any transformed program running with speculation should not leak more than what the source program leaks sequentially. We formally prove using the Rocq prover that two flexible SLH variants enforce this relative security guarantee. As easy corollaries we also obtain that, in our setting, Ultimate SLH enforces our relative security notion, and two selective SLH variants enforce speculative constant-time security.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。