From 6cf81b3e8e9b259a3a1a2494fcd19527308c3637 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Tue, 18 Sep 2007 15:25:32 +0200 Subject: [PATCH] Added protocol that exploits the main problem of the Athena-based algorithm. --- protocols/misc/athena-breaker.spdl | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 protocols/misc/athena-breaker.spdl diff --git a/protocols/misc/athena-breaker.spdl b/protocols/misc/athena-breaker.spdl new file mode 100644 index 0000000..7d31f73 --- /dev/null +++ b/protocols/misc/athena-breaker.spdl @@ -0,0 +1,44 @@ +/* + * Athena breaker protocol + */ + +// PKI infrastructure + +const pk: Function; +secret sk: Function; +inversekeys (pk,sk); + +// The protocol description + +protocol abreaker(I,R) +{ + role I + { + const ni: Nonce; + + send_!1(I,R, {{I,ni}pk(R)}pk(R) ); + + claim_i1(I,Secret,ni); + } + + role R + { + var T:Ticket; + + read_!1(I,R, {T}pk(R) ); + send_!2(R,I, T ); + + } +} + +// The agents in the system + +const Alice,Bob: Agent; + +// An untrusted agent, with leaked information + +const Eve: Agent; +untrusted Eve; +const ne: Nonce; +compromised sk(Eve); +