Tried to model Guttman variants, found multi-protocol attack.
This commit is contained in:
parent
b1ea3f6d4b
commit
bea1c85d9d
@ -35,6 +35,8 @@ protocol neustub(I,R,S)
|
|||||||
read_!3(S,I, { R,Ni,Kir,Tb}k(I,S), T, Nr);
|
read_!3(S,I, { R,Ni,Kir,Tb}k(I,S), T, Nr);
|
||||||
send_4(I,R,T,{Nr}Kir);
|
send_4(I,R,T,{Nr}Kir);
|
||||||
|
|
||||||
|
send_!chain(I,R, { R,Tb,Kir }k(I,S), T);
|
||||||
|
|
||||||
claim_I1(I,Secret, Kir);
|
claim_I1(I,Secret, Kir);
|
||||||
claim_I2(I,Niagree);
|
claim_I2(I,Niagree);
|
||||||
claim_I3(I,Nisynch);
|
claim_I3(I,Nisynch);
|
||||||
@ -49,11 +51,14 @@ protocol neustub(I,R,S)
|
|||||||
const Tb: TimeStamp;
|
const Tb: TimeStamp;
|
||||||
var T: Ticket;
|
var T: Ticket;
|
||||||
|
|
||||||
|
const g: Ticket;
|
||||||
|
|
||||||
read_1(I,R, I, Ni);
|
read_1(I,R, I, Ni);
|
||||||
send_!2(R,S, R, {I, Ni, Tb}k(R,S),Nr);
|
send_!2(R,S, R, {I, Ni, Tb, g}k(R,S),Nr);
|
||||||
read_4(I,R,{I,Kir,Tb}k(R,S),{Nr}Kir);
|
read_4(I,R,{I,Kir,Tb}k(R,S),{Nr}Kir);
|
||||||
|
|
||||||
claim_R1(R,Secret, Kir);
|
claim_R1(R,Secret, Kir);
|
||||||
|
claim_R5(R,Secret, g);
|
||||||
claim_R2(R,Niagree);
|
claim_R2(R,Niagree);
|
||||||
claim_R3(R,Nisynch);
|
claim_R3(R,Nisynch);
|
||||||
claim_R4(R,Empty,(Fresh,Kir));
|
claim_R4(R,Empty,(Fresh,Kir));
|
||||||
@ -65,7 +70,9 @@ protocol neustub(I,R,S)
|
|||||||
const Kir: SessionKey;
|
const Kir: SessionKey;
|
||||||
var Tb: TimeStamp;
|
var Tb: TimeStamp;
|
||||||
|
|
||||||
read_!2(R,S, R, {I,Ni,Tb}k(R,S), Nr);
|
var g: Ticket;
|
||||||
|
|
||||||
|
read_!2(R,S, R, {I,Ni,Tb, g}k(R,S), Nr);
|
||||||
send_!3(S,I, { R, Ni, Kir, Tb}k(I,S), { I,Kir,Tb}k(R,S),Nr );
|
send_!3(S,I, { R, Ni, Kir, Tb}k(I,S), { I,Kir,Tb}k(R,S),Nr );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,12 +29,21 @@ protocol neustub^Repeat(I,R,S)
|
|||||||
{
|
{
|
||||||
const Mi: Nonce;
|
const Mi: Nonce;
|
||||||
var Mr: Nonce;
|
var Mr: Nonce;
|
||||||
const Kir: SessionKey;
|
var Kir: SessionKey;
|
||||||
const Tr: TimeStamp;
|
var Tr: TimeStamp;
|
||||||
|
|
||||||
send_5(I,R,Mi,{I,Kir,Tr}k(R,S));
|
var Tb: Ticket;
|
||||||
read_6(R,I,{Mi,Mr}Kir);
|
const g: Ticket;
|
||||||
|
var h: Ticket;
|
||||||
|
|
||||||
|
read_!chain(R,I, { R,Tr,Kir }k(I,S), Tb);
|
||||||
|
|
||||||
|
send_5(I,R,Mi,{I,Kir,Tr}k(R,S),g);
|
||||||
|
read_6(R,I,{Mi,Mr,g,h}Kir);
|
||||||
send_7(I,R,{I,Mr}Kir);
|
send_7(I,R,{I,Mr}Kir);
|
||||||
|
|
||||||
|
claim_I0(I,Secret, g);
|
||||||
|
claim_I5(I,Secret, h);
|
||||||
claim_I1(I,Secret, Kir);
|
claim_I1(I,Secret, Kir);
|
||||||
claim_I2(I,Niagree);
|
claim_I2(I,Niagree);
|
||||||
claim_I3(I,Nisynch);
|
claim_I3(I,Nisynch);
|
||||||
@ -48,10 +57,16 @@ protocol neustub^Repeat(I,R,S)
|
|||||||
var Kir: SessionKey;
|
var Kir: SessionKey;
|
||||||
var Mi: Nonce;
|
var Mi: Nonce;
|
||||||
|
|
||||||
read_5(I,R,Mi,{I,Kir,Tr}k(R,S));
|
var g: Ticket;
|
||||||
send_6(R,I,{Mi,Mr}Kir);
|
const h: Ticket;
|
||||||
|
|
||||||
|
read_5(I,R,Mi,{I,Kir,Tr}k(R,S),g);
|
||||||
|
send_6(R,I,{Mi,Mr,g,h}Kir);
|
||||||
read_7(I,R,{I,Mr}Kir);
|
read_7(I,R,{I,Mr}Kir);
|
||||||
|
|
||||||
claim_R1(R,Secret, Kir);
|
claim_R1(R,Secret, Kir);
|
||||||
|
claim_R5(R,Secret, g);
|
||||||
|
claim_R6(R,Secret, h);
|
||||||
claim_R2(R,Niagree);
|
claim_R2(R,Niagree);
|
||||||
claim_R3(R,Nisynch);
|
claim_R3(R,Nisynch);
|
||||||
claim_R4(R,Empty,(Fresh,Kir));
|
claim_R4(R,Empty,(Fresh,Kir));
|
||||||
|
Loading…
Reference in New Issue
Block a user