Adaptive Proof Strategies for Protocol Verification in Tamarin
Cas Cremers, Jannik Dreier, Steve Kremer, and Maïwenn Racouchot. Adaptive Proof Strategies for Protocol Verification in Tamarin. In Proceedings of the 48th IEEE Symposium on Security and Privacy (S&P'27), IEEE Computer Society Press, Montreal, Canada, May 2027. To appear.
Download
(unavailable)
Abstract
The Tamarin prover is a state-of-the-art symbolic verification tool for cryptographic protocols. It has been used to analyze and discover vulnerabilities in many deployed protocols, such as TLS 1.3, the AKA authentication protocols in 5G mobile communications, and the EMV payment standard, to name only a few. Given that the underlying verification problem is undecidable, termination can however not be guaranteed. Therefore, in practice, larger and more detailed models such as the above may require to manually guide the tool to reach a conclusion. Providing such guidance is a time consuming task that requires expert knowledge and a good understanding of the inner workings of the tool.
Previously, Tamarin's proof search was only guided by heuristics, which choose proof steps locally, only based on the available options at each step. In this work, we introduce adaptive proof strategies, which work on top of heuristics and take the entire proof history into account. This allows us to automatically detect when heuristics enter potential loops, and avoid or recover from such loops. Moreover, we develop a mechanism that learns from failed proof attempts by detecting which proof goals should be avoided in future attempts. To make this learned information usable by Tamarin, we extend it with tactics, a new domain specific language that allows to write proof strategies that guide the proof search. Such tactics can be automatically generated using the goals that were identified as potentially problematic, or written manually.
We performed a large-scale evaluation of the different mechanisms using all case studies from the Tamarin repository that require manual proof guidance. Using our approach, we are able to significantly improve performance in terms of termination and speed.
BibTeX
@inproceedings{GHK-sp27,
abstract = {
The Tamarin prover is a state-of-the-art symbolic verification tool for cryptographic protocols. It has been used to analyze and discover vulnerabilities in many deployed protocols, such as TLS~1.3, the AKA authentication protocols in 5G mobile communications, and the EMV payment standard, to name only a few. Given that the underlying verification problem is undecidable, termination can however not be guaranteed. Therefore, in practice, larger and more detailed models such as the above may require to manually guide the tool to reach a conclusion. Providing such guidance is a time consuming task that requires expert knowledge and a good understanding of the inner workings of the tool.
\par
Previously, Tamarin's proof search was only guided by heuristics, which choose proof steps locally, only based on the available options at each step.
In this work, we introduce adaptive proof strategies, which work on top of heuristics and take the entire proof history into account.
This allows us to automatically detect when heuristics enter potential loops, and avoid or recover from such loops. Moreover, we develop a mechanism that learns from failed proof attempts by detecting which proof goals should be avoided in future attempts. To make this learned information usable by Tamarin, we extend it with \emph{tactics}, a new domain specific language that allows to write proof strategies that guide the proof search. Such tactics can be automatically generated using the goals that were identified as potentially problematic, or written manually.
\par
We performed a large-scale evaluation of the different mechanisms using all case studies from the Tamarin repository that require manual proof guidance. Using our approach, we are able to significantly improve performance in terms of termination and speed.
},
address = {Montreal, Canada},
author = {Cremers, Cas and Dreier, Jannik and Kremer, Steve and Racouchot, Ma{\"\i}wenn},
booktitle = {{P}roceedings of the 48th IEEE Symposium on Security and Privacy (S\&P'27)},
month = may,
OPTpages = {},
publisher = {{IEEE} Computer Society Press},
title = {Adaptive Proof Strategies for Protocol Verification in Tamarin},
year = 2027,
OPTdoi = {},
acronym = {{S\&P}'27},
nmonth = 5,
note = {To appear},
OPTurl = {},
}