Software Open Access

Automating Cryptographic Protocol Language Generation from Structured Specifications

Luca Arnaboldi; Roberto Metere

Automating Cryptographic Protocol Language Generation from Structured Specifications - FormaliSE 22 Reproducibility package

This folder will contain all the necessary files to replicate the results from the homonymous paper at FormaliSE 22, and run the tool. Please see README for details.

Abstract

Security of cryptographic protocols can be analysed by creating a model in a formal language and verifying the model in a tool. All such tools focus on the last part of the analysis, verification, and the interpretation of the specification is only explained in papers. Rather, we focus on the interpretation and modelling part by presenting a tool to aid the cryptographer throughout the process and automatically generating code in a target language. We adopt a data-centric approach where the protocol design is stored in a structured way rather than as textual specifications. Previous work shows how this approach facilitates the interpretation to a single language (for Tamarin) which required aftermath modifications.
By improving the expressiveness of the specification data structure we extend the tool to export to an additional formal language, ProVerif, as well as a C++ fully running implementation.  Furthermore, we extend the plugins to verify correctness in ProVerif and executability lemmas in Tamarin.  In this paper we model the Diffie-Hellman key exchange, which is traditionally used as a case study; a demo is also provided for other commonly studied protocols, Needham-Schroeder and Needham-Schroeder-Lowe.

 

 

 

Files (84.5 MB)
Name Size
AutoCrypto_metacp-artifact.zip
md5:4771cdbff1e1e82edf2d3e204518d6c6
84.5 MB Download
95
8
views
downloads
All versions This version
Views 9595
Downloads 88
Data volume 675.6 MB675.6 MB
Unique views 8585
Unique downloads 88

Share

Cite as