International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Cryptographic Hardware and Embedded Systems 2025

Avengers assemble! Supervised learning meets lattice reduction:

A single power trace attack against CRYSTALS-Kyber Key Generation


Pierre-Alain Fouque
Univ Rennes, CNRS, Inria, IRISA, Rennes, France

Damien Marion
Univ Rennes, CNRS, Inria, IRISA, Rennes, France

Quyen Nguyen
IDEMIA Secure Transactions, Courbevoie, France

Alexandre Wallet
PQShield Ltd., Oxford, United Kingdom


Keywords: Kyber, Post-quantum security, Side-channel attack, Single trace analysis, Deep learning


Abstract

In this paper, we attack Kyber’s key-generation algorithm using power analysis and lattice reduction. More specifically, we target the Centered Binomial Distribution (CBD) sampler which generates the secret data of the underlying Learning With Error (LWE) instance. From a side-channel perspective, our attack uses a single trace, leveraging classifiers developed through supervised learning. We enhance the classification with the AdaBoost strategy, which provides more reliable results and exploitable statistics, enabling the identification of error-free classified samples. In optimal scenarios, our classifiers, combined with the outputted statistics, allow us to recover up to 68% of the secret key’s coefficients from the trace, ensuring that these recovered coefficients are error-free. In such cases, we show that the secret keys can be recovered by Gaussian elimination over a finite field in a few seconds. For less advantageous cases, we assess the block-size in lattice reduction that would complete the key recovery, providing a fine-grained trade-offs between the correctly guessed proportion and the block-size, based on standard estimates. Finally, we conducted large-scale experiments, from power traces to secret key recovery (for most of the instances) under a threshold of 18 hours, targeting all three Kyber’s security levels. Our average rate of success across all security level is more than 96%.

Publication

IACR Transactions on Cryptographic Hardware and Embedded Systems, Volume 2025, Issue 4

Paper

Artifact

Artifact number
tches/2025/a48

Artifact published
January 30, 2026

Badge
IACR CHES Artifacts Functional

README

ZIP (13095883 bytes)  

View on Gitlab

Artifact files are available at the following external archive:

License
AGPLv3 This work is licensed under the GNU Affero General Public License version 3.

Note that license information is supplied by the authors and has not been confirmed by the IACR.


BibTeX How to cite

Pierre-Alain Fouque, Damien Marion, Quyen Nguyen, Alexandre Wallet. (2025). Avengers assemble! Supervised learning meets lattice reduction: A single power trace attack against CRYSTALS-Kyber Key Generation. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025(4), 409–436. https://doi.org/10.46586/tches.v2025.i4.409-436. Artifact at https://artifacts.iacr.org/tches/2025/a48.