Has it been Pwned
Side channelLimited impactMedium confidence

Deep learning breaks a fifth-order masked Kyber implementation

Dubrova, Ngo and Gärtner (KTH) used a 'recursive learning' technique - initialising each neural network with weights copied from the model for the next-lower masking order - to recover the shared message from power traces of Kyber implementations masked up to fifth order on an ARM Cortex-M4, and combined message recovery with chosen ciphertexts to recover the secret key.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Masking is the textbook defence against power analysis, and higher orders are supposed to make attacks exponentially harder. This work showed that in software on small microcontrollers, deep-learning attacks can still combine shares; it also exploited the message-encoding step, which is hard to mask efficiently. It is part of a body of work on masked Kyber/Saber from the same group (2021-2023).

It does not affect ML-KEM's math. It does show that PQC adds new, hard-to-protect leakage points (message encoding/decoding, NTT, sampling) for devices in an attacker's hands.

Sources

  1. paperBreaking a Fifth-Order Masked Implementation of CRYSTALS-Kyber by Copy-Paste (ePrint 2022/1713)IACR ePrint, eprint.iacr.org