针对缓存占用的随机化缓存设计的系统评估
Systematic Evaluation of Randomized Cache Designs against Cache Occupancy
AI总结:
本文填补了随机化缓存设计在防御缓存占用攻击方面的研究空白,对5种随机化缓存设计进行了统一的性能与安全性系统评估,并首次在随机化缓存上利用缓存占用攻击实现了完整AES密钥恢复。
摘要:
随机化地址到组映射和缓存分区已被证明是设计安全缓存的有效机制。目前已基于多种原理提出了几种设计:(1)随机化设计,(2)随机化与分区设计,以及(3)伪全相联设计。本研究填补了当前关于随机化缓存的文献中的一个关键空白:目前大多数随机化缓存设计仅防御基于争用的攻击,而忽略了对缓存占用的考虑。我们对5种随机化缓存设计——CEASER、CEASER-S、MIRAGE、Scatter-Cache和Sass-cache进行了系统评估,以考察其在性能和安全性方面对抗缓存占用的表现。在性能方面,我们首先指出,当代设计所使用的基准测试策略不适用于公平评估(因为缓存配置不同、基准测试套件的选择不同,以及特定于实现的额外假设)。因此,我们提出了一种统一的基准测试策略,使我们能够在各种替换策略下对所有设计进行公平的比较分析。同样,在对抗缓存占用攻击的安全性方面,我们针对各种威胁假设评估了这些缓存设计:(1)隐蔽信道,(2)进程指纹识别,以及(3)AES密钥恢复(据我们所知,本研究是首次展示在随机化缓存设计上利用缓存占用攻击实现完整AES密钥恢复的工作)。我们的结果证明了在随机化缓存设计的考量中也有必要考虑缓存占用侧信道。
英文摘要:
Randomizing the address-to-set mapping and partitioning of the cache has been shown to be an effective mechanism in designing secured caches. Several designs have been proposed on a variety of rationales: (1) randomized design, (2) randomized-and-partitioned design, and (3) psuedo-fully associative design. This work fills in a crucial gap in current literature on randomized caches: currently most randomized cache designs defend only contention-based attacks, and leave out considerations of cache occupancy. We perform a systematic evaluation of 5 randomized cache designs- CEASER, CEASER-S, MIRAGE, Scatter-Cache, and Sass-cache against cache occupancy wrt. both performance as well as security. With respect to performance, we first establish that benchmarking strategies used by contemporary designs are unsuitable for a fair evaluation (because of differing cache configurations, choice of benchmarking suites, additional implementation-specific assumptions). We thus propose a uniform benchmarking strategy, which allows us to perform a fair and comparative analysis across all designs under various replacement policies. Likewise, with respect to security against cache occupancy attacks, we evaluate the cache designs against various threat assumptions: (1) covert channels, (2) process fingerprinting, and (3) AES key recovery (to the best of our knowledge, this work is the first to demonstrate full AES key recovery on a randomized cache design using cache occupancy attack). Our results establish the need to also consider cache occupancy side-channel in randomized cache design considerations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。