arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.01240cs.CR
收藏

论缓存算法在时序泄漏方面的不可比性

On the Incomparability of Cache Algorithms in Terms of Timing Leakage

Pablo Cañones, Boris Köpf, Jan Reineke

AI总结:

本文提出泄漏竞争性概念,证明缓存算法在时序泄漏上对称且无支配关系,且有限控制缓存间关系仅为线性或常数。

摘要:

现代计算机架构依赖缓存来减少CPU与主内存之间的延迟差距。虽然缓存对性能不可或缺,但它们对安全性构成了严重威胁,因为它们通过执行时间泄露程序内存访问模式的信息。在本文中,我们提出了一种新颖的方法,用于推理缓存算法在时序泄漏方面的安全性。我们方法的基础是泄漏竞争性(leak competitiveness)的概念,该概念比较两个缓存算法在每一个可能的程序上的泄漏情况。基于这一概念,我们证明了以下两个结果:首先,我们表明泄漏竞争性在缓存算法之间是对称的。这意味着,在程序总执行时间方面,没有一种缓存算法在泄漏方面支配另一种算法。这与性能形成对比,在性能方面已知存在这样的支配关系。其次,当限制在具有有限控制的缓存时,两个缓存算法之间的泄漏竞争性关系要么是渐近线性的,要么是常数的。不存在其他可能的形状。

英文摘要:

Modern computer architectures rely on caches to reduce the latency gap between the CPU and main memory. While indispensable for performance, caches pose a serious threat to security because they leak information about memory access patterns of programs via execution time. In this paper, we present a novel approach for reasoning about the security of cache algorithms with respect to timing leaks. The basis of our approach is the notion of leak competitiveness, which compares the leakage of two cache algorithms on every possible program. Based on this notion, we prove the following two results: First, we show that leak competitiveness is symmetric in the cache algorithms. This implies that no cache algorithm dominates another in terms of leakage via a program's total execution time. This is in contrast to performance, where it is known that such dominance relationships exist. Second, when restricted to caches with finite control, the leak-competitiveness relationship between two cache algorithms is either asymptotically linear or constant. No other shapes are possible.

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

↑