International Association for Cryptologic Research

International Association
for Cryptologic Research

EUROCRYPT 2025

A Generic Framework for Side-Channel Attacks against LWE-based Cryptosystems


Julius Hermelink
MPI-SP

Silvan Streit
Fraunhofer AISEC and Technical University of Munich

Erik Mårtensson
Lund University and Advenica AB

Richard Petri
MPI-SP


Keywords: Lattice-based cryptography, Lattice Reduction, ML-KEM, Belief Propagation, Side-Channel Attacks, Kyber


Abstract

Lattice-based cryptography is in the process of being standardized. Several proposals to deal with side-channel information using lattice reduction exist. However, it has been shown that algorithms based on Bayesian updating are often more favorable in practice.

In this work, we define \textit{distribution hints}; a type of hint that allows modelling probabilistic information. These hints generalize most previously defined hints and the information obtained in several attacks.

We define two solvers for our hints; one is based on belief propagation and the other one uses a greedy approach. We prove that the latter is a computationally less expensive approximation of the former and that previous algorithms used for specific attacks may be seen as special cases of our solvers. Thereby, we provide a systematization of previously obtained information and used algorithms in real-world side-channel attacks.

In contrast to lattice-based approaches, our framework is not limited to value leakage. For example, it can deal with noisy Hamming weight leakage or partially incorrect information. Moreover, it improves upon the recovery of the secret key from approximate hints in the form they arise in real-world attacks.

Our framework has several practical applications: We exemplarily show that a recent attack can be improved; we reduce the number of traces and corresponding ciphertexts and increase the noise resistance. Further, we explain how distribution hints could be applied in the context of previous attacks and outline a potential new attack.

Publication

EUROCRYPT 2025

Paper

Artifact

Artifact number
eurocrypt/2025/a12

Artifact published
May 19, 2025

Badge
🏆 IACR EUROCRYPT Results Reproduced

README

ZIP (200.2 KB)  

License
This work is licensed under the Apache License, Version 2.0.

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


BibTeX How to cite

Julius Hermelink, Silvan Streit, Erik Mårtensson, Richard Petri. (2025). A Generic Framework for Side-Channel Attacks against LWE-based Cryptosystems. In Advances in Cryptology -- EUROCRYPT 2025, LNCS vol. 15608, pp. 3–32, Springer. https://doi.org/10.1007/978-3-031-91101-9_1. Artifact at https://artifacts.iacr.org/eurocrypt/2025/a12.