SPOILER:推测性负载危害加剧Rowhammer和Cache攻击
SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks
摘要:
现代微架构采用了诸如推测加载和存储转发等优化技术来改善内存瓶颈。处理器在存储之前推测性地执行加载,并且如果存在潜在的依赖性,则将先前存储的数据转发到加载。这提高了性能,因为加载不必等待前面的存储完成。然而,依赖性预测依赖于部分地址信息,这可能导致错误的依赖性和失速危险。在这项工作中,我们是第一个表明,依赖关系解析逻辑,服务于推测性负载可以被利用来获得有关物理页面映射的信息。Rowhammer等微架构侧信道攻击和Prime+Probe等缓存攻击依赖于虚拟地址到物理地址映射的逆向工程。我们提出了利用这种泄漏,以加快这个逆向工程的256倍的破坏攻击。然后,我们展示了这如何通过4096倍的驱逐集搜索速度来改善Prime+Probe攻击,即使是在JavaScript等沙箱环境中。最后,我们通过展示SPOILER如何帮助以高达100%的机会确定性地进行DRAM行冲突,并通过展示具有正常用户权限的双面Rowhammer攻击来改进Rowhammer攻击。后者是由于使用SPOILER泄漏检测连续内存页的可能性。
英文摘要:
Modern microarchitectures incorporate optimization techniques such as speculative loads and store forwarding to improve the memory bottleneck. The processor executes the load speculatively before the stores, and forwards the data of a preceding store to the load if there is a potential dependency. This enhances performance since the load does not have to wait for preceding stores to complete. However, the dependency prediction relies on partial address information, which may lead to false dependencies and stall hazards. In this work, we are the first to show that the dependency resolution logic that serves the speculative load can be exploited to gain information about the physical page mappings. Microarchitectural side-channel attacks such as Rowhammer and cache attacks like Prime+Probe rely on the reverse engineering of the virtual-to-physical address mapping. We propose the SPOILER attack which exploits this leakage to speed up this reverse engineering by a factor of 256. Then, we show how this can improve the Prime+Probe attack by a 4096 factor speed up of the eviction set search, even from sandboxed environments like JavaScript. Finally, we improve the Rowhammer attack by showing how SPOILER helps to conduct DRAM row conflicts deterministically with up to 100% chance, and by demonstrating a double-sided Rowhammer attack with normal user's privilege. The later is due to the possibility of detecting contiguous memory pages using the SPOILER leakage.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。