Download HLPSL Tutorial - The AVISPA Project
Transcript
3.8 Instantiating Sessions
46
Environment
a
b
Alice 1
Bob 1
Session 1
i
Alice 2
Bob 2
Session 2
Figure 3: A valid representation of role instantiation
composition
session(a,b,kab)
/\ session(a,b,kab)
...
Essentially, this code sample is stating that there are two identical sessions between the same
client and the same server (a and b). This is a requirement of the attack on the Andrew secure
RPC protocol. The final message (below) will not be accepted by any other than the original
client because it is encrypted with their shared key.
B -> A : {K1ab, N1b}_Kab
Consider the following change to example 3:
composition
/\
session(a1,b,kab1)
session(a2,b,kab2)
...
As a result of this change, the attack is not found. Thus, role instantiation is quite subtle,
and one should specify analysis scenarios carefully.
AVISPA
HLPSL Tutorial