Fault Cryptanalysis of CHES 2014 Symmetric Infective Countermeasure

Christophe Giraud, Alberto Battistello, Christophe Giraud 0001IACR ePrint 2015

Abstract

Infective countermeasures are designed to protect cryptographic implementations from fault injection attacks by corrupting the output when a fault is detected. This paper demonstrates that a sophisticated countermeasure proposed at CHES 2014 is fundamentally broken. By exploiting unprotected control flow variables, we present four attacks that recover the AES-128 secret key with high probability. Our results highlight that complexity does not equate to security and emphasize the need for formal verification in countermeasure design.

Introduction

Embedded systems, such as smartcards, are highly susceptible to Fault Injection (FI) attacks. Attackers use physical means like lasers or voltage glitches to induce errors during cryptographic operations, which can then be exploited via Differential Fault Analysis (DFA) to reveal secret keys. To mitigate this, "infective" countermeasures were developed. Unlike traditional "detect and halt" mechanisms, these allow the operation to complete but "infect" the result with random noise if a fault is detected, aiming to prevent both DFA and side-channel leaks from sudden termination.

This paper evaluates a specific infective countermeasure proposed by Tupsamudre et al. at CHES 2014. This countermeasure utilizes a randomized schedule of real, redundant, and dummy rounds to obscure sensitive operations.

Methodology and Vulnerability Analysis

The core flaw identified in the CHES 2014 proposal is the lack of protection for control flow variables. While the countermeasure aggressively mangles data, the variables governing the loop—specifically the round counter and the scheduling string—remain vulnerable.

We developed four attack paths based on common fault models:

  1. Instruction Skip: Replacing the last "real" round with a redundant one by skipping a round index increment.
  2. Stuck-at 0: Tricking the algorithm into executing a dummy round instead of a cipher round.
  3. Random Error (Scheduling): Corrupting the random bit-string that determines the order of rounds.
  4. Random Error (Loop Index): Forcing premature termination of the algorithm.

The effectiveness of these attacks was validated through Monte Carlo simulations (3,000 trials per configuration) on a simulated AES-128 implementation protected by the CHES 2014 scheme.

Key Results

The attacks proved highly efficient, with success probabilities closely matching theoretical mathematical models. Attack 1 (Instruction Skip), targeting the 29th round of a 30-round execution, achieved a 53.10% success rate with a single fault injection. As shown in Table 1 and Figure 1, the success rate climbs to over 95% with four faults.

Table 1: Success rates for Attack 1 (Instruction Skip) across different parameters.
Figure 1: Success probability of Attack 1 as a function of the number of faults.

Attack 4 (Random Error on Index) was even more potent. By disturbing the loop increment in the early stages (e.g., the third round), an attacker could retrieve a useful faulty ciphertext with over 90% probability after only two injections. These results demonstrate that the complexity of the randomized scheduling actually introduced new, easier targets for fault injection.

Conclusion

The CHES 2014 infective countermeasure is effectively broken. The "Last Round" vulnerability in AES makes it trivial to recover the key if the final rounds can be manipulated. This research underscores a critical lesson: complexity is not a substitute for security. Future work must prioritize the development of countermeasures with formal security proofs to ensure they are provably secure against sophisticated fault-based cryptanalysis.

Note: This summary is based on the paper "Fault Cryptanalysis of CHES 2014 Symmetric Infective Countermeasure".

Summary updated

BibTeX
@article{giraud2015fault,
  author = {Christophe Giraud and Alberto Battistello and Christophe Giraud},
  title = {{Fault Cryptanalysis of CHES 2014 Symmetric Infective Countermeasure}},
  journal = {IACR ePrint},
  year = {2015},
}
Efficient Persistent Fault Analysis with Small Number of Chosen PlaintextsIacr Trans. Cryptogr. Hardw. Embed. Syst · 2023
Practical Opcode-based Fault Attack on AES-NIIacr Trans. Cryptogr. Hardw. Embed. Syst · 2025
Persistent Fault Attack in PracticeIacr Trans. Cryptogr. Hardw. Embed. Syst · 2020
A Countermeasure Against Statistical Ineffective Fault AnalysisIACR ePrint · 2019
Piret and Quisquater's DFA on AES RevisitedIACR ePrint · 2010
Persistent Fault Analysis on Block CiphersIacr Trans. Cryptogr. Hardw. Embed. Syst · 2018
Figure