Skip to content

jonas-bh/TamarinAutoRunner

Repository files navigation

TamarinAutoRunner

Repo for our ITU Research Project for automating the testing of different threat combinations in Tamarin.

Requirements

Protocol Setup

Rules

TamarinAutoRunner requires the rules describing each threat to be annotated in the Tamarin protocol .spthy file using the following notation:

#ifdef THREAT1
rule rule1 [color=#FF0000]:
...
#endif

#ifdef THREAT2
rule rule2 [color=#FF0000]:
...
#endif

It is possible to have multiple rules for one threat and these should be enclosed inside the same #ifdef and #endif pair in that case.

Lemmas

Lemmas should be defined to describe the security properties of the system. For each lemma, Tamarin Auto Runner will find the maxmimal threat combinations under which the property holds.

Usage

Invoke TamarinAutoRunner from a command prompt using

TamarinAutoRunner -pf <PROTOCOL_FILE> [OPTIONS]

where

PROTOCOL_FILE refers to a Tamarin protocol .spthy file annotated as described in Protocol Setup

Supported options are:

-of <ORACLE_FILE> refers to an oracle file, if necessary for implementing custom proof goal heuristics in protocol

-tam <TAMARIN_BIN> refers to the bin folder of a Tamarin installation, necessary only if tamarin-prover is not configured as a system environment variable

Output

Tamarin Auto Runner creates the files results.txt and traversalLog.txt.

  • results.txt: A list of lemmas and the largest threat combination(s) under which the lemma holds.
  • traversalLog.txt: A log file listing the tested lemmas and the order in which nodes of the threat lattice have been analysed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors