Research topics / Formal verification of security protocols
Formal verification of security protocols
We develop formal methods and automated tools for analyzing security protocols. The analysis starts with models of the protocol, its environment, and the adversary’s capabilities. Security properties then state the guarantees that the protocol should provide in this model.
Our tools include Scyther and the Tamarin prover. Tamarin supports protocols with mutable state, Diffie-Hellman exponentiation, and complex control flow. It combines automated analysis with interactive proof construction. We use these methods to find attacks and establish security properties, and develop new proof techniques to increase the scope and automation of the analysis.
Applications include TLS, messaging protocols, and security standards. The protocol models page connects concrete models to the papers in which they were analyzed.
Suggested reading
The following books, chapter, and papers introduce our analysis methods and tools, and techniques for extending their scope and automation.
-
Modeling and Analyzing Security Protocols with Tamarin: A Comprehensive Guide
David Basin, Cas Cremers, Jannik Dreier, and Ralf Sasse.
Information Security and Cryptography series, Springer, 2025.
[publisher] [online version and accompanying files]We give a comprehensive guide to modeling and analyzing security protocols with Tamarin. The online version and accompanying files are freely available.
-
Model Checking Security Protocols
David Basin, Cas Cremers, and Catherine Meadows.
Handbook of Model Checking, Springer, 2018.
[pdf] [book] [bibtex]For an introduction to model checking security protocols, see this chapter in the Handbook of Model Checking.
-
Operational Semantics and Verification of Security Protocols
Cas Cremers and Sjouke Mauw.
Information Security and Cryptography series, Springer, 2012.
[publisher]We develop operational semantics for security protocols, models of the adversary, and definitions of security properties. The book presents a verification methodology and its implementation in Scyther.
-
Tamarin: Verification of Large-Scale, Real-World, Cryptographic ProtocolsTamarin: Verification of Large-Scale, Real-World, Cryptographic Protocols
Tamarin is a mature, state-of-the-art tool for cryptographic protocol verification. We survey some of the larger tour de force results achieved and show how Tamarin can formalize protocols, adversary models, and properties, and scale to substantial, real world, verification problems.
Details
David Basin, Cas Cremers, Jannik Dreier, and Ralf Sasse.
IEEE Security & Privacy, 2022.This overview describes applications of Tamarin to substantial protocol verification problems, including the modeling of protocols, adversaries, and security properties.
Further reading
-
Less Effort, Shorter Proofs: Reinforcement Learning for Security Protocol Analysis in Tamarin
Details
Matthias Cosler, Cas Cremers, Bernd Finkbeiner, Mohamed Ghanem, and Niklas Medinger.
ACM CCS 2026, The Hague, November 2026.
[eprint] -
Secure Protocol Composition under Dynamic Corruption: Scaling Up Symbolic Analysis for Real-World Security Properties
Details
Cas Cremers, Erik Pallas, and Aleksi Peltonen.
USENIX 2026, August 2026.
To appear.
[eprint] [blog post] -
Looping for Good: Cyclic Proofs for Security Protocols
Details
Felix Linker, Cas Cremers, David Basin, and Christoph Sprenger.CCS Distinguished Paper Award
ACM CCS 2025, Taipei, October 2025.
[technical report] [bibtex] -
Formal Analysis of Session-Handling in Secure Messaging: Lifting Security from Sessions to Conversations
Details
Cas Cremers, Charlie Jacomme, and Aurora Naska.
USENIX 2023, August 2023.
[eprint] [pdf] [bibtex] -
Subterm-based proof techniques for improving the automation and scope of security protocol analysis
Details
Cas Cremers, Charlie Jacomme, and Philip Lukert.
IEEE CSF 2023, June 2023.
[eprint] [bibtex] -
A Logic and an Interactive Prover for the Computational Post-Quantum Security of Protocols
Details
Cas Cremers, Caroline Fontaine, and Charlie Jacomme.
IEEE Symposium on Security & Privacy (Oakland), May 2022
[eprint] [bibtex] -
Clone Detection in Secure Messaging: Improving Post-Compromise Security in Practice
Details
Cas Cremers, Jaiden Fairoze, Benjamin Kiesl, and Aurora Naska.
ACM CCS 2020, Virtual, November 2020.
[pdf] [bibtex] [Tamarin models] -
Prime, Order Please! Revisiting Small Subgroup and Invalid Curve Attacks on Protocols using Diffie-Hellman
Details
Cas Cremers and Dennis Jackson.CSF Distinguished Paper Award
IEEE CSF 2019, 32nd IEEE Computer Security Foundations Symposium, Hoboken, NJ, USA, June 2019.
[pdf] [bibtex] -
Improving Automated Symbolic Analysis of Ballot Secrecy for E-voting Protocols: A Method Based on Sufficient Conditions
Details
Lucca Hirschi and Cas Cremers.
IEEE Euro S&P 2019, 4th IEEE European Symposium on Security and Privacy, Stockholm, Sweden, June 2019.
[pdf] [bibtex] -
Abstractions for security protocol verification
Details
Thanh Binh Nguyen, Christoph Sprenger, and Cas Cremers.
Journal of Computer Security, 2018.
[pdf] [bibtex] -
Symbolically analyzing security protocols using Tamarin
Details
David Basin, Cas Cremers, Jannik Dreier, and Ralf Sasse.
ACM SIGLOG News, 2018.
[pdf] -
A Comprehensive Symbolic Analysis of TLS 1.3
Details
Cas Cremers, Marko Horvat, Jonathan Hoyland, Sam Scott, and Thyla van der Merwe.
ACM CCS 2017: Proceedings of the 24th ACM Conference on Computer and Communications Security, Dallas, USA, 2017.
This work contributed to the development of the IETF "Transport Layer Security" (TLS) 1.3 standard.
[pdf] [bibtex] [further information and sources] [RFC 8446] -
DECIM: Detecting Endpoint Compromise In MessagingDECIM: Detecting Endpoint Compromise In Messaging
We present DECIM, an approach to solve the challenge of detecting endpoint compromise in messaging. DECIM manages and refreshes encryption/decryption keys in an automatic and transparent way: it makes it necessary for uses of the key to be inserted in an append-only log, which the device owner can interrogate in order to detect misuse.
We propose a multi-device messaging protocol that exploits our concept to allow users to detect unauthorised usage of their device keys. It is co-designed with a formal model, and we verify its core security property using the Tamarin prover. We present a proof-of-concept implementation providing the main features required for deployment. We find that DECIM messaging is efficient even for millions of users.
The methods we introduce are not intended to replace existing methods used to keep keys safe (such as hardware devices, careful procedures, or key refreshment techniques). Rather, our methods provide a useful and effective additional layer of security.
Details
Jiangshan Yu, Mark Ryan, and Cas Cremers.
IEEE Transactions on Information Forensics & Security, 2017.
[bibtex] -
Automatically Detecting the Misuse of Secrets: Foundations, Design Principles, and ApplicationsAutomatically Detecting the Misuse of Secrets: Foundations, Design Principles, and Applications
We develop foundations and several constructions for security protocols that can automatically detect, without false positives, if a secret (such as a key or password) has been misused. Such constructions can be used, e.g., to automatically shut down compromised services, or to automatically revoke misused secrets to minimize the effects of compromise. Our threat model includes malicious agents, (temporarily or permanently) compromised agents, and clones.
Previous works have studied domain-specific partial solutions to this problem. For example, Google's Certificate Transparency aims to provide infrastructure to detect the misuse of a certificate authority's signing key, logs have been used for detecting endpoint compromise, and protocols have been proposed to detect cloned RFID/smart cards. Contrary to these existing approaches, for which the designs are interwoven with domain-specific considerations and which usually do not enable fully automatic response (i.e., they need human assessment), our approach shows where automatic action is possible. Our results unify, provide design rationales, and suggest improvements for the existing domain-specific solutions.
Based on our analysis, we construct several mechanisms for the detection of misuse. Our mechanisms enable automatic response, such as revoking keys or shutting down services, thereby substantially limiting the impact of a compromise.
In several case studies, we show how our mechanisms can be used to substantially increase the security guarantees of a wide range of systems, such as web logins, payment systems, or electronic door locks. For example, we propose and formally verify an improved version of Cloudflare's Keyless SSL protocol that enables key misuse detection.
Details
Kevin Milner, Cas Cremers, Jiangshan Yu, and Mark Ryan.
IEEE CSF 2017, Proc. of the 30th IEEE Computer Security Foundations Symposium, 2017.
[full version (eprint)] [bibtex] -
Design, Analysis, and Implementation of ARPKI: an Attack-Resilient Public-Key InfrastructureDesign, Analysis, and Implementation of ARPKI: an Attack-Resilient Public-Key Infrastructure
The current Transport Layer Security (TLS) Public-Key Infrastructure (PKI) is based on a weakest-link security model that depends on over a thousand trust roots. The recent history of malicious and compromised Certification Authorities has fueled the desire for alternatives. Creating a new, secure infrastructure is, however, a surprisingly challenging task due to the large number of parties involved and the many ways that they can interact. A principled approach to its design is therefore mandatory, as humans cannot feasibly consider all the cases that can occur due to the multitude of interleavings of actions by legitimate parties and attackers, such as private key compromises (e.g., domain, Certification Authority, log server, other trusted entities), key revocations, key updates, etc. We present ARPKI, a PKI architecture that ensures that certificate-related operations, such as certificate issuance, update, revocation, and validation, are transparent and accountable. ARPKI efficiently supports these operations, and gracefully handles catastrophic events such as domain key loss or compromise. Moreover ARPKI is the first PKI architecture that is co-designed with a formal model, and we verify its core security property using the TAMARIN prover. We prove that ARPKI offers extremely strong security guarantees, where compromising even n-1 trusted signing and verifying entities is insufficient to launch a man-in-the-middle attack. Moreover, ARPKI’s use deters misbehavior as all operations are publicly visible. Finally, we present a proof-of-concept implementation that provides all the features required for deployment. Our experiments indicate that ARPKI efficiently handles the certification process with low overhead. It does not incur additional latency to TLS, since no additional round trips are required.
Details
David Basin, Cas Cremers, Tiffany Hyun-Jin Kim, Adrian Perrig, Ralf Sasse, and Pawel Szalachowski.
IEEE Transactions on Dependable and Secure Computing (TDSC), 2016.
[preprint] [bibtex] -
Automated Analysis of TLS 1.3: 0-RTT, Resumption and Delayed AuthenticationAutomated Analysis of TLS 1.3: 0-RTT, Resumption and Delayed Authentication
After a development process of many months, the TLS 1.3 specification is nearly complete. To prevent past mistakes, this crucial security protocol must be thoroughly scrutinised prior to deployment.
In this work we model and analyse revision 10 of the TLS 1.3 specification using the Tamarin prover, a tool for the automated analysis of security protocols. We specify and analyse the interaction of various handshake modes for an unbounded number of concurrent TLS connections. We show that revision 10 meets the goals of authenticated key exchange in both the unilateral and mutual authentication cases.
We extend our model to incorporate the desired delayed client authentication mechanism, a feature that is likely to be included in the next revision of the specification, and uncover a potential attack in which an adversary is able to successfully impersonate a client during a PSK-resumption handshake. This observation was reported to, and confirmed by, the IETF TLS Working Group.
Our work not only provides the first supporting evidence for the security of several complex protocol mode interactions in TLS 1.3, but also shows the strict necessity of recent suggestions to include more information in the protocol’s signature contents.
Details
Cas Cremers, Marko Horvat, Sam Scott, and Thyla van der Merwe.
IEEE Symposium on Security and Privacy(Oakland), San Jose, CA, May 2016.
This work contributed to the development of the IETF "Transport Layer Security" (TLS) 1.3 standard.
[pdf] [further information and sources] [bibtex] [RFC 8446] -
Know Your Enemy: Compromising Adversaries in Protocol AnalysisKnow Your Enemy: Compromising Adversaries in Protocol Analysis
We present a symbolic framework, based on a modular operational semantics, for formalizing different notions of compromise relevant for the design and analysis of cryptographic protocols. The framework’s rules can be combined to specify different adversary capabilities, capturing different practically-relevant notions of key and state compromise. The resulting adversary models generalize the models currently used in different domains, such as security models for authenticated key exchange. We extend an existing security-protocol analysis tool, Scyther, with our adversary models. This extension systematically supports notions such as weak perfect forward secrecy, key compromise impersonation, and adversaries capable of state-reveal queries. Furthermore, we introduce the concept of a protocol-security hierarchy, which classifies the relative strength of protocols against different adversaries.
In case studies, we use Scyther to analyse protocols and automatically construct protocol-security hierarchies in the context of our adversary models. Our analysis confirms known results and uncovers new attacks. Additionally, our hierarchies refine and correct relationships between protocols previously reported in the cryptographic literature.
Details
David Basin and Cas Cremers.
ACM Transactions on Information and System Security, 2014.
[preprint] [bibtex] -
ARPKI: Attack Resilient Public-Key InfrastructureARPKI: Attack Resilient Public-Key Infrastructure
We present ARPKI, a public-key infrastructure that ensures that certificate-related operations, such as certificate issuance, update, revocation, and validation, are transparent and accountable. ARPKI is the first such infrastructure that systematically takes into account requirements identified by previous research. Moreover, ARPKI is co-designed with a formal model, and we verify its core security property using the Tamarin prover. We present a proof-of-concept implementation providing all features required for deployment. ARPKI efficiently handles the certification process with low overhead and without incurring additional latency to TLS.
ARPKI offers extremely strong security guarantees, where compromising n-1 trusted signing and verifying entities is insufficient to launch an impersonation attack. Moreover, it deters misbehavior as all its operations are publicly visible.
Details
David Basin, Cas Cremers, Tiffany Hyun-Jin Kim, Adrian Perrig, Ralf Sasse, and Pawel Szalachowski.
ACM CCS 2014: Proceedings of the 21st ACM Conference on Computer and Communications Security, Scottsdale, Arizona, USA, 2014.
[preprint] [bibtex] -
Actor Key Compromise: Consequences and CountermeasuresActor Key Compromise: Consequences and Countermeasures
Despite Alice's best efforts, her long-term secret keys may be revealed to an adversary. Possible reasons include weakly generated keys, compromised key storage, subpoena, and coercion. However, Alice may still be able to communicate securely with other parties, depending on the protocol used. We call the associated property resilience against Actor Key Compromise (AKC). We formalise this property in a symbolic model and identify conditions under which it can and cannot be achieved. In case studies that include TLS and SSH, we find that many protocols are not resilient against AKC. We implement a concrete AKC attack on the mutually authenticated TLS protocol.
Details
David Basin, Cas Cremers, and Marko Horvat.
IEEE CSF 2014, Proc. of the 27th IEEE Computer Security Foundations Symposium, 2014.
[preprint] [bibtex] -
Automated verification of group key agreement protocolsAutomated verification of group key agreement protocols
We advance the state-of-the-art in automated symbolic cryptographic protocol analysis by providing the first algorithm that can handle Diffie-Hellman exponentiation, bilinear pairing, and AC-operators. Our support for AC-operators enables protocol specifications to use multisets, natural numbers, and finite maps. We implement the algorithm in the TAMARIN prover and provide the first symbolic correctness proofs for group key agreement protocols that use Diffie-Hellman or bilinear pairing, loops, and recursion, while at the same time supporting advanced security properties, such as perfect forward secrecy or eCK-security. We automatically verify a set of protocols, including the STR, group Joux, and GDH protocols, thereby demonstrating the effectiveness of our approach.
Details
Benedikt Schmidt, Ralf Sasse, Cas Cremers, and David Basin.
IEEE Symposium on Security and Privacy(Oakland), San Jose, CA, May 2014.
[preprint] [bibtex] -
The TAMARIN Prover for the Symbolic Analysis of Security ProtocolsThe TAMARIN Prover for the Symbolic Analysis of Security Protocols
We present the TAMARIN prover for the symbolic analysis of security protocols. TAMARIN generalizes the backwards search used by the Scyther tool to enable protocol specification using multiset rewriting rules, property specification in a guarded fragment of first-order logic that allows quantification over messages and timepoints, and reasoning modulo equational theories. These features enable use of the tool to model protocols with mutable global state and complex control flow such as loops, and to specify complex security properties such as the eCK model. Additionally, they enable reasoning with respect to equational theories such as Diffie-Hellman and user-specified subterm-convergent theories. Similar to the Scyther tool, TAMARIN can analyze protocols with respect to an unbounded number of instances and fresh values.
TAMARIN provides an efficient, fully automatic mode to falsify or verify security protocols. Additionally, it provides a graphical, interactive mode, which enables users to explore proof states, inspect attack graphs, and combine manual proof guidance with automatic proof search.
Details
Simon Meier, Benedikt Schmidt, Cas Cremers, and David Basin.
CAV 2013, Proc. of the 25th International Conference on Computer Aided Verification, Saint Petersburg, 2013.Download:
[preprint] [pdf] [bibtex] [Tamarin Prover] -
Efficient Construction of Machine-Checked Symbolic Protocol Security ProofsEfficient Construction of Machine-Checked Symbolic Protocol Security Proofs
We embed an untyped security protocol model in the interactive theorem prover Isabelle/HOL and derive a theory for constructing proofs of secrecy and authentication properties. Our theory is based on two key ingredients. The first is a protocol-independent invariant that allows us to reason about the possible origin of messages. The second is a class of protocol-specific invariants that formalize type assertions about variables in protocol specifications. The resulting theory is well-suited for interactively constructing human-readable, protocol security proofs. We additionally give an algorithm that automatically generates Isabelle/HOL proof scripts based on this theory. In a number of case studies, we show that both interactive and automatic proof construction are efficient. The resulting proofs, constructed interactively or automatically, provide strong correctness guarantees since all proofs, including those deriving our theory from the security protocol model, are machine-checked.
Details
Simon Meier, Cas Cremers, and David Basin.
Journal of Computer Security, 2013.
[preprint] [pdf] [bibtex] -
Automated Analysis of Diffie-Hellman Protocols and Advanced Security PropertiesAutomated Analysis of Diffie-Hellman Protocols and Advanced Security Properties
We present a general approach for the symbolic analysis of security protocols that use Diffie-Hellman exponentiation to achieve advanced security properties. We model protocols as multiset rewriting systems and security properties as first-order formulas. We analyze them using a novel constraint-solving algorithm that supports both falsification and verification, even in the presence of an unbounded number of protocol sessions. The algorithm exploits the finite variant property and builds on ideas from strand spaces and proof normal forms. We demonstrate the scope and the effectiveness of our algorithm on non-trivial case studies. For example, the algorithm successfully verifies the NAXOS protocol with respect to a symbolic version of the eCK security model.
Details
Benedikt Schmidt, Simon Meier, Cas Cremers, and David Basin.CSF 2026 Test of Time Award
IEEE CSF 2012, Proc. of the 25th IEEE Computer Security Foundations Symposium, Harvard, 2012.
[pdf] [bibtex] [Extended version] [Tamarin Prover] -
Distance Hijacking Attacks on Distance Bounding ProtocolsDistance Hijacking Attacks on Distance Bounding Protocols
After several years of theoretical research on distance bounding protocols, the first implementations of such protocols have recently started to appear. These protocols are typically analyzed with respect to three types of attacks: Distance Fraud, Mafia Fraud, and Terrorist Fraud.
We define and analyze a fourth main type of attack on distance bounding protocols, called Distance Hijacking. This type of attack poses a serious threat in many practical scenarios. We show that many proposed distance bounding protocols are vulnerable to Distance Hijacking, and we propose solutions to make these protocols resilient to this type of attack.
We show that verifying distance bounding protocols using existing informal and formal frameworks does not guarantee the absence of Distance Hijacking attacks. We extend a formal framework for reasoning about distance bounding protocols to include overshadowing attacks. We use the resulting framework to prove the absence of all of the found attacks for protocols to which our countermeasures have been applied.
Details
Cas Cremers, Kasper Rasmussen, Benedikt Schmidt, and Srdjan Capkun.
IEEE Symposium on Security and Privacy(Oakland), San Francisco, May 2012.
[pdf] [bibtex] [Extended version] -
Distance Hijacking Attacks on Distance Bounding Protocols (Abstract)Distance Hijacking Attacks on Distance Bounding Protocols (Abstract)
Distance bounding protocols are typically analyzed with respect to three types of attacks: Distance Fraud, Mafia Fraud, and Terrorist Fraud. We define a fourth main type of attacks on distance bounding protocols, called Distance Hijacking attacks. We show that many proposed distance bounding protocols are vulnerable to these attacks, and we propose solutions to make these protocols resilient to Distance Hijacking. Additionally, we generalize Distance Hijacking to Location Hijacking, to which location verification protocols may be vulnerable.
Details
Cas Cremers, Srdjan Capkun, and Kasper Rasmussen.
Chair's invited session, NDSS 2012, San Diego, February 2012.
One-page abstract.
[pdf] [bibtex] -
Keeping Data Secret under Full Compromise using Porter DevicesKeeping Data Secret under Full Compromise using Porter Devices
We address the problem of confidentiality in scenarios where the attacker is not only able to observe the communication between principals, but can also fully compromise the communicating parties (their devices, not only their long term secrets) after the confidential data has been exchanged. We formalize this problem and explore solutions that provide confidentiality after the full compromise of devices and user passwords. We propose two new solutions that use explicit key deletion and forward-secret protocols combined with key storage on porter devices. Our solutions provide the users with full control over their privacy. We analyze the proposed solutions using an automatic verification tool. We also implement a prototype using a mobile phone as porter device to illustrate how the solution can be realized on modern platforms.
Details
Christina Pöpper, David Basin, Srdjan Capkun, and Cas Cremers.
ACSAC 2010, 26th Annual Computer Security Applications Conference, 2010, Austin, Texas.
[pdf] [bibtex] -
Degrees of Security: Protocol Guarantees in the Face of Compromising AdversariesDegrees of Security: Protocol Guarantees in the Face of Compromising Adversaries
(This paper builds on the adversary models presented in the ESORICS 2010 paper.)
We introduce the concept of a protocol-security hierarchy, which classifies the relative strength of protocols against different forms of compromise. In case studies, we use Scyther to automatically construct protocol-security hierarchies that refine and correct relationships between protocols previously reported in the cryptographic literature.
Details
David Basin and Cas Cremers.
CSL 2010, 19th EACSL Annual Conference on Computer Science Logic, 2010, Brno, Czech Republic.
[pdf] [bibtex] -
Strong Invariants for the Efficient Construction of Machine-Checked Protocol Security ProofsStrong Invariants for the Efficient Construction of Machine-Checked Protocol Security Proofs
We embed an operational semantics for security protocols in the interactive theorem prover Isabelle/HOL and derive two strong protocol-independent invariants. These invariants allow us to reason about the possible origin of messages and justify a local typing assumption for the otherwise untyped protocol variables. The two rules form the core of a theory that is well-suited for interactively constructing natural, human-readable, correctness proofs. Moreover, we develop an algorithm that automatically generates proof scripts based on these invariants. Both interactive and automatic proof construction are faster than competing approaches. Moreover, we have strong correctness guarantees since all proofs, including those deriving the underlying theory from the semantics, are machine checked.
Details
Simon Meier, Cas Cremers, and David Basin.
IEEE CSF 2010, 23rd IEEE Computer Security Foundations Symposium, 2010, Edinburgh, Scotland.
[pdf] [bibtex] -
Comparing State Spaces in Automatic Security Protocol AnalysisComparing State Spaces in Automatic Security Protocol Analysis
There are several automatic tools available for the symbolic analysis of security protocols. The models underlying these tools differ in many aspects. Some of the differences have already been formally related to each other in the literature, such as difference in protocol execution models or definitions of security properties. However, there is an important difference between analysis tools that has not been investigated in depth before: the explored state space. Some tools explore all possible behaviors, whereas others explore strict subsets, often by using so-called scenarios.
We identify several types of state space explored by protocol analysis tools, and relate them to each other. We find previously unreported differences between the various approaches. Using combinatorial results, we determine the requirements for emulating one type of state space by combinations of another type.
We apply our study of state space relations in a performance comparison of several well-known automatic tools for security protocol analysis. We model a set of protocols and their properties as homogeneously as possible for each tool. We analyze the performance of the tools over comparable state spaces. This work enables us to effectively compare these automatic tools, i.e., using the same protocol description and exploring the same state space. We also propose some explanations for our experimental results, leading to a better understanding of the tools.
Details
Cas Cremers, Pascal Lafourcade, and Philippe Nadeau.
Formal to Practical Security (LNCS 5458/2009), Springer.
[pdf] [bibtex] [test archive] -
Comparing State Spaces in Security Protocol AnalysisComparing State Spaces in Security Protocol Analysis
Many tools exist for automatic security protocol verification, and most of them have their own particular language for specifying protocols and properties. Several protocol specification models and security properties have been already formally related to each other. However, there is an important difference between verification tools, which has not been investigated in depth before: the explored state space. Some tools explore all possible behaviors, whereas others explore strict subsets, often by using so-called scenarios. Ignoring such differences can lead to wrong interpretations of the output of a tool. We relate the explored state spaces to each other and find previously unreported differences between the various approaches. We apply our study of state space relations in a performance comparison of several well-known automatic tools for security protocol verification. We model a set of protocols and their properties as homogeneously as possible for each tool. We analyze the performance of the tools over comparable state spaces. This work enables us to effectively compare these automatic tools, i.e. using the same protocol description and exploring the same state space. We also propose some explanations for our experimental results, leading to a better understanding of the tools.
(This paper is subsumed by the 2009 LNCS article Comparing State Spaces in Automatic Security Protocol Analysis with Pascal Lafourcade and P. Nadeau, found above.)
Details
Cas Cremers and Pascal Lafourcade.
AVoCS'07, ENTCS, 2007.
[pdf] [bibtex] [test reproduction archive] -
Unbounded Verification, Falsification, and Characterization of Security Protocols by Pattern RefinementUnbounded Verification, Falsification, and Characterization of Security Protocols by Pattern Refinement
We present a new verification algorithm for security protocols that allows for unbounded verification, falsification, and complete characterization. The algorithm provides a number of novel features, including: (1) Guaranteed termination, after which the result is either unbounded correctness, falsification, or bounded correctness. (2) Efficient generation of a finite representation of an infinite set of traces in terms of patterns, also known as a complete characterization. (3) State-of-the-art performance, which has made new types of protocol analysis feasible, such as multi-protocol analysis.
Details
Cas Cremers.
ACM CCS '08: Proceedings of the 15th ACM conference on Computer and communications security, Alexandria, Virginia, USA.
[pdf] [bibtex] -
The Scyther Tool: Verification, Falsification, and Analysis of Security ProtocolsThe Scyther Tool: Verification, Falsification, and Analysis of Security Protocols
CAV tool paper that provides an overview of the Scyther tool.
Details
Cas Cremers.
CAV 2008, Proceedings of the 20th International Conference on Computer Aided Verification, Princeton, USA, 2008.
[pdf] [bibtex] -
On the Protocol Composition Logic PCLOn the Protocol Composition Logic PCL
A recent development in formal security protocol analysis is the Protocol Composition Logic (PCL). We identify a number of problems with this logic as well as with extensions of the logic, as defined in [9, 13, 14, 17, 20, 21]. The identified problems imply strong restrictions on the scope of PCL, and imply that some claimed PCL proofs cannot be proven within the logic, or make use of unsound axioms. This includes the proofs of the CR protocol from [13, 14] and the SSL/TLS and IEEE 802.11i protocols from [20, 21]. Where possible, we propose solutions for these problems.
Details
Cas Cremers.
ASIACCS'08: Proceedings of the ACM Symposium on Information, Computer and Communications Security, Tokyo, Japan, 2008.
[pdf] [bibtex] -
A framework for compositional verification of security protocolsA framework for compositional verification of security protocols
Automatic security protocol analysis is currently feasible only for small protocols. Since larger protocols quite often are composed of many small protocols, compositional analysis is an attractive, but non-trivial approach. We have developed a framework for compositional analysis of a large class of security protocols. The framework is intended to facilitate automatic as well as manual verification of large structured security protocols. Our approach is to verify properties of component protocols in a multi-protocol environment, then deduce properties about the composed protocol. To reduce the complexity of multi-protocol verification, we introduce a notion of protocol independence and prove a number of theorems that enable analysis of independent component protocols in isolation. To illustrate the applicability of our framework to real-world protocols, we study a key establishment sequence in WiMAX consisting of three subprotocols. Except for a small amount of trivial reasoning, the analysis is done using automatic tools.
Details
Suzana Andova, Cas Cremers, Kristian Gjøsteen, Sjouke Mauw, Stig F. Mjølsnes, and Saša Radomirović.
Information and Computation, Special issue on Computer Security: Foundations and Automated Reasoning, Volume 206, Issues 2-4, pp. 425-459, Elsevier, 2008.
[pdf] [bibtex] -
Injective synchronisation: an extension of the authentication hierarchyInjective synchronisation: an extension of the authentication hierarchy
Authentication is one of the foremost goals of many security protocols. It is most often formalised as a form of agreement, which expresses that the communicating partners agree on the values of a number of variables. In this paper we formalise and study an intensional form of authentication which we call synchronisation. Synchronisation expresses that the messages are transmitted exactly as prescribed by the protocol description. Synchronisation is a strictly stronger property than agreement for the standard intruder model, because it can be used to detect pre-play attacks. In order to prevent replay attacks on simple protocols, we also define injective synchronisation. Given a synchronising protocol, we show that a sufficient syntactic criterion exists that guarantees that the protocol is injective as well.
Details
Cas Cremers, Sjouke Mauw, and Erik de Vink.
Theoretical Computer Science(TCS), Volume 6186, Special issue on ARSPA'05, 2006, Elsevier.
[pdf] [bibtex] -
A Family of Multi-Party Authentication ProtocolsA Family of Multi-Party Authentication Protocols
We introduce a family of multi-party authentication protocols and discuss six novel protocols, which are members of this family. The first three generalize the well-known Needham-Schroeder-Lowe public-key protocol, the Needham-Schroeder private-key protocol, and the Bilateral Key Exchange protocol. The protocols satisfy injective synchronisation, which is a strong authentication property, and establish agreement over the nonces. These protocols make use of delegated authentication to keep the protocols small and efficient. For each of these protocols we define a strengthened version that does not rely on delegated authentication. All instantiations of the protocol family consist of 2p-1 messages for p parties, which we show to be the minimal number of messages required to achieve the desired security properties in the presence of a Dolev-Yao style intruder with compromised agents.
Details
Cas Cremers and Sjouke Mauw.
WISSec'06, First Benelux Workshop on Information and System Security, Antwerpen, Belgium, November 2006.
[pdf] -
Scyther - Semantics and Verification of Security Protocols
Details
Cas Cremers.
Thesis, University Press Eindhoven, 2006
[bibtex] -
Operational semantics of security protocolsOperational semantics of security protocols
Based on a concise domain analysis we develop a formal semantics of security protocols. Its main virtue is that it is a generic model, in the sense that it is parameterized over e.g. the intruder model. Further characteristics of the model are a straightforward handling of parallel execution of multiple protocols, locality of security claims, the binding of local constants to role instances, and explicitly defined initial intruder knowledge. We validate our framework by analysing the Needham-Schroeder-Lowe protocol.
Details
Cas Cremers and Sjouke Mauw.
Scenarios: models, transformations and tools: revised selected papers. Dagstuhl castle, Germany, September 7-12, 2003, LNCS, Vol. 3466, 2005, Springer.
[pdf] [bibtex] -
A syntactic criterion for injectivity of authentication protocolsA syntactic criterion for injectivity of authentication protocols
Injectivity is essential when studying the correctness of authentication protocols, because non-injective protocols may suffer from replay attacks. The standard ways of verifying injectivity either make use of a counting argument, which only seems to be applicable in a verification methodology based on model-checking, or draw conclusions on the basis of the details of the data-model used. We propose and study a property, the loop property, that can be syntactically verified and is sufficient to guarantee injectivity. Our result is generic in the sense that it holds for a wide range of security protocol models, and does not depend on the details of message contents or nonce freshness.
Details
Cas Cremers, Sjouke Mauw, and Erik de Vink.
ARSPA 2005, ENTCS Vol. 135(1), July 2005.
[pdf] [bibtex] -
Checking secrecy by means of partial order reductionChecking secrecy by means of partial order reduction
We propose a partial order reduction for model checking security protocols for the secrecy property. Based on this reduction we develop an automatic tool that can check security protocols for secrecy, given a finite execution scenario. We compare this tool to several other tools.
Details
Cas Cremers and Sjouke Mauw.
SAM 2004: Security Analysis And modelling, 4th Workshop on SDL and MSC, LNCS 3319, Ottawa, Canada 2005, Springer.
[pdf] [bibtex] -
Defining authentication in a trace modelDefining authentication in a trace model
In this paper we define a general trace model for security protocols which allows to reason about various formal definitions of authentication. In the model, we define a strong form of authentication which we call synchronization. We present both an injective and a non-injective version. We relate synchronization to a formulation of agreement in our trace model and contribute to the discussion on intensional vs. extensional specifications.
Details
Cas Cremers, Sjouke Mauw, and Erik de Vink.
FAST 2003, Proceedings of the first international Workshop on Formal Aspects in Security and Trust, Pisa September 2003, IITT-CNR technical report.
[pdf] [bibtex]