Rowhammer.js:JavaScript中的远程软件诱导故障攻击
Rowhammer.js: A Remote Software-Induced Fault Attack in JavaScript
摘要:
软件安全中的一个基本假设是,内存位置只能由可能写入该内存位置的进程修改。然而,最近的研究表明,DRAM中的寄生效应可以改变存储单元的内容,而不访问它,而是通过以高频率访问其他存储单元。这种所谓的Rowhammer错误发生在今天的大多数内存模块中,并对所有受影响系统的安全性产生致命后果,例如,特权升级攻击。到目前为止,所有与Rowhammer相关的研究和攻击都依赖于缓存刷新指令的可用性,以便以足够高的频率访问DRAM模块。我们克服了这个限制,击败复杂的缓存替换策略。我们表明,高速缓存可以被迫进入快速缓存驱逐触发Rowhammer错误,只有定期的内存访问。这允许在高度受限甚至脚本环境中触发Rowhammer错误。我们演示了一个完全自动化的攻击,只需要一个网站与JavaScript触发远程硬件故障。因此,我们可以不受限制地访问网站访问者的系统。我们表明,攻击的现成的系统。现有的对策无法防止这种新的Rowhammer攻击。
英文摘要:
A fundamental assumption in software security is that a memory location can only be modified by processes that may write to this memory location. However, a recent study has shown that parasitic effects in DRAM can change the content of a memory cell without accessing it, but by accessing other memory locations in a high frequency. This so-called Rowhammer bug occurs in most of today's memory modules and has fatal consequences for the security of all affected systems, e.g., privilege escalation attacks. All studies and attacks related to Rowhammer so far rely on the availability of a cache flush instruction in order to cause accesses to DRAM modules at a sufficiently high frequency. We overcome this limitation by defeating complex cache replacement policies. We show that caches can be forced into fast cache eviction to trigger the Rowhammer bug with only regular memory accesses. This allows to trigger the Rowhammer bug in highly restricted and even scripting environments. We demonstrate a fully automated attack that requires nothing but a website with JavaScript to trigger faults on remote hardware. Thereby we can gain unrestricted access to systems of website visitors. We show that the attack works on off-the-shelf systems. Existing countermeasures fail to protect against this new Rowhammer attack.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。