Welcome to MetriSCA
An open-source library of Metrics for Side-Channel Analysis
MetriSCA is a software library written in C and C++.
To get started, download code from the link below and follow the instructions in README.
Download: MetriSCA v1.0 | Zenodo
MetriSCA supports the following set of features:
- Encryption algorithms:
- AES SBox
- AES-128
- Models:
- Hamming distance
- Hamming weight
- Identity
- Distinguishers:
- CPA (with the Pearson correlation coefficient)
- Metrics:
- Key rank
- Key guess
- Key score
- Guessing entropy
- Success rate
- TVLA
- Mutual information
- Perceived information
MetriSCA comes with a command-line tool MetriSCAcli, to easily load side-channel traces and output metrics in the CSV file format.
For a comprehensive survey and comparison of the side-channel metrics, refer to the following article:
The Side Channel Metrics Cheat Sheet
(pdf)
by
Kostas Papagiannopoulos (Email),
Ognjen Glamočanin (Email),
Melissa Azouaoui (Email),
Dorian Ros (Email),
Francesco Regazzoni (Email) and
Mirjana Stojilović (Email).
Datasets and artifacts of the article can be found here: Datasets.zip
If you use MetriSCA (v1.0) and publish your results, please cite it:
@software{MetriSCAv1.0, author = {Dorian Ros and Ognjen Glamo\v{c}anin and Mirjana Stojilovi\'{c}}, title = {{MetriSCA}: {A} Library of Metrics for Side-Channel Analysis}, month = dec, year = 2021, publisher = {Zenodo}, version = {v1.0}, doi = {10.5281/zenodo.5778947}, url = {https://doi.org/10.5281/zenodo.5778947} }