IMDEA Software

IMDEA initiative

Home > Events > Software Seminar Series > 2018 > On the Incomparability of Cache Algorithms in Terms of Security

Pablo Cañones

Tuesday, February 27, 2018

10:45am Lecture hall 1, level B

Pablo Cañones, PhD Student, IMDEA Software Institute

On the Incomparability of Cache Algorithms in Terms of Security

Abstract:

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 talk, I present a novel approach we have developed 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 execution time. This is in contrast to performance, where it is well 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.