CCALK: (When) CVA6 Cache Associativity Leaks the Key - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Low Power Electronics and Applications Année : 2022

CCALK: (When) CVA6 Cache Associativity Leaks the Key

Résumé

In this work, we study an end-to-end implementation of a Prime + Probe covert channel on the CVA6 RISC-V processor implemented on a FPGA target and running a Linux OS. We develop the building blocks of the covert channel and provide a detailed view of its behavior and effectiveness. We propose a realistic scenario for extracting information of an AES-128 encryption algorithm implementation. Throughout this work, we discuss the challenges brought by the presence of a running OS while carrying out a micro architectural covert channel. This includes the effects of having other running processes, unwanted cache evictions and the OS’ timing behavior. We also propose an analysis of the relationship between the data cache’s characteristics and the developed covert channel’s capacity to extract information. According to the results of our experimentations, we present guidelines on how to build and configure a micro architectural covert channel resilient cache in a mono-core mono-thread scenario.

Dates et versions

hal-04056730 , version 1 (03-04-2023)

Licence

Identifiants

Citer

Valentin Martinoli, Elouan Tourneur, Yannick Teglia, Régis Leveugle. CCALK: (When) CVA6 Cache Associativity Leaks the Key. Journal of Low Power Electronics and Applications, 2022, 13 (1), ⟨10.3390/jlpea13010001⟩. ⟨hal-04056730⟩

Collections

UGA CNRS TIMA
13 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Mastodon Facebook X LinkedIn More