Paper 2026/3152

So You Think PC Oracle Attacks Are Already Optimized? -- Reduced Queries and More Practical Template Attacks

Maggie Tran
Julius Hermelink
Erik Mårtensson
Richard Petri
Zhiyuan Zhang
Qian Guo
Thomas Johansson
Abstract

Plaintext-Checking Oracles represent one of the most prominent attack vectors in side-channel analysis of ML-KEM, the new NIST standard for post-quantum key exchanges. Recent work shows that highly noisy side channels may be used to instantiate Plaintext-Checking Oracles that allow for key recovery in relatively few traces. Although these improvements are substantial in the case where many key coefficients are targeted at once, noisy real-world settings often drastically restrict the information capacity of the side-channel oracle and, thereby, the number of positions. Moreover, previous simulations and physical evaluations are often highly idealized. As a result, the threat to real-world devices under realistic leakage is currently unclear. In this work, we show that these attacks can be adapted to be realistic and that the number of required traces for full key recovery is---still---being substantially overestimated. We first adapt a sliding-window technique to distribution oracles targeting a linear mixture of coefficients in parallel; introducing an additional dimension to the number of targeted positions enables optimized query selection and a more fine-grained adaption to a given noise level. We then show how to target many more points of interest in parallel with far fewer false convergences in belief propagation using temperature and adapt template attacks to leakage that exhibits non-Gaussian noise by Gaussianization. The latter also allows relating simulations in the noisy Hamming weight model to evaluations on real-world devices with non-Gaussian noise. Finally, we propose a recalibration technique to enable cross-device profiling. We evaluate our techniques in both simulation and on physical devices in seven different physical setups. Our techniques substantially reduce the number of queries in simulation and on physical devices against masked and unmasked highly-optimized implementations. In particular, they enable key recovery in several cross-device template attack settings with non-Gaussian noise.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
ML-KEMpost-quantum cryptographyside-channel analysisplaintext-checking oraclekey recoverytemplate attackbelief propagationGaussianizationcross-device profiling
Contact author(s)
maggie tran @ eit lth se
jhermelink @ cs au dk
erik martensson @ liu se
richard petri @ mpi-sp org
zhiyuan zhang @ mpi-sp org
qian guo @ eit lth se
thomas johansson @ eit lth se
History
2026-12-04: approved
2026-12-01: received
See all versions
Short URL
https://ia.cr/2026/3152
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2026/3152,
      author = {Maggie Tran and Julius Hermelink and Erik Mårtensson and Richard Petri and Zhiyuan Zhang and Qian Guo and Thomas Johansson},
      title = {So You Think {PC} Oracle Attacks Are Already Optimized? -- Reduced Queries and More Practical Template Attacks},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3152},
      year = {2026},
      url = {https://eprint.iacr.org/2026/3152}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.