Rosita: Towards Automatic Elimination of Power-Analysis Leakage in Ciphers

Madura A Shelton, Niels Samwel, Lejla Batina, Francesco Regazzoni, Markus Wagner +1 more
12/11/2019
cs.CR

Official code: sca-research/ELMO (64 stars, C, last commit 2024-05-13).

Abstract

Since their introduction over two decades ago, side-channel attacks have presented a serious security threat. While many ciphers' implementations employ masking techniques to protect against such attacks, they often leak secret information due to unintended interactions in the hardware.

Show full abstract

We present Rosita, a code rewrite engine that uses a leakage emulator which we amend to correctly emulate the micro-architecture of a target system. We use Rosita to automatically protect masked implementations of AES, ChaCha, and Xoodoo. For AES and Xoodoo, we show the absence of observable leakage at 1,000,000 traces with less than 21% penalty to the performance. For ChaCha, which has significantly more leakage, Rosita eliminates over 99% of the leakage, at a performance cost of 64%.

View on arXivView PDF

Code Implementations(1)

sca-research/ELMOOfficial100%
6410C, AssemblyJun 8, 20172 years agoNOASSERTION

Similar Papers

Cite this paper

@article{shelton2019rosita,
  title  = {Rosita: Towards Automatic Elimination of Power-Analysis Leakage in Ciphers},
  author = {Madura A Shelton and Niels Samwel and Lejla Batina and Francesco Regazzoni and Markus Wagner and Yuval Yarom},
  year   = {2019},
  eprint = {1912.05183},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.05183}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.05183.svg)](https://codeofpaper.com/paper/1912.05183)

Discussion