Skip to main content
QUICK REVIEW

[Paper Review] Formal Analysis of CRT-RSA Vigilant's Countermeasure Against the BellCoRe Attack: A Pledge for Formal Methods in the Field of Implementation Security

Pablo Rauzy, Sylvain Guilley|arXiv (Cornell University)|Jan 31, 2014
Security and Verification in ComputingComputer Science15 references4 citations
TL;DR

This paper formally verifies and simplifies Vigilant's CRT-RSA countermeasure against the BellCoRe fault injection attack using an enhanced symbolic computation tool (finja). It reveals that the original countermeasure is vulnerable, but less so than previously believed, allowing the authors to simplify Coron et al.'s repaired version by eliminating two of nine modular checks while formally proving the resulting simplified version remains secure against both permanent and transient faults, including zeroing and randomizing faults.

ABSTRACT

In our paper at PROOFS 2013, we formally studied a few known countermeasures to protect CRT-RSA against the BellCoRe fault injection attack. However, we left Vigilant's countermeasure and its alleged repaired version by Coron et al. as future work, because the arithmetical framework of our tool was not sufficiently powerful. In this paper we bridge this gap and then use the same methodology to formally study both versions of the countermeasure. We obtain surprising results, which we believe demonstrate the importance of formal analysis in the field of implementation security. Indeed, the original version of Vigilant's countermeasure is actually broken, but not as much as Coron et al. thought it was. As a consequence, the repaired version they proposed can be simplified. It can actually be simplified even further as two of the nine modular verifications happen to be unnecessary. Fortunately, we could formally prove the simplified repaired version to be resistant to the BellCoRe attack, which was considered a "challenging issue" by the authors of the countermeasure themselves.

Motivation & Objective

  • To formally analyze Vigilant’s CRT-RSA countermeasure against the BellCoRe fault injection attack, which had previously resisted formal verification due to limitations in the analysis tool’s arithmetical capabilities.
  • To extend the finja tool with advanced modular arithmetic support to handle composite-degree residuosity classes and discrete logarithm properties critical for analyzing Vigilant’s scheme.
  • To assess the security of both the original and repaired versions of Vigilant’s countermeasure under a comprehensive fault model, including permanent and transient faults, with or without zeroing.
  • To simplify the repaired countermeasure by identifying and removing redundant verification checks without compromising security.
  • To demonstrate the critical role of formal methods in identifying implementation flaws and enabling secure, minimal countermeasure designs.

Proposed method

  • Enhanced the finja tool with symbolic computation capabilities in modular arithmetic, specifically supporting properties related to discrete logarithms in composite residuosity classes.
  • Applied the extended finja framework to formally verify the security of Vigilant’s original and Coron et al.’s repaired CRT-RSA countermeasures against the BellCoRe attack.
  • Conducted a full fault coverage analysis, modeling both permanent faults (e.g., in memory) and transient faults (e.g., during data transit on buses or in register banks).
  • Used a fault model that includes zeroing faults and randomizing faults, with attacks possible at various points in the CRT-RSA computation pipeline.
  • Identified and formally proved that two of the nine modular verifications in the repaired countermeasure are unnecessary, enabling simplification.
  • Validated the simplified countermeasure’s resistance to both single- and double-fault attacks, including the two-fault attack exploiting unbalanced verification presence in intermediate steps.

Experimental results

Research questions

  • RQ1Is Vigilant’s original CRT-RSA countermeasure secure against the BellCoRe fault injection attack, and does it remain secure under a comprehensive fault model?
  • RQ2Can Coron et al.’s repaired version of Vigilant’s countermeasure be simplified without compromising its resistance to fault attacks?
  • RQ3Are there redundant verification steps in the repaired countermeasure that can be formally removed while preserving security?
  • RQ4To what extent does formal verification reveal vulnerabilities missed by manual analysis or heuristic optimization?
  • RQ5Can formal methods enable both security hardening and performance optimization in cryptographic countermeasures?

Key findings

  • The original version of Vigilant’s countermeasure is formally proven to be vulnerable to the BellCoRe attack, contrary to initial assumptions, but the vulnerability is less severe than previously believed.
  • Coron et al.’s repaired version of the countermeasure is formally proven secure against both permanent and transient faults, including zeroing and randomizing faults, under a comprehensive fault model.
  • Two of the nine modular verification checks in the repaired countermeasure are formally proven to be unnecessary, allowing for a simplified and more efficient implementation.
  • The simplified countermeasure retains full resistance to the BellCoRe attack, including two-fault attacks that exploit unbalanced verification presence in intermediate steps.
  • The formal analysis reveals that a speed-oriented optimization introduced in the original scheme inadvertently created a vulnerability that was later patched by Coron et al., highlighting the risks of heuristic development.
  • The study demonstrates that formal methods are essential not only for verifying security but also for enabling optimization by identifying and removing redundant checks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.