arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.01957cs.CRcs.AR
收藏

随机化的末级缓存仍然容易受到缓存侧信道攻击!但我们可以修复它

Randomized Last-Level Caches Are Still Vulnerable to Cache Side-Channel Attacks! But We Can Fix It

Wei Song, Boya Li, Zihan Xue, Zhenzhen Li, Wenhao Wang, Peng Liu

摘要:

高速缓存随机化最近又被认为是对抗基于冲突的高速缓存侧信道攻击的一种很有前途的防御方法。作为两个最新的实现,CEASER-S和ScatterCache都声称可以使用随机倾斜缓存来阻止基于冲突的缓存侧信道攻击。不幸的是,我们的实验表明,攻击者可以很容易地找到一个可用的驱逐集内选择的重新映射期间的CEASER-S和增加分区的数量没有动态重新映射,如ScatterCache,不能消除威胁。通过定量分析LLC中各种攻击留下的访问模式,发现了随机缓存的假设和实现中存在的一些问题,这些问题也是基于冲突的缓存侧信道攻击研究中所忽略的。然而,缓存随机化不是一个虚假的希望,它是一个有效的防御,应该在未来的处理器中广泛采用。新发现的问题对应于与缓存随机化的现有实现相关的缺陷,并且是可以修复的。本文提出了几种新的防御技术。我们的实验表明,现有随机化高速缓存的所有新发现的漏洞都在当前性能预算内被修复。我们还认为,随机集相联缓存可以得到充分的加强,并拥有更好的机会,实际上被采用的商业处理器比他们的歪斜的同行,因为他们引入较少的大修现有的缓存结构。

英文摘要:

Cache randomization has recently been revived as a promising defense against conflict-based cache side-channel attacks. As two of the latest implementations, CEASER-S and ScatterCache both claim to thwart conflict-based cache side-channel attacks using randomized skewed caches. Unfortunately, our experiments show that an attacker can easily find a usable eviction set within the chosen remap period of CEASER-S and increasing the number of partitions without dynamic remapping, such as ScatterCache, cannot eliminate the threat. By quantitatively analyzing the access patterns left by various attacks in the LLC, we have newly discovered several problems with the hypotheses and implementations of randomized caches, which are also overlooked by the research on conflict-based cache side-channel attack. However, cache randomization is not a false hope and it is an effective defense that should be widely adopted in future processors. The newly discovered problems are corresponding to flaws associated with the existing implementation of cache randomization and are fixable. Several new defense techniques are proposed in this paper. our experiments show that all the newly discovered vulnerabilities of existing randomized caches are fixed within the current performance budget. We also argue that randomized set-associative caches can be sufficiently strengthened and possess a better chance to be actually adopted in commercial processors than their skewed counterparts as they introduce less overhaul to the existing cache structure.

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

↑