Paper 2024/1211
A Generic Framework for Side-Channel Attacks against LWE-based Cryptosystems
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 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.
Metadata
- Available format(s)
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- Lattice-based cryptographyLattice ReductionML-KEMBelief PropagationSide-Channel AttacksKyber
- Contact author(s)
-
julius hermelink @ mpi-sp org
silvan streit @ aisec fraunhofer de
erik martensson @ eit lth se
richard petri @ mpi-sp org - History
- 2024-08-06: revised
- 2024-07-28: received
- See all versions
- Short URL
- https://ia.cr/2024/1211
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/1211, author = {Julius Hermelink and Silvan Streit and Erik Mårtensson and Richard Petri}, title = {A Generic Framework for Side-Channel Attacks against {LWE}-based Cryptosystems}, howpublished = {Cryptology {ePrint} Archive, Paper 2024/1211}, year = {2024}, url = {https://eprint.iacr.org/2024/1211} }