LeakageVerif: Efficient and Scalable Formal Verification of Leakage in Symbolic Expressions - Archive ouverte HAL
Article Dans Une Revue IEEE Transactions on Software Engineering Année : 2023

LeakageVerif: Efficient and Scalable Formal Verification of Leakage in Symbolic Expressions

Résumé

Side-channel attacks are a powerful class of attacks targeting cryptographic devices. Masking is a popular protection technique to thwart such attacks as it can be theoretically proven secure. However, correctly implementing masking schemes is a non-trivial task and error-prone. If several techniques have been proposed to formally verify masked implementations, they all come with limitations regarding expressiveness, scalability or accuracy. In this work, we propose a symbolic approach, based on a variant of the classical substitution method, for formally verifying arithmetic and boolean masked programs. This approach is more accurate and scalable than existing approaches thanks to a careful design and implementation of key heuristics, algorithms and data structures involved in the verification process. We present all the details of this approach and the open-source tool called LeakageVerif which implements it as a python library, and which offers constructions for symbolic expressions and functions for their verification. We compare LeakageVerif to three existing state-of-the-art tools on a set of 46 masked programs, and we show that it has very good scalability and accuracy results while providing all the necessary constructs for describing algorithmic to assembly masking schemes. Finally, we also provide the set of 46 benchmarks, named MaskedVerifBenchs and written for comparing the different verification tools, in the hope that they will be useful to the community for future comparisons.
Fichier principal
Vignette du fichier
leakage_verif.pdf (869.92 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04192501 , version 1 (31-08-2023)

Identifiants

Citer

Quentin L. Meunier, Etienne Pons, Karine Heydemann. LeakageVerif: Efficient and Scalable Formal Verification of Leakage in Symbolic Expressions. IEEE Transactions on Software Engineering, 2023, 49 (6), pp.3359 - 3375. ⟨10.1109/TSE.2023.3252671⟩. ⟨hal-04192501⟩
46 Consultations
60 Téléchargements

Altmetric

Partager

More