Transactions on Cryptographic Hardware and Embedded Systems (Jun 2022)

A Security Model for Randomization-based Protected Caches

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

DOI
https://doi.org/10.46586/tches.v2022.i3.1-25
Journal volume & issue
Vol. 2022, no. 3

Abstract

Read online

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 sidechannel 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.

Keywords