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

页面缓存攻击

Page Cache Attacks

Daniel Gruss, Erik Kraft, Trishita Tiwari, Michael Schwarz, Ari Trachtenberg, Jason Hennessey, Alex Ionescu, Anders Fogh

摘要:

我们提出了一种新的硬件无关的侧信道攻击,目标是现代计算机系统中最基本的软件缓存之一:操作系统页面缓存。页面缓存是一个纯软件缓存,包含所有磁盘支持的页面,包括程序二进制文件,共享库和其他文件,因此我们的攻击可以跨内核和CPU工作。我们的侧通道允许对其他进程的一些内存访问进行无特权监视,在Linux上的空间分辨率为4KB,时间分辨率为2微秒(限制为每秒6.7次测量),在Windows上为466纳秒(限制为每秒223次测量);这与当前最先进的缓存攻击大致相同。我们通过演示不同的本地攻击,包括绕过高速隐蔽通道的沙箱,定时用户界面修复攻击和恢复自动生成的临时密码的攻击,系统地分析了我们的侧通道。我们进一步表明,我们可以权衡侧通道的硬件不可知属性的远程利用。我们证明了这一点,通过一个低调的远程隐蔽通道,使用这个页面缓存侧通道,通过无害的服务器请求从恶意发送方进程中泄露信息。最后,我们提出了一些缓解我们的攻击,这已被操作系统供应商承认,并预定为未来的安全补丁。

英文摘要:

We present a new hardware-agnostic side-channel attack that targets one of the most fundamental software caches in modern computer systems: the operating system page cache. The page cache is a pure software cache that contains all disk-backed pages, including program binaries, shared libraries, and other files, and our attacks thus work across cores and CPUs. Our side-channel permits unprivileged monitoring of some memory accesses of other processes, with a spatial resolution of 4KB and a temporal resolution of 2 microseconds on Linux (restricted to 6.7 measurements per second) and 466 nanoseconds on Windows (restricted to 223 measurements per second); this is roughly the same order of magnitude as the current state-of-the-art cache attacks. We systematically analyze our side channel by demonstrating different local attacks, including a sandbox bypassing high-speed covert channel, timed user-interface redressing attacks, and an attack recovering automatically generated temporary passwords. We further show that we can trade off the side channel's hardware agnostic property for remote exploitability. We demonstrate this via a low profile remote covert channel that uses this page-cache side-channel to exfiltrate information from a malicious sender process through innocuous server requests. Finally, we propose mitigations for some of our attacks, which have been acknowledged by operating system vendors and slated for future security patches.

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

↑