您不应绕过:使用数据依赖性来防止边界检查绕过
You Shall Not Bypass: Employing data dependencies to prevent Bounds Check Bypass
摘要:
最近发现了一类称为Spectre的新型微架构攻击,引起了安全社区的注意,因为这些攻击可以绕过许多传统的防御机制。其中一种攻击-边界检查绕过-既不能在系统级别也不能在体系结构级别有效地解决,并且需要对应用程序本身进行更改。到目前为止,建议的缓解措施涉及串行化,这会减少CPU资源的使用并导致高开销。在这份报告中,我们探讨了在没有完全序列化的情况下延迟易受攻击的指令的方法。我们讨论了实现它的几种方法,并将它们与基于类似想法的现有解决方案投机性负载硬化进行比较。这种类型的解决方案在Phoenix基准测试套件中造成60%的开销,这与造成440%减速的完全序列化相比是有利的。
英文摘要:
A recent discovery of a new class of microarchitectural attacks called Spectre picked up the attention of the security community as these attacks can circumvent many traditional mechanisms of defense. One of the attacks---Bounds Check Bypass---can neither be efficiently solved on system nor architectural levels and requires changes in the application itself. So far, the proposed mitigations involved serialization, which reduces the usage of CPU resources and causes high overheads. In this report, we explore methods of delaying the vulnerable instructions without complete serialization. We discuss several ways of achieving it and compare them with Speculative Load Hardening, an existing solution based on a similar idea. The solutions of this type cause 60% overhead across Phoenix benchmark suite, which compares favorably to the full serialization causing 440% slowdown.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。