arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.06872cs.CRcs.AR
收藏

Revizor:针对投机合约测试黑盒CPU

Revizor: Testing Black-box CPUs against Speculation Contracts

Oleksii Oleksenko, Christof Fetzer, Boris Köpf, Mark Silberstein

摘要:

Spectre和Meltdown等推测性漏洞会暴露推测性执行状态,可利用这些漏洞通过侧通道跨安全域泄漏信息。这些漏洞通常会在很长一段时间内未被发现,因为我们缺乏系统测试CPU的工具来发现它们。在本文中,我们提出了一种方法来自动检测商业黑盒CPU的微架构信息泄漏。我们建立在投机合同,我们聘请指定的CPU的微体系结构状态上的程序执行允许的副作用。我们提出了一个基于模型的关系测试(MRT)技术,以经验评估CPU符合这些规范。我们在一个名为Revizor的测试框架中实现MRT,并在真正的Intel x86 CPU上展示其有效性。Revizor会自动检测一组丰富的合同的违规行为,或指出它们的存在。我们发现的一个亮点是,Revizor成功地自动浮出了Spectre,MDS和LVI,以及几个以前未知的变体。

英文摘要:

Speculative vulnerabilities such as Spectre and Meltdown expose speculative execution state that can be exploited to leak information across security domains via side-channels. Such vulnerabilities often stay undetected for a long time as we lack the tools for systematic testing of CPUs to find them. In this paper, we propose an approach to automatically detect microarchitectural information leakage in commercial black-box CPUs. We build on speculation contracts, which we employ to specify the permitted side effects of program execution on the CPU's microarchitectural state. We propose a Model-based Relational Testing (MRT) technique to empirically assess the CPU compliance with these specifications. We implement MRT in a testing framework called Revizor, and showcase its effectiveness on real Intel x86 CPUs. Revizor automatically detects violations of a rich set of contracts, or indicates their absence. A highlight of our findings is that Revizor managed to automatically surface Spectre, MDS, and LVI, as well as several previously unknown variants.

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

↑