Cryptology ePrint Archive: Report 2022/440

A Security Model for Randomization-based Protected Caches

Jordi Ribes-González and Oriol Farràs and Carles Hernández and Vatistas Kostalabros and Miquel Moretó

Abstract: Cache side-channel attacks allow adversaries to learn sensitive information about co-running processes by using only access latency measures and cache contention. This vulnerability has been shown to lead to several microarchitectural attacks. As a promising solution, recent work proposes Randomization-based Protected Caches (RPCs). RPCs randomize cache addresses, changing keys periodically so as to avoid long-term leakage. Unfortunately, recent attacks have called the security of state-of-the-art RPCs into question.

In this work, we tackle the problem of formally defining and analyzing the security properties of RPCs. We first give security definitions against access-based cache side-channel attacks that capture security against known attacks such as Prime+Probe and Evict+Probe. Then, using these definitions, we obtain results that allow to guarantee security by adequately choosing the rekeying period, the key generation algorithm and the cache randomizer, thus providing security proofs for RPCs under certain assumptions.

Category / Keywords: applications / Cache side-channel attacks, Timing attacks, Randomization-based protected caches, Randomly-mapped caches, Pseudo-random functions, Security definition

Original Publication (with major differences): IACR-CHES-2022

Date: received 6 Apr 2022

Contact author: jordi ribes at urv cat

Available format(s): PDF | BibTeX Citation

Version: 20220412:073954 (All versions of this report)

Short URL: ia.cr/2022/440


[ Cryptology ePrint archive ]