{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T17:57:17Z","timestamp":1794592637174,"version":"4.9.1"},"reference-count":27,"publisher":"SAGE Publications","issue":"4","license":[{"start":{"date-parts":[[2022,7,25]],"date-time":"2022-07-25T00:00:00Z","timestamp":1658707200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Journal of Computer Security"],"published-print":{"date-parts":[[2022,8,25]]},"abstract":"<jats:p>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 \u201csources lemmas\u201d, which requires some knowledge of the internal behaviour of the tool.<\/jats:p>\n                  <jats:p>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.<\/jats:p>","DOI":"10.3233\/jcs-210053","type":"journal-article","created":{"date-parts":[[2022,7,26]],"date-time":"2022-07-26T13:35:46Z","timestamp":1658842546000},"page":"573-598","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":5,"title":["Automatic generation of sources lemmas in\n                    <scp>Tamarin<\/scp>\n                    : Towards automatic proofs of security protocols"],"prefix":"10.1177","volume":"30","author":[{"given":"V\u00e9ronique","family":"Cortier","sequence":"first","affiliation":[{"name":"Universit\u00e9 de Lorraine, CNRS, Inria, LORIA, F-54000 Nancy, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"St\u00e9phanie","family":"Delaune","sequence":"additional","affiliation":[{"name":"Universit\u00e9 Rennes, CNRS, IRISA, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jannik","family":"Dreier","sequence":"additional","affiliation":[{"name":"Universit\u00e9 de Lorraine, CNRS, Inria, LORIA, F-54000 Nancy, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Elise","family":"Klein","sequence":"additional","affiliation":[{"name":"Universit\u00e9 de Lorraine, CNRS, Inria, LORIA, F-54000 Nancy, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"179","published-online":{"date-parts":[[2022,7,25]]},"reference":[{"key":"ref001","doi-asserted-by":"crossref","unstructured":"A.\u00a0Armando, D.\u00a0Basin, Y.\u00a0Boichut, Y.\u00a0Chevalier, L.\u00a0Compagna, J.\u00a0Cuellar, P.\u00a0Hankes Drielsma, P.C.\u00a0H\u00e9am, O.\u00a0Kouchnarenko, J.\u00a0Mantovani, S.\u00a0M\u00f6dersheim, D.\u00a0von Oheimb, M.\u00a0Rusinowitch, J.\u00a0Santiago, M.\u00a0Turuani, L.\u00a0Vigan\u00f2 and L.\u00a0Vigneron, The AVISPA tool for the automated validation of Internet security protocols and applications, in: 17th International Conference on Computer Aided Verification, CAV\u20192005, K.\u00a0Etessami and S.\u00a0Rajamani, eds, Lecture Notes in Computer Science, Vol.\u00a03576, Springer, Edinburgh, Scotland, 2005, pp.\u00a0281\u2013285.","DOI":"10.1007\/11513988_27"},{"key":"ref002","doi-asserted-by":"crossref","unstructured":"D.\u00a0Basin, J.\u00a0Dreier, L.\u00a0Hirschi, S.\u00a0Radomirovic, R.\u00a0Sasse and V.\u00a0Stettler, A Formal Analysis of 5G Authentication, in: 25th ACM Conference on Computer and Communications Security (CCS\u201918), 2018.","DOI":"10.1145\/3243734.3243846"},{"key":"ref003","doi-asserted-by":"crossref","unstructured":"D.\u00a0Basin, J.\u00a0Dreier and R.\u00a0Sasse, Automated symbolic proofs of observational equivalence, in: 22nd ACM SIGSAC Conference on Computer and Communications Security (ACM CCS 2015), ACM, Denver, United States, 2015, pp.\u00a01144\u20131155.","DOI":"10.1145\/2810103.2813662"},{"key":"ref004","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-23165-5_7"},{"key":"ref005","doi-asserted-by":"crossref","unstructured":"K.\u00a0Bhargavan, B.\u00a0Blanchet and N.\u00a0Kobeissi, Verified models and reference implementations for the TLS 1.3 standard candidate, in: IEEE Symposium on Security and Privacy (S&P\u201917), San Jose, CA, 2017, pp.\u00a0483\u2013503.","DOI":"10.1109\/SP.2017.26"},{"key":"ref006","doi-asserted-by":"crossref","unstructured":"B.\u00a0Blanchet, An efficient cryptographic protocol verifier based on prolog rules, in: 14th IEEE Computer Security Foundations Workshop (CSFW-14), IEEE Computer Society, Cape Breton, Nova, Scotia, Canada, 2001, pp.\u00a082\u201396.","DOI":"10.1109\/CSFW.2001.930138"},{"key":"ref007","doi-asserted-by":"crossref","unstructured":"B.\u00a0Blanchet, Symbolic and computational mechanized verification of the ARINC823 avionic protocols, in: 30th IEEE Computer Security Foundations Symposium (CSF\u201917), Santa Barbara, CA, USA, 2017, pp.\u00a068\u201382.","DOI":"10.1109\/CSF.2017.7"},{"key":"ref008","doi-asserted-by":"crossref","unstructured":"V.\u00a0Cheval, S.\u00a0Kremer and I.\u00a0Rakotonirina, DEEPSEC: Deciding equivalence properties in security protocols \u2013 theory and practice, in: Proceedings of the 39th IEEE Symposium on Security and Privacy (S&P\u201918), IEEE Computer Society Press, 2018, pp.\u00a0525\u2013542.","DOI":"10.1109\/SP.2018.00033"},{"key":"ref009","doi-asserted-by":"crossref","unstructured":"H.\u00a0Comon-Lundh and S.\u00a0Delaune, The finite variant property: How to get rid of some algebraic properties, in: Proc. 16th International Conference on Rewriting Techniques and Applications (RTA\u201905), LNCS, Vol.\u00a03467, Springer, Nara, Japan, 2005, pp.\u00a0294\u2013307.","DOI":"10.1007\/978-3-540-32033-3_22"},{"key":"ref010","doi-asserted-by":"crossref","unstructured":"V.\u00a0Cortier, S.\u00a0Delaune and J.\u00a0Dreier, Automatic generation of sources lemmas in Tamarin: Towards automatic proofs of security protocols, in: 25th European Symposium on Research in Computer Security, ESORICS 2020, Guildford, UK, September 14\u201318, 2020, Proceedings, Part II, Vol.\u00a012309, Guilford, United Kingdom, 2020, pp.\u00a03\u201322.","DOI":"10.1007\/978-3-030-59013-0_1"},{"key":"ref011","doi-asserted-by":"crossref","unstructured":"V.\u00a0Cortier, D.\u00a0Galindo and M.\u00a0Turuani, A formal analysis of the Neuch\u00e2tel e-voting protocol, in: 3rd IEEE European Symposium on Security and Privacy (EuroSP\u201918), London, UK, 2018, pp.\u00a0430\u2013442.","DOI":"10.1109\/EuroSP.2018.00037"},{"key":"ref012","doi-asserted-by":"crossref","unstructured":"J.\u00a0Dreier, C.\u00a0Dum\u00e9nil, S.\u00a0Kremer and R.\u00a0Sasse, Beyond subterm-convergent equational theories in automated verification of stateful protocols, in: POST 2017\u00a0\u2013 6th International Conference on Principles of Security and Trust, Proceedings of the 6th International Conference on Principles of Security and Trust, Vol.\u00a010204, Springer, Uppsala, Sweden, 2017, pp.\u00a0117\u2013140.","DOI":"10.1007\/978-3-662-54455-6_6"},{"key":"ref013","doi-asserted-by":"crossref","unstructured":"J.\u00a0Dreier, L.\u00a0Hirschi, S.\u00a0Radomirovic and R.\u00a0Sasse, Automated unbounded verification of stateful cryptographic protocols with exclusive OR, in: CSF 2018, 2018, pp.\u00a0359\u2013373.","DOI":"10.1109\/CSF.2018.00033"},{"key":"ref014","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-191358"},{"key":"ref015","unstructured":"N.\u00a0Durgin, P.\u00a0Lincoln, J.\u00a0Mitchell and A.\u00a0Scedrov, Undecidability of bounded security protocols, in: Workshop on Formal Methods and Security Protocols, Trento, Italia, 1999."},{"key":"ref016","doi-asserted-by":"crossref","unstructured":"S.\u00a0Escobar, C.\u00a0Meadows and J.\u00a0Meseguer, A rewriting-based inference system for the NRL protocol analyzer: Grammar generation, in: ACM Workshop on Formal Methods in Security Engineering (FMSE\u201905), 2005, pp.\u00a01\u201312.","DOI":"10.1145\/1103576.1103578"},{"key":"ref017","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2006.08.035"},{"key":"ref018","unstructured":"G.\u00a0Girol, L.\u00a0Hirschi, R.\u00a0Sasse, D.\u00a0Jackson, C.\u00a0Cremers and D.\u00a0Basin, A Spectral Analysis of Noise: A Comprehensive, Automated, Formal Analysis of Diffie\u2013Hellman Protocols, in: Usenix Security, 2020."},{"key":"ref019","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-160556"},{"key":"ref020","unstructured":"Main source code repository of the Tamarin prover for security protocol verification, Accessed on 12\/03\/2021."},{"key":"ref021","doi-asserted-by":"crossref","unstructured":"S.\u00a0Meier, B.\u00a0Schmidt, C.\u00a0Cremers and D.\u00a0Basin, The TAMARIN prover for the symbolic analysis of security protocols, in: Computer Aided Verification, 25th International Conference, CAV 2013, Proc., LNCS, Vol.\u00a08044, Springer, Princeton, USA, 2013, pp.\u00a0696\u2013701.","DOI":"10.1007\/978-3-642-39799-8_48"},{"key":"ref022","doi-asserted-by":"crossref","unstructured":"B.\u00a0Schmidt, S.\u00a0Meier, C.J.F.\u00a0Cremers and D.A.\u00a0Basin, Automated analysis of Diffie\u2013Hellman protocols and advanced security properties, in: CSF 2012, 2012, pp.\u00a078\u201394.","DOI":"10.1109\/CSF.2012.25"},{"key":"ref023","doi-asserted-by":"crossref","unstructured":"B.\u00a0Schmidt, R.\u00a0Sasse, C.\u00a0Cremers and D.\u00a0Basin, Automated verification of group key agreement protocols, in: IEEE Symposium on Security and Privacy (S&P\u201914), 2014.","DOI":"10.1109\/SP.2014.19"},{"key":"ref024","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2014.19"},{"key":"ref025","unstructured":"Security Protocols Open Repository, Accessed on 04\/24\/2020."},{"key":"ref026","doi-asserted-by":"crossref","unstructured":"A.\u00a0Tiu and J.E.\u00a0Dawson, Automating open bisimulation checking for the spi calculus, in: Proc. 23rd IEEE Computer Security Foundations Symposium (CSF\u201910), 2010, pp.\u00a0307\u2013321.","DOI":"10.1109\/CSF.2010.28"},{"key":"ref027","unstructured":"Y.\u00a0Xiong, C.\u00a0Su, W.\u00a0Huang, F.\u00a0Miao, W.\u00a0Wang and H.\u00a0Ouyang, SmartVerif: Push the limit of automation capability of verifying security protocols by dynamic strategies, in: 29th USENIX Security Symposium (USENIX Security 20), USENIX Association, 2020, pp.\u00a0253\u2013270, https:\/\/www.usenix.org\/conference\/usenixsecurity20\/presentation\/xiong. ISBN 978-1-939133-17-5."}],"container-title":["Journal of Computer Security"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-210053","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.3233\/JCS-210053","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-210053","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T20:45:39Z","timestamp":1777495539000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.3233\/JCS-210053"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,7,25]]},"references-count":27,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2022,8,25]]}},"alternative-id":["10.3233\/JCS-210053"],"URL":"https:\/\/doi.org\/10.3233\/jcs-210053","relation":{},"ISSN":["0926-227X","1875-8924"],"issn-type":[{"value":"0926-227X","type":"print"},{"value":"1875-8924","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,7,25]]}}}