Persistent Fault Attack in Practice

Fan Zhang, Yiran Zhang, Huilong Jiang, Xiang Zhu, Shivam Bhasin, Xinjie Zhao, Zhe Liu, Dawu Gu, Kui Ren

Persistent Fault Analysis (PFA), first introduced in 2018, represented a paradigm shift in side-channel security. Unlike traditional Differential Fault Analysis (DFA), which requires precise timing to hit transient instructions, PFA targets persistent data structures, such as Substitution Box (S-box) lookup tables stored in memory. This paper, presented at TCHES 2020, bridges the gap between theoretical PFA and real-world application by demonstrating the first successful laser-based persistent fault attack on a commercial microcontroller.

The Practical Challenge: Targeting SRAM

While theoretical PFA assumes an attacker knows the exact value and location of a fault, practical execution is far more complex. When using a laser on a decapsulated chip, the attacker is essentially "shooting in the dark" at the silicon. To overcome this, the authors targeted the ATmega163L microcontroller, focusing on how to turn blind physical injections into successful key recoveries for AES-128 and PRESENT-80.

Methodology: Physical Mapping and Statistical Refinement

The attack involved a sophisticated combination of hardware hacking and statistical analysis. The researchers first performed a high-resolution physical scan of the chip's 1KB SRAM using a pulsed laser facility. By decapsulating the chip and using a motorized stage, they mapped logical addresses to physical coordinates, identifying the specific regions where the AES and PRESENT S-boxes resided.

Figure 1: The target smartcard and the corresponding physical layout of the ATmega163L chip, identifying functional blocks like SRAM, Flash, and Logic.

Beyond physical mapping, the paper's primary theoretical contribution is the introduction of Maximum Likelihood Estimation (MLE) to the PFA framework. Traditional PFA relies on an elimination-based approach, waiting for "impossible" values to appear in the ciphertext to identify a corrupted S-box. The MLE-based method instead analyzes the statistical distribution of ciphertexts to identify the most likely key candidate, significantly accelerating the recovery process.

Experimental Results

The researchers validated their approach through thousands of laser injection trials. The results demonstrated a marked improvement in efficiency over previous methods:

  • AES-128 Efficiency: The MLE method required an average of 1,641 ciphertexts to break the key, representing a 28% reduction compared to the original PFA requirement of 2,273. In optimal conditions, the key was recovered with as few as 926 ciphertexts.
  • PRESENT-80 Recovery: The attack successfully recovered the full 80-bit key for the PRESENT cipher, proving that PFA is a universal threat to Substitution-Permutation Network (SPN) block ciphers, regardless of S-box size.
  • Robustness: The model was extended to handle "double faults"—instances where a single laser pulse flips two bits simultaneously—showing that the attack remains effective even when the physical injection is imprecise.

Conclusion and Future Work

This work confirms that PFA is a highly practical and potent threat. By demonstrating that even low-cost laser setups can achieve surgical precision (targeting regions as small as $5\mu m \times 5\mu m$), the authors highlight the need for robust hardware-level defenses. While software-based S-boxes in SRAM are vulnerable, future research must explore the efficacy of PFA against hardcoded ROM implementations and complex masking countermeasures.

Summary updated

BibTeX
@article{zhang2020persistent,
  author = {Fan Zhang and Yiran Zhang and Huilong Jiang and Xiang Zhu and Shivam Bhasin and Xinjie Zhao and Zhe Liu and Dawu Gu and Kui Ren},
  title = {{Persistent Fault Attack in Practice}},
  journal = {IACR Trans. Cryptogr. Hardw. Embed. Syst.},
  year = {2020},
  doi = {10.13154/tches.v2020.i2.172-195},
}
Figure