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

写信给我,我会告诉你秘密--写后写对英特尔CPU的影响

Write Me and I'll Tell You Secrets -- Write-After-Write Effects On Intel CPUs

Jan Philipp Thoma, Tim Güneysu

摘要:

在现代CPU的存储层次结构中,侧通道有着悠久的历史。特别是缓存侧通道被广泛应用于瞬态执行攻击和隐蔽通道。因此,已经提出了许多安全缓存架构。大多数这些架构的目的是通过随机化地址到缓存的映射,使驱逐集的建设不可行。在本文中,我们调查的特点写指令在最近的CPU。我们确定了写+写,这是英特尔CPU上的一个新的侧通道,它会泄露两个地址是否争用同一个缓存集。我们将展示如何写+写可以用于当前缓存架构的驱逐集的快速建设。此外,我们在gem 5中复制了写+写效果,并在ScatterCache的例子中演示了如何利用它来有效地攻击最先进的缓存随机化方案。除了写+写侧通道,我们还展示了如何利用写后写效应来有效地同步CPU内核之间的隐蔽通道通信。这产生了比以前更隐蔽的隐蔽通道通信的潜力。

英文摘要:

There is a long history of side channels in the memory hierarchy of modern CPUs. Especially the cache side channel is widely used in the context of transient execution attacks and covert channels. Therefore, many secure cache architectures have been proposed. Most of these architectures aim to make the construction of eviction sets infeasible by randomizing the address-to-cache mapping. In this paper, we investigate the peculiarities of write instructions in recent CPUs. We identify Write+Write, a new side channel on Intel CPUs that leaks whether two addresses contend for the same cache set. We show how Write+Write can be used for rapid construction of eviction sets on current cache architectures. Moreover, we replicate the Write+Write effect in gem5 and demonstrate on the example of ScatterCache how it can be exploited to efficiently attack state-of-the-art cache randomization schemes. In addition to the Write+Write side channel, we show how Write-After-Write effects can be leveraged to efficiently synchronize covert channel communication across CPU cores. This yields the potential for much more stealthy covert channel communication than before.

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

↑