arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.09336cs.CR
收藏

DECLASSIFLOW:一种用于建模非推测性知识以放宽推测执行安全措施的静态分析(完整版)

DECLASSIFLOW: A Static Analysis for Modeling Non-Speculative Knowledge to Relax Speculative Execution Security Measures (Full Version)

Rutvik Choudhary, Alan Wang, Zirui Neil Zhao, Adam Morrison, Christopher W. Fletcher

AI总结:

针对现有推测执行防御措施性能开销过高的问题,提出DECLASSIFLOW静态分析框架,通过建模非推测执行下的攻击者知识,移除已确定会非推测性泄露的数据的防护,在保证安全的同时降低了常数时代码的防护开销。

摘要:

推测执行攻击破坏了常数时间编程的安全性,而常数时间编程是在密码代码等安全敏感软件中防止微架构侧信道的标准技术。因此,常数时代码还必须部署针对推测执行攻击的防御措施,以防止存储在内存或处理器寄存器中的秘密数据泄露。遗憾的是,现有的防御措施,例如推测加载加固(SLH),只能以极高的性能代价来满足这一强安全保证。\n 本文提出了DECLASSIFLOW,这是一个静态程序分析与防护框架,可高效保护常数时代码免受推测性泄露。DECLASSIFLOW对“攻击者知识”进行建模——即代码的非推测执行固有会传输(或隐式解密)的数据——并在程序中那些已被保证会发生非推测性泄露的位置,静态移除对此类数据的防护。总体而言,DECLASSIFLOW确保了在非推测执行期间不会泄露的数据,在推测执行期间也不会泄露,但其开销比SLH这类保守防护措施更低。

英文摘要:

Speculative execution attacks undermine the security of constant-time programming, the standard technique used to prevent microarchitectural side channels in security-sensitive software such as cryptographic code. Constant-time code must therefore also deploy a defense against speculative execution attacks to prevent leakage of secret data stored in memory or the processor registers. Unfortunately, contemporary defenses, such as speculative load hardening (SLH), can only satisfy this strong security guarantee at a very high performance cost. This paper proposes DECLASSIFLOW, a static program analysis and protection framework to efficiently protect constant-time code from speculative leakage. DECLASSIFLOW models "attacker knowledge" -- data which is inherently transmitted (or, implicitly declassified) by the code's non-speculative execution -- and statically removes protection on such data from points in the program where it is already guaranteed to leak non-speculatively. Overall, DECLASSIFLOW ensures that data which never leaks during the non-speculative execution does not leak during speculative execution, but with lower overhead than conservative protections like SLH.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑