Unveiling ECC Vulnerabilities: LSTM Networks for Operation Recognition in Side-Channel Attacks

Alberto Battistello, Guido Bertoni, Michele Corrias, Lorenzo Nava, Davide Rusconi +3 more
2/24/2025
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

We propose a novel approach for performing side-channel attacks on elliptic curve cryptography. Unlike previous approaches and inspired by the ``activity detection'' literature, we adopt a long-short-term memory (LSTM) neural network to analyze a power trace and identify patterns of operation in the scalar multiplication algorithm performed during an ECDSA signature, that allows us to recover bits of the ephemeral key, and thus retrieve the signer's private key. Our approach is based on the fact that modular reductions are conditionally performed by micro-ecc and depend on key bits. We evaluated the feasibility and reproducibility of our attack through experiments in both simulated and real implementations. We demonstrate the effectiveness of our attack by implementing it on a real target device, an STM32F415 with the micro-ecc library, and successfully compromise it. Furthermore, we show that current countermeasures, specifically the coordinate randomization technique, are not sufficient to protect against side channels. Finally, we suggest other approaches that may be implemented to thwart our attack.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{battistello2025unveiling,
  title  = {Unveiling ECC Vulnerabilities: LSTM Networks for Operation Recognition in Side-Channel Attacks},
  author = {Alberto Battistello and Guido Bertoni and Michele Corrias and Lorenzo Nava and Davide Rusconi and Matteo Zoia and Fabio Pierazzi and Andrea Lanzi},
  year   = {2025},
  eprint = {2502.17330},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.17330v1}
}

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/2502.17330.svg)](https://codeofpaper.com/paper/2502.17330)

Discussion