Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue IACR Transactions on Cryptographic Hardware and Embedded Systems Année : 2023

Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach

Alexandre Berzati
  • Fonction : Auteur
  • PersonId : 1049398
Steven Madec
  • Fonction : Auteur
  • PersonId : 1272681
Damien Vergnaud
David Vigilant
  • Fonction : Auteur
  • PersonId : 930932

Résumé

This paper presents a new profiling side-channel attack on CRYSTALS-Dilithium, the new NIST primary standard for quantum-safe digital signatures. An open-source implementation of CRYSTALS-Dilithium is already available, with constant-time property as a consideration for side-channel resilience. However, this implementation does not protect against attacks that exploit intermediate data leakage. We show how to exploit a new leakage on a vector generated during the signing process, for which the costly protection by masking is still a matter of debate. With a corpus of 700000 messages, we design a template attack that enables us to efficiently predict whether a given coefficient in one coordinate of this vector is zero or not. By gathering signatures and being able to make the correct predictions for each index, and then using linear algebra methods, this paper demonstrates that one can recover part of the secret key that is sufficient to produce universal forgeries. While our paper deeply discusses the theoretical attack path, it also demonstrates the validity of the assumption regarding the required leakage model from practical experiments with the reference implementation on an ARM Cortex-M4. We need approximately a day to collect enough representatives and one more day to perform the traces acquisition on our target.
Fichier principal
Vignette du fichier
TCHES2023_4_08.pdf (3.74 Mo) Télécharger le fichier
Origine : Publication financée par une institution
Licence : CC BY - Paternité

Dates et versions

hal-04170340 , version 1 (08-11-2023)

Licence

Paternité

Identifiants

Citer

Alexandre Berzati, Andersson Calle Viera, Maya Chartouny, Steven Madec, Damien Vergnaud, et al.. Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2023, 2023 (4), pp.188-210. ⟨10.46586/tches.v2023.i4.188-210⟩. ⟨hal-04170340⟩
159 Consultations
78 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More