Introduction
As the world prepares for the quantum era, the National Institute of Standards and Technology (NIST) has been standardizing Post-Quantum Cryptography (PQC) algorithms. Most modern Key Encapsulation Mechanisms (KEMs) rely on the Fujisaki-Okamoto (FO) transformation to achieve security against chosen-ciphertext attacks (CCA). However, this research reveals a significant side-channel vulnerability inherent in the FO transformation itself—specifically during the "re-encryption" step.
The Vulnerability: The "Curse" of FO
The FO transformation ensures security by having the decapsulation process re-encrypt the decrypted plaintext and compare it to the received ciphertext. If they match, the session key is released; otherwise, a pseudo-random value is returned to prevent information leakage about the failure.
While core decryption algorithms have been heavily scrutinized for side-channel leakage, the re-encryption phase—which involves pseudorandom functions (PRF) or generators (PRG) like SHAKE or AES—has been largely overlooked. The authors demonstrate that this phase acts as a "leaky" window. By observing power consumption or electromagnetic (EM) emissions during re-encryption, an attacker can determine if the process is handling a "correct" plaintext or a "random" one, effectively creating a plaintext-checking oracle.
Methodology: Deep Learning as a Distinguisher
The researchers propose a generic side-channel analysis (SCA) methodology using Deep Learning (CNNs and MLPs) to build this oracle. Unlike traditional attacks that often require deep knowledge of the target hardware or a separate "profiling" device, this approach can be non-profiling.
An attacker can generate training data directly on the target device by sending specific ciphertexts that result in known plaintexts. The neural network then learns to distinguish between traces where the PRF input is a fixed reference plaintext versus random data. This "black box" approach allows the attack to bypass complex implementations and even certain software-level masking techniques.
Broad Vulnerability and Key Results
The attack's most striking feature is its generality. Because it targets the FO transformation's re-encryption step—a common component across nearly all NIST PQC candidates—it is effective against a wide range of schemes across lattice, code, and isogeny-based families.
The study confirmed vulnerabilities in Kyber, Saber, FrodoKEM, NTRU, NTRU Prime, HQC, BIKE, and SIKE. Key findings include:
- Efficiency: Full-key recovery for Kyber-512 required only ~3,000 traces for non-masked software and ~7,600 for masked software.
- Masking Limitations: Simple software masking (e.g., bit-sliced AES) was not sufficient, as the DL model achieved 96% accuracy in distinguishing traces.
- Hardware Robustness: Only hardware-level protection using Threshold Implementation (TI) successfully resisted the attack, with accuracy dropping to near-random levels (51.5%).
Conclusion and Future Work
The "Curse of Re-encryption" highlights a critical oversight in PQC implementation security. The very mechanism designed to protect against active mathematical attacks provides a side-channel signal that can break the system.
Future work will explore higher-order DL-based SCA to target hardened hardware and investigate other PQC candidates. The authors emphasize the urgent need for "all-or-nothing" masking strategies that protect the entire decapsulation process, ensuring that no part of the FO transformation remains a leaky window for attackers.
Summary updated