Automatic generation of sources lemmas in Tamarin: Towards automatic proofs of security protocols
Authors:
- 25 July 2022
- journal article
- research article
- Published by SAGE Publications in Journal of Computer Security
- Vol. 30 (4) , 573-598
Abstract
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 push-button 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 hand-written lemmas. As a direct application, many simple protocols can now be analysed fully automatically, while they previously required user interaction.Keywords
This publication has 21 references indexed in Scilit:
- Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate2017
- Beyond Subterm-Convergent Equational Theories in Automated Verification of Stateful Protocols2017
- Automated analysis of security protocols with global stateJournal of Computer Security, 2016
- Automated Symbolic Proofs of Observational Equivalence2015
- Alice and Bob Meet Equational Theories2015
- The TAMARIN Prover for the Symbolic Analysis of Security Protocols2013
- Automated Analysis of Diffie-Hellman Protocols and Advanced Security Properties2012
- A rewriting-based inference system for the NRL Protocol Analyzer and its meta-logical propertiesTheoretical Computer Science, 2006
- The AVISPA Tool for the Automated Validation of Internet Security Protocols and Applications2005
- The Finite Variant Property: How to Get Rid of Some Algebraic Properties2005