Paper 2024/1866
ARCHER: Architecture-Level Simulator for Side-Channel Analysis in RISC-V Processors
Abstract
Side-channel attacks pose a serious risk to cryptographic implementations, particularly in embedded systems. While current methods, such as test vector leakage assessment~(TVLA), can identify leakage points, they do not provide insights into their root causes. We propose ARCHER, an architecture-level tool designed to perform side-channel analysis and root cause identification for software cryptographic implementations on RISC-V processors. ARCHER has two main components: (1) Side-Channel Analysis to identify leakage using TVLA and its variants, and (2) Data Flow Analysis to track intermediate values across instructions, explaining observed leaks. Taking the binary file of the target implementation as input, ARCHER generates interactive visualizations and a detailed report highlighting execution statistics, leakage points, and their causes. It is the first architecture-level tool tailored for the RISC-V architecture to guide the implementation of cryptographic algorithms resistant to power side-channel attacks. ARCHER is algorithm-agnostic, supports pre-silicon analysis for both high-level and assembly code, and enables efficient root cause identification. We demonstrate ARCHER’s effectiveness through case studies on unprotected and protected AES and unprotected Ascon implementations, where it accurately traces the source of side-channel leaks. We report previously undocumented vulnerabilities due to architectural register usage in the ShiftRows operation of the protected AES implementation. For the Ascon implementation, we report leaks both in the substitution layer and in the diffusion layer, thus reflecting its susceptibility to data-dependent side-channel leakage.
Metadata
- Available format(s)
-
PDF
- Category
- Applications
- Publication info
- Published elsewhere. LightSEC 2025
- Keywords
- Side-Channel AnalysisRISC-VPre-siliconData Flow AnalysisQiling
- Contact author(s)
-
asmita adhikary @ ru nl
abraham basurto @ ru nl
lejla @ cs ru nl
ileana buhan @ ru nl
durba chatterjee @ ru nl
senna vanhoek @ ru nl - History
- 2025-08-21: revised
- 2024-11-14: received
- See all versions
- Short URL
- https://ia.cr/2024/1866
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/1866,
author = {Asmita Adhikary and Abraham J. Basurto Becerra and Lejla Batina and Ileana Buhan and Durba Chatterjee and Senna van Hoek and Eloi Sanfelix Gonzalez},
title = {{ARCHER}: Architecture-Level Simulator for Side-Channel Analysis in {RISC}-V Processors},
howpublished = {Cryptology {ePrint} Archive, Paper 2024/1866},
year = {2024},
url = {https://eprint.iacr.org/2024/1866}
}