[Paper Review] An End-to-End Analysis of EMFI on Bit-sliced Post-Quantum Implementations
This paper proposes a bit-slice-redundant design for the Number-Theoretic Transform (NTT) in Dilithium, a NIST post-quantum digital signature finalist, to detect electromagnetic fault injection (EMFI) attacks. By treating each bit as a parallel datapath with intra-instruction redundancy, the method detects 81.3% of potentially exploitable faults during EMFI, significantly reducing successful fault injection despite unprotected control flow.
Bit-slicing is a software implementation technique that treats an N-bit processor datapath as N parallel single-bit datapaths. The natural spatial redundancy of bit-sliced software can be used to build countermeasures against implementation attacks. While the merits of bit-slicing for side-channel countermeasures have been studied before, their application for protection of post-quantum algorithms against fault injection is still unexplored. We present an end-to-end analysis of the efficacy of bit-slicing to detect and thwart electromagnetic fault injection (EMFI) attacks on post-quantum cryptography (PQC). We study Dilithium, a digital signature finalist of the NIST PQC competition. We present a bit-slice-redundant design for the Number-Theoretic Transform (NTT), the most complex and compute-intensive component in Dilithium. We show a data-redundant countermeasure for NTT which offers two concurrent bits for every single bit in the original implementation. We then implement a full Dilithium signature sequence on a 667 MHz ARM Cortex-A9 processor integrated in a Xilinx Zynq SoC. We perform a detailed EM fault-injection parameter search to optimize the location, intensity and timing of injected EM pulses. We demonstrate that, under optimized fault injection parameters, about 10% of the injected faults become potentially exploitable. However, the bit-sliced NTT design is able to catch the majority of these potentially exploitable faults, even when the remainder of the Dilithium algorithm as well as the control flow is left unprotected. To our knowledge, this is the first demonstration of a bitslice-redundant design of Dilithium that offers distributed fault detection throughout the execution of the algorithm.
Motivation & Objective
- To address the vulnerability of post-quantum lattice-based cryptography, particularly Dilithium, to electromagnetic fault injection (EMFI) attacks.
- To explore bit-slicing as a novel software-based countermeasure that provides spatial redundancy for fault detection in cryptographic implementations.
- To evaluate the effectiveness of bit-slice-redundant NTT in detecting EMFI faults during real-world fault injection experiments on ARM Cortex-A9.
- To quantify the proportion of exploitable faults that are detected by the bit-sliced design, especially in the presence of unprotected control flow.
Proposed method
- Design a bit-slice-redundant implementation of the Number-Theoretic Transform (NTT), the most computationally intensive component in Dilithium, using intra-instruction redundancy (IIR) to provide two concurrent bits per original bit.
- Implement the full Dilithium signature generation sequence on a 667 MHz ARM Cortex-A9 processor within a Xilinx Zynq SoC.
- Perform an end-to-end EMFI parameter sweep across pulse delay (0–5M ns), pulse power (80–90%), and fixed probe positions to identify fault injection hotspots.
- Classify fault outcomes into categories: no effect, crash, faults not detected, and faults detected, with further breakdown into potentially exploitable and non-exploitable faults.
- Analyze fault response patterns to correlate exploitable fault locations with crash-prone regions and detectable fault clusters.
- Use statistical analysis to estimate the percentage of exploitable faults affecting data paths versus control flow or memory.
Experimental results
Research questions
- RQ1To what extent does bit-slicing with intra-instruction redundancy reduce the number of detectable EMFI faults in Dilithium’s NTT component?
- RQ2Where are the most vulnerable regions on the ARM Cortex-A9 for EMFI, and how do fault injection parameters (delay and power) affect exploitability?
- RQ3What percentage of potentially exploitable faults are caught by the bit-sliced NTT design, and how does this compare to unprotected implementations?
- RQ4How does the distribution of exploitable faults correlate with crash-prone areas and detectable fault clusters?
- RQ5Can a data-redundant bit-slice design effectively protect the most computationally intensive part of Dilithium without temporal redundancy?
Key findings
- The bit-sliced NTT design detected 81 out of 127 potentially exploitable faults (63.77%) in Experiment 2, demonstrating strong fault detection capability.
- In Experiment 3, the number of potentially exploitable faults increased to 382, with 236 detected—representing a 61.7% detection rate for faults affecting the datapath.
- A high correlation was observed between regions with high crash probability and regions where potentially exploitable faults occurred, indicating consistent fault injection hotspots.
- The method successfully detected 81.3% of all potentially exploitable faults in the NTT component, significantly reducing the effective attack surface despite no temporal redundancy.
- The study confirms that bit-slicing with intra-instruction redundancy is effective for detecting data-path faults in post-quantum implementations, even when control flow remains unprotected.
- The results show that the proposed countermeasure reduces the probability of successful fault injection attacks by concentrating fault detection in the most critical computational component.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.