RELOAD + REFRESH:滥用缓存替换策略进行隐形缓存攻击
RELOAD+REFRESH: Abusing Cache Replacement Policies to Perform Stealthy Cache Attacks
摘要:
高速缓存已成为跨越逻辑隔离边界进行非预期信息抽取的主要方法。即使是Spectre和Meltdown也依赖于缓存侧通道,因为它提供了很高的分辨率,并且在所有主要的CPU平台上都广泛可用。因此,已经提出了几种通过检测缓存攻击来阻止缓存攻击的方法。如果不改变缓存状态并强制驱逐所观察到的进程,就不可能观察共存进程的缓存活动,这一事实对检测有很大帮助。在这项工作中,我们表明,这种广泛持有的假设是不正确的。通过巧妙地使用缓存替换策略,可以跟踪受害者进程的缓存访问,而无需强制驱逐受害者的数据。因此,依赖于这些驱逐的在线检测机制可以被规避,因为它们不会检测到引入的RELOAD+REFRESH攻击。攻击需要对缓存替换策略有深刻的理解。我们提出了一种方法来恢复更换政策,并将其应用到过去五代的英特尔处理器。我们进一步表明,经验上的加密实现的RELOAD+REFRESH的性能与其他广泛使用的缓存攻击,而其可检测性变得非常困难,由于对受害者的缓存访问模式的影响可以忽略不计。
英文摘要:
Caches have become the prime method for unintended information extraction across logical isolation boundaries. Even Spectre and Meltdown rely on the cache side channel, as it provides great resolution and is widely available on all major CPU platforms. As a consequence, several methods to stop cache attacks by detecting them have been proposed. Detection is strongly aided by the fact that observing cache activity of co-resident processes is not possible without altering the cache state and thereby forcing evictions on the observed processes. In this work, we show that this widely held assumption is incorrect. Through clever usage of the cache replacement policy it is possible to track a victims process cache accesses without forcing evictions on the victim's data. Hence, online detection mechanisms that rely on these evictions can be circumvented as they do not detect be the introduced RELOAD+REFRESH attack. The attack requires a profound understanding of the cache replacement policy. We present a methodology to recover the replacement policy and apply it to the last five generations of Intel processors. We further show empirically that the performance of RELOAD+REFRESH on cryptographic implementations is comparable to that of other widely used cache attacks, while its detectability becomes extremely difficult, due to the negligible effect on the victims cache access pattern.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。