Secret Key Recovery Attacks on Masked and Shuffled Implementations of CRYSTALS-Kyber and Saber
Side-channel attack recovering secret keys of masked, shuffled Saber and Kyber implementations by extracting Fisher-Yates indexes from decapsulation power traces, using far fewer traces than prior work.
Schemes: CRYSTALS-Kyber, Saber, Fisher-Yates shuffling
Findings (quotes checked against the source text)
-
Recovers Saber secret key from 4,608 power traces, a 13-fold improvement over the prior attack requiring 61,680 traces.
In this paper, we present an attack that can recover the secret key of Saber from 4,608 traces.
-
Recovers Fisher-Yates indexes directly rather than extracting message Hamming weight and bit flipping, which is the key idea behind the improvement.
The key idea behind the 13-fold improvement is to recover FY indexes directly, rather than by extracting the message Hamming weight and bit flipping, as in the previous attack.
-
Extracts message bits by rotating the ciphertext message cyclically and capturing a further trace per rotation.
Then, we modify the ciphertext to cyclically rotate the message, capture a power trace, and extract the next two message bits with FY indexes 0 and 255.
-
Long-term key recovery uses k*l chosen ciphertexts built with a new error-correcting-code method, where k is the security level and l the code length.
By recovering messages contained in k ∗ l chosen ciphertexts constructed using a new method based on error-correcting codes with length l, where k is the security level, we recover the long term secret key.
-
Demonstrates the approach generalizes by also recovering the secret key of a masked and shuffled Kyber implementation.
To demonstrate the generality of the presented approach, we also recover the secret key from a masked and shuffled implementation of CRYSTALS-Kyber, which NIST recently selected as a new public-key encryption and key-establishment algorithm to be standardized.
Numbers (as extracted, not quote-checked)
- Power traces to recover Saber secret key (this attack): 4,608 traces
- Power traces for prior Saber attack: 61,680 traces
For builders
Any PQ KEM deployment on embedded or shared hardware needs side-channel countermeasures beyond shuffling and masking, since shuffled and masked Kyber/Saber were still key-recoverable.
Limits
Based on the ePrint abstract only (full text not read); attack needs physical power traces and chosen-ciphertext access to decapsulation, so it is an implementation attack, not a break of the algorithms.
Topics: implementation-sidechannel kem