Paper 2025/499
SCAPEgoat: Side-channel Analysis Library
Abstract
Side-channel analysis (SCA) is a growing field in hardware security where adversaries extract secret information from embedded devices by measuring physical observables like power consumption and electromagnetic emanation. SCA is a security assessment method used by governmental labs, standardization bodies, and researchers, where testing is not just limited to standardized cryptographic circuits, but it is expanded to AI accelerators, Post Quantum circuits, systems, etc. Despite its importance, SCA is performed on an ad hoc basis in the sense that its flow is not systematically optimized and unified among labs. As a result, the current solutions do not account for fair comparisons between analyses. Furthermore, neglecting the need for interoperability between datasets and SCA metric computation increases students’ barriers to entry. To address this, we introduce SCAPEgoat, a Python-based SCA library with three key modules devoted to defining file format, capturing interfaces, and metric calculation. The custom file framework organizes side-channel traces using JSON for metadata, offering a hierarchical structure similar to HDF5 commonly applied in SCA, but more flexible and human-readable. The metadata can be queried with regular expressions, a feature unavailable in HDF5. Secondly, we incorporate memory-efficient SCA metric computations, which allow using our functions on resource-restricted machines. This is accomplished by partitioning datasets and leveraging statistics-based optimizations on the metrics. In doing so, SCAPEgoat makes the SCA more accessible to newcomers so that they can learn techniques and conduct experiments faster and with the possibility to expand on in the future.
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- Side-channel AnalysisDPATVLAJSON
- Contact author(s)
-
dmmehta2 @ wpi edu
tmmarcantonio @ wpi edu
mhashemi @ wpi edu
swkarkache @ wpi edu
dshanmugam @ wpi edu
pschaumont @ wpi edu
fganji @ wpi edu - History
- 2025-03-17: approved
- 2025-03-16: received
- See all versions
- Short URL
- https://ia.cr/2025/499
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/499, author = {Dev Mehta and Trey Marcantino and Mohammad Hashemi and Sam Karkache and Dillibabu Shanmugam and Patrick Schaumont and Fatemeh Ganji}, title = {{SCAPEgoat}: Side-channel Analysis Library}, howpublished = {Cryptology {ePrint} Archive, Paper 2025/499}, year = {2025}, url = {https://eprint.iacr.org/2025/499} }