DeepSec: Deciding Equivalence Properties for Security Protocols -- Improved theory and practice
Vincent Cheval, Steve Kremer, Itsaka Rakotonirina
TL;DR
DeepSec provides a rigorous framework for deciding privacy-style security properties of cryptographic protocols under a bounded number of sessions. It combines a symbolic semantics, constraint-based unification, and a partition-tree data structure to obtain exact decision procedures for trace equivalence and related relations over a broad class of primitives modeled by destructor subterm-convergent rewrite systems. The authors establish tight complexity bounds, proving coNEXP-completeness for trace equivalence and labelled bisimilarity, and they implement these procedures in the DeepSec prover, achieving strong performance on a wide range of protocols versus existing tools. This work advances both theory and practice by delivering decidability and complexity results alongside scalable tools that can analyze real-world privacy properties like anonymity and unlinkability. The approach lays groundwork for extending to richer security properties and more general cryptographic theories, with practical implications for automated security verification.
Abstract
Automated verification has become an essential part in the security evaluation of cryptographic protocols. In this context privacy-type properties are often modelled by indistinguishability statements, expressed as behavioural equivalences in a process calculus. In this paper we contribute both to the theory and practice of this verification problem. We establish new complexity results for static equivalence, trace equivalence and labelled bisimilarity and provide a decision procedure for these equivalences in the case of a bounded number of protocol sessions. Our procedure is the first to decide trace equivalence and labelled bisimilarity exactly for a large variety of cryptographic primitives -- those that can be represented by a subterm convergent destructor rewrite system. We also implemented the procedure in a new tool, DeepSec. We showed through extensive experiments that it is significantly more efficient than other similar tools, while at the same time raises the scope of the protocols that can be analysed.
