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

ConTExT:无泄漏瞬态执行

ConTExT: Leakage-Free Transient Execution

Michael Schwarz, Robert Schilling, Florian Kargl, Moritz Lipp, Claudio Canella, Daniel Gruss

摘要:

乱序执行和推测执行是现代处理器性能和效率的最大贡献者。然而,它们考虑不周,在指令的瞬时执行期间泄漏秘密数据。针对瞬时执行攻击,已经提出了许多解决方案。然而,它们不能完全消除泄漏或引入不可接受的性能损失。在本文中,我们提出了ConTExT,一个体贴的瞬态执行技术。ConTExT的基本思想是秘密可以进入寄存器,但不能暂时离开它们。ConTExT将Spectre从一个不能纯粹用软件解决的问题[53]转变为一个不容易解决但可以用软件解决的问题。为此,ConTExT需要对应用程序、编译器、操作系统和硬件进行最小的修改。ConTExT为存储器中的秘密和寄存器中的秘密提供全面保护。我们评估的安全性和性能的ConTExT。凭借其原则性的方法,它本质上减轻了最近发现的对小处理器缓冲区的微架构数据采样攻击。即使在过度近似时,我们也没有观察到未受保护的代码和数据的性能开销,安全关键型应用程序的开销为71.14%,低于当前推荐的最先进的缓解策略的开销。对于实际工作负载,ConTExT的实际开销低于1%。

英文摘要:

Out-of-order execution and speculative execution are among the biggest contributors to performance and efficiency of modern processors. However, they are inconsiderate, leaking secret data during the transient execution of instructions. Many solutions have been proposed against transient execution attacks. However, they do not eliminate the leakage entirely or introduce unacceptable performance penalties. In this paper, we propose ConTExT, a Considerate Transient Execution Technique. The basic idea of ConTExT is that secrets can enter registers, but not transiently leave them. ConTExT transforms Spectre from a problem that cannot be solved purely in software [53], to a problem that is not easy to solve, but solvable in software. For this, ConTExT requires minimal modifications of applications, compilers, operating systems, and the hardware. ConTExT offers full protection for secrets in memory and secrets in registers. We evaluate the security and performance of ConTExT. With its principled approach it inherently mitigates the recently found microarchitectural data sampling attacks on small processor buffers. Even when over-approximating, we observe no performance overhead for unprotected code and data, and an overhead of 71.14% for security-critical applications, which is below the overhead of currently recommended state-of-the-art mitigation strategies. The actual overhead of ConTExT is below 1% for real-world workloads.

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

↑