Breaking DPA-protected Kyber via the pair-pointwise multiplication

Warning

This publication doesn't include Faculty of Sports Studies. It includes Faculty of Informatics. Official publication website can be found on muni.cz.
Authors

BOCK Estuardo Alpirez BANEGAS Gustavo BRZUSKA Chris CHMIELEWSKI Lukasz Michal PUNIAMURTHY Kirthivaasan ŠORF Milan

Year of publication 2024
Type Article in Proceedings
Conference 22nd International Conference on Applied Cryptography and Network Security, ACNS 2024
MU Faculty or unit

Faculty of Informatics

Citation
Doi http://dx.doi.org/10.1007/978-3-031-54773-7_5
Keywords Kyber; Post-quantum Cryptography; Side-channel Attack; Single Trace; Template attack
Description We introduce a novel template attack for secret key recovery in Kyber, leveraging side-channel information from polynomial multiplication during decapsulation. Conceptually, our attack exploits that Kyber’s incomplete number-theoretic transform (NTT) causes each secret coefficient to be used multiple times, unlike when performing a complete NTT. Our attack is a single trace known ciphertext attack that avoids machine-learning techniques and instead relies on correlation-matching only. Additionally, our template generation method is very simple and easy to replicate, and we describe different attack strategies, varying on the number of templates required. Moreover, our attack applies to both masked implementations as well as designs with multiplication shuffling. We demonstrate its effectiveness by targeting a masked implementation from the mkm4 repository. We initially perform simulations in the noisy Hamming-Weight model and achieve high success rates with just 13316 templates while tolerating noise values up to ?=0.3. In a practical setup, we measure power consumption and notice that our attack falls short of expectations. However, we introduce an extension inspired by known online template attacks, enabling us to recover 128 coefficient pairs from a single polynomial multiplication. Our results provide evidence that the incomplete NTT, which is used in Kyber-768 and similar schemes, introduces an additional side-channel weakness worth further exploration.
Related projects:

You are running an old browser version. We recommend updating your browser to its latest version.

More info