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 AES and ASCON implementations, where it accurately traces the source of side-channel leaks.
Metadata
- Available format(s)
- Category
- Applications
- Publication info
- Preprint.
- 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 - History
- 2024-11-15: approved
- 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} }