CCALK: (When) CVA6 Cache Associativity Leaks the Key
Open Access
- 27 December 2022
- journal article
- research article
- Published by MDPI AG in Journal of Low Power Electronics and Applications
- Vol. 13 (1) , 1
Abstract
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.Keywords
This publication has 9 references indexed in Scilit:
- Systematic Prevention of On-Core Timing Channels by Full Temporal PartitioningIEEE Transactions on Computers, 2022
- Recovering Information on the CVA6 RISC-V CPU with a Baremetal Micro-Architectural Covert Channel2022
- Microarchitectural Timing Channels and their Prevention on an Open-Source 64-bit RISC-V Core2021
- LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection2020
- Fallout2019
- ZombieLoad2019
- The Cost of Application-Class Processing: Energy and Performance Analysis of a Linux-Ready 1.7-GHz 64-Bit RISC-V Core in 22-nm FDSOI TechnologyIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2019
- A Comparison Study on Flush+Reload and Prime+Probe Attacks on AES Using Machine Learning Approaches2017
- Flush+Flush: A Fast and Stealthy Cache Attack2016