Abstract
Persistent Fault Analysis (PFA) is a powerful class of physical attacks on block ciphers where faults persist across multiple encryption cycles. However, existing PFA techniques often suffer from high data complexity or require extensive prior knowledge of the fault's characteristics. This paper introduces Chosen-Plaintext based Persistent Fault Analysis (CPPFA), a highly efficient approach that utilizes a small set of chosen plaintexts to recover the master key. By identifying ciphertext collisions and leveraging the cipher's key schedule, CPPFA can handle multiple unknown faults with significantly lower computational and data requirements than previous state-of-the-art methods.
1. Introduction
Fault Injection Attacks (FIA) involve physical tampering with a cryptographic device to induce errors, which are then analyzed to extract secret keys. Persistent Fault Analysis (PFA) specifically targets faults that remain in the device's memory, such as a corrupted S-box lookup table. While PFA is advantageous because it does not require precise timing, traditional methods face challenges when dealing with multiple faults or when the fault's location and value are unknown. Statistical variants like Statistical Persistent Fault Analysis (SPFA) often leave a large remaining key search space, requiring substantial brute-force effort.
2. Methodology: The CPPFA Attack
The proposed CPPFA method combines statistical pruning with the precision of chosen-plaintext analysis. The attack follows a systematic process to isolate the secret key by observing how a faulty S-box behaves under controlled inputs.
2.1 Collision Detection and Impossible Values
The attacker encrypts a set of chosen plaintexts (e.g., 256 for AES-128) where only one byte is varied. If two distinct plaintexts result in the same ciphertext, a collision has occurred in the faulty S-box. These collisions reveal "impossible values"—outputs that the faulty S-box can no longer produce. These values serve as a powerful filter for candidate keys.
2.2 Key Schedule Integration
A critical innovation of CPPFA is the integration of the key schedule into the analysis. Since the faulty S-box is often used during the generation of round keys, the attacker can verify if a candidate round key is consistent with the master key. This allows for immediate discarding of invalid candidates, drastically reducing the search space.
3. Experimental Evaluation
The researchers evaluated CPPFA through simulations on AES-128 and the lightweight LED-64 cipher. The results demonstrate a significant reduction in both data complexity and the remaining key search space compared to existing methods like PMPFA and SPFA.
3.1 Performance Comparison
As shown in the table below, CPPFA consistently outperforms other PFA variants. For AES-128 with 8 injected faults, CPPFA reduces the remaining key candidates to exactly one using only 256 chosen plaintexts. In contrast, statistical methods like SPFA may leave up to $2^{50}$ candidates.
3.2 Efficiency and Complexity
The worst-case time complexity of the attack is $O(2^{w+n_f})$, where $w$ is the byte size and $n_f$ is the number of faults. For 16 faults on AES, the attack can be completed on a standard PC in less than one hour. Interestingly, the efficiency of CPPFA improves as the number of faults increases, as more faults provide more "impossible values" to prune the key space.
4. Conclusion
CPPFA represents a significant advancement in persistent fault analysis, offering a practical and efficient means to recover master keys with minimal data. By exploiting ciphertext collisions and the key schedule, it overcomes the limitations of previous methods regarding multiple unknown faults. Future work will focus on developing hardware-level countermeasures, such as redundant S-boxes or integrity checks, to mitigate the risks posed by such persistent fault injections.
Summary updated