Cryptology ePrint Archive: Report 2019/358

One trace is all it takes: Machine Learning-based Side-channel Attack on EdDSA

Leo Weissbart and Stjepan Picek and Lejla Batina

Abstract: Profiling attacks, especially those based on machine learning proved as very successful techniques in recent years when considering side-channel analysis of block ciphers implementations. At the same time, the results for implementations public-key cryptosystems are very sparse. In this paper, we consider several machine learning techniques in order to mount a power analysis attack on EdDSA using the curve Curve25519 as implemented in WolfSSL. The results show all considered techniques to be viable and powerful options. The results with convolutional neural networks (CNNs) are especially impressive as we are able to break the implementation with only a single measurement in the attack phase while requiring less than 500 measurements in the training phase. Interestingly, that same convolutional neural network was recently shown to perform extremely well for attacking the AES cipher. Our results show that some common grounds can be established when using deep learning for profiling attacks on distinct cryptographic algorithms and their corresponding implementations.

Category / Keywords: Side-channel attacks, EdDSA, Machine learning, Convolutional Neural Network, WolfSSL

Date: received 3 Apr 2019, last revised 25 Sep 2019

Contact author: picek stjepan at gmail com

Available format(s): PDF | BibTeX Citation

Version: 20190925:070650 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]