arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12108cs.CRcs.AR
收藏

ProSpeCT:面向常数时间策略的可证明安全推测机制(扩展版)

ProSpeCT: Provably Secure Speculation for the Constant-Time Policy (Extended version)

Lesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin, Tamara Rezk, Frank Piessens

AI总结:

本文提出 ProSpeCT 形式化处理器模型,通过在流水线中追踪秘密信息,为常数时间程序提供可证明安全的推测执行,覆盖包括 LVI 在内的所有已知 Spectre 攻击,并在 RISC-V 原型上验证了零性能开销。

摘要:

我们提出 ProSpeCT,一个通用的形式化处理器模型,为常数时间策略提供可证明安全的推测执行。对于在非推测语义下满足常数时间特性的程序,ProSpeCT 保证推测执行和乱序执行不会造成任何微架构泄露。该保证通过在处理器流水线中追踪秘密信息,并确保这些秘密信息在推测执行期间不会影响微架构状态来实现。我们的形式化框架涵盖广泛的推测机制类别,推广了先前的工作。因此,我们的安全性证明覆盖所有已知的 Spectre 攻击,包括加载值注入(LVI)攻击。除了形式化模型之外,我们还在 RISC-V 处理器上提供了 ProSpeCT 的原型硬件实现,并展示了其在硬件成本、性能和所需软件改动方面影响较低的实验证据。特别是,实验评估证实了我们的预期:对于符合常数时间要求的二进制程序,启用 ProSpeCT 不会引入任何性能开销。

英文摘要:

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.

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

↑