arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.13353cs.CR
收藏

CacheOut:通过缓存回收泄漏英特尔CPU上的数据

CacheOut: Leaking Data on Intel CPUs via Cache Evictions

Stephan van Schaik, Marina Minkin, Andrew Kwong, Daniel Genkin, Yuval Yarom

摘要:

最近的瞬时执行攻击,如RIDL,Fallout和ZombieLoad,表明攻击者可以在信息通过微架构缓冲区传输时泄漏信息。这些攻击被英特尔命名为微架构数据采样(MDS),被比作“从消防水管中喝水”,因为攻击者几乎无法控制观察到的数据以及来自何处。由于无法防止缓冲区泄漏,英特尔通过微代码更新发布了对策,当CPU更改安全域时,这些更新将覆盖缓冲区。在这项工作中,我们提出CacheOut,一个新的微体系结构的攻击,能够绕过英特尔的缓冲区覆盖对策。我们观察到,当数据从CPU的L1缓存中被驱逐时,它通常被传输回泄漏的CPU缓冲区,攻击者可以在那里恢复数据。CacheOut通过允许攻击者选择从CPU的L1缓存中泄漏哪些数据以及泄漏缓存行的哪一部分来改进以前的MDS攻击。我们证明了CacheOut可以跨多个安全边界泄漏信息,包括进程,虚拟机,用户和内核空间之间的边界,以及SGX飞地。

英文摘要:

Recent transient-execution attacks, such as RIDL, Fallout, and ZombieLoad, demonstrated that attackers can leak information while it transits through microarchitectural buffers. Named Microarchitectural Data Sampling (MDS) by Intel, these attacks are likened to "drinking from the firehose", as the attacker has little control over what data is observed and from what origin. Unable to prevent the buffers from leaking, Intel issued countermeasures via microcode updates that overwrite the buffers when the CPU changes security domains. In this work we present CacheOut, a new microarchitectural attack that is capable of bypassing Intel's buffer overwrite countermeasures. We observe that as data is being evicted from the CPU's L1 cache, it is often transferred back to the leaky CPU buffers where it can be recovered by the attacker. CacheOut improves over previous MDS attacks by allowing the attacker to choose which data to leak from the CPU's L1 cache, as well as which part of a cache line to leak. We demonstrate that CacheOut can leak information across multiple security boundaries, including those between processes, virtual machines, user and kernel space, and from SGX enclaves.

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

↑