TL;DR
This paper presents the first side-channel attack on FALCON, a promising post-quantum digital signature scheme. By analyzing electromagnetic emissions, the researchers can extract FALCON's secret keys, enabling signature forgery. This work highlights the critical need for side-channel resistant implementations even for theoretically secure cryptographic algorithms.
What Problem Does This Paper Address?
The world is moving towards post-quantum cryptography (PQC) to secure our digital communications against future quantum computers. NIST is standardizing PQC algorithms, and FALCON is a strong contender. However, even mathematically secure algorithms can have implementation flaws that leak secret information through "side channels" like power consumption or electromagnetic (EM) radiation. These leaks can be exploited by attackers to recover secret keys, rendering the cryptography insecure in practice. This paper addresses the lack of published side-channel attacks on FALCON and demonstrates a practical attack that can break its security.
Methods
The core of the attack targets the floating-point multiplications within FALCON's Fast Fourier Transform (FFT) during the signature generation process. The authors propose a novel "extend-and-prune" strategy to overcome challenges specific to these floating-point operations.
- Targeted Operation: The attack focuses on the coefficient-wise multiplication of the FFT of the hashed message (
FFT(c)) with the FFT of a private key component (FFT(f)). SinceFFT(c)is known to the attacker, this multiplication is a prime target for recovering the secretFFT(f). - Extend-and-Prune Strategy:
- Extend Phase: This phase involves making initial guesses for parts of the secret floating-point coefficients (specifically, the lower-order bits of the mantissa). This is done by analyzing EM traces and looking for correlations. This phase is prone to "false positives" – incorrect guesses that appear to correlate with the leakage.
- Prune Phase: To eliminate these false positives, the attack then targets the addition operations that follow the multiplications. Unlike multiplications, additions are less likely to produce the same leakage for different inputs, allowing the attacker to differentiate correct guesses from false ones. By evaluating guesses on these additions, the attack "prunes" the incorrect possibilities, leading to the recovery of the correct secret coefficients.
- Differential Electromagnetic Analysis (DEMA): The attack uses DEMA, a standard side-channel technique, to correlate EM leakage with hypothesized secret values.
- Divide-and-Conquer: The attack recovers the mantissa, exponent, and sign bits of the floating-point coefficients separately and then combines them.
A key advantage highlighted is that this attack does not require pre-characterizing the target device with known keys (template attacks) or crafting special inputs, making it more practical.
Datasets
Not discussed in the paper. The evaluation uses EM traces captured from a specific hardware implementation.
Key Insights and Ideas
- Floating-Point FFT is a Vulnerability: FALCON's choice to use floating-point FFT, rather than the more commonly studied Number Theoretic Transform (NTT), introduces unique side-channel vulnerabilities. While NTT has been extensively analyzed, floating-point operations present different challenges and opportunities for attackers.
- False Positives in Multiplication are Solvable: The paper demonstrates that the inherent difficulty of distinguishing correct guesses from false positives in multiplication-based leakage can be overcome by analyzing subsequent addition operations. This "extend-and-prune" approach is a significant contribution.
- Practicality of the Attack: The attack is shown to be practical on a common microcontroller (ARM-Cortex-M4) running FALCON's reference software, requiring a relatively modest number of measurements.
- No Quantum Computer Needed: This attack highlights that even before quantum computers become a widespread threat, classical side-channel attacks can compromise PQC algorithms.
Key Results
The researchers successfully extracted FALCON's secret signing keys with approximately 10,000 EM measurements. They achieved over 99.99% probability of correctly identifying the targeted floating-point variables. This allowed them to forge signatures on arbitrary messages, demonstrating a complete break of the FALCON signature scheme in their experimental setup.
Limitations and Future Work
- Limitations of Our Attack:
- The authors acknowledge that their attack is "generic" and works without profiling the target device. However, they suggest that profiling techniques (like template attacks or machine learning) could potentially reduce the number of measurements needed.
- The attack's leakage point is symmetric for positive and negative sign guesses, which is noted as expected and not a problem for the attack itself.
- Future Work:
- The paper suggests that similar attacks could be applied to other FALCON parameters (e.g., FALCON-1024) as the underlying floating-point arithmetic implementations are the same.
- The authors propose that further research is needed to conduct a quantitative analysis comparing the side-channel leakage of FFT versus NTT.
- The paper implicitly calls for the development and integration of side-channel countermeasures into FALCON implementations.
Summary updated