Automatic generation of sources lemmas in TAMARIN: towards automatic proofs of security protocols - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Computer Security Année : 2022

Automatic generation of sources lemmas in TAMARIN: towards automatic proofs of security protocols

Résumé

TAMARIN is a popular tool dedicated to the formal analysis of security protocols. One major strength of the tool is that it offers an interactive mode, allowing to go beyond what pushbutton tools can typically handle. TAMARIN is for example able to verify complex protocols such as TLS, 5G, or RFID protocols. However, one of its drawback is its lack of automation. For many simple protocols, the user often needs to help TAMARIN by writing specific lemmas, called "sources lemmas", which requires some knowledge of the internal behaviour of the tool. In this paper, we propose a technique to automatically generate sources lemmas in TAMARIN. Following the intuition of manually written sources lemmas, our lemmas try to keep track of the origin of a term by looking into emitted messages or facts. We prove formally that our lemmas indeed hold, for arbitrary protocols that make use of cryptographic primitives that can be modelled with a subterm convergent equational theory (modulo associativity and commutativity). We have implemented our approach within TAMARIN. Our experiments show that, in most examples of the literature, we are now able to generate suitable sources lemmas automatically, in replacement of the handwritten lemmas. As a direct application, many simple protocols can now be analysed fully automatically, while they previously required user interaction.
Fichier principal
Vignette du fichier
Tamarin-JCS2022.pdf (387.03 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03767104 , version 1 (01-09-2022)

Identifiants

Citer

Véronique Cortier, Stéphanie Delaune, Jannik Dreier, Elise Klein. Automatic generation of sources lemmas in TAMARIN: towards automatic proofs of security protocols. Journal of Computer Security, 2022, 30 (4), pp.573-598. ⟨10.3233/JCS-210053⟩. ⟨hal-03767104⟩
467 Consultations
299 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More