Analysis of optimistic multi-party contract signing
Rohit Chadha1,2, Steve Kremer3, Andre Scedrov1
1University of Pennsylvania 2University of Sussex 3Université Libre de Bruxelles
Analysis of optimistic multi-party contract signing Rohit Chadha 1,2 - - PowerPoint PPT Presentation
Analysis of optimistic multi-party contract signing Rohit Chadha 1,2 , Steve Kremer 3 , Andre Scedrov 1 1 University of Pennsylvania 2 University of Sussex 3 Universit Libre de Bruxelles Digital Contract signing Use dig ita l sig na ture s
1University of Pennsylvania 2University of Sussex 3Université Libre de Bruxelles
Use dig ita l sig na ture s to sig n a c o ntra c t o ve r a
Spe c ia l insta nc e o f fa ir e xc ha ng e pro to c o ls I
Na ive 2-pa rty e xa mple :
Use dig ita l sig na ture s to sig n a c o ntra c t o ve r a
Spe c ia l insta nc e o f fa ir e xc ha ng e pro to c o ls I
Na ive 2-pa rty e xa mple :
Bo b ma y b e ma lic io us a nd no t se nd his sig na ture Asymme try : so me o ne must b e the first to se nd
F
– I f A c a n g e t B’ s sig na ture , the n B c a n g e t A’ s sig na ture a nd vic e -ve rsa T
– Avo ids tha t a pa rtic ipa nt g e ts stuc k Ad va nta g e – A pa rtic ipa nt ha s a n a dva nta g e if
Abuse -fre e ne ss (pro va b le a dva nta g e ) – Avo ids tha t a pa rtic ipa nt c a n pro ve to a n e xte rna l pa rty tha t he ha s the po we r to c ho o se the o utc o me o f the pro to c o l
Ra ndo mize d pro to c o ls T
T
[Shmatikov, Mitchell, 2000] – Mo de l-c he c ke r Murphi – inva ria nt c he c king [Chadha, Kanovich, Scedrov, 2001] – Spe c ific a tio n in MSR – induc tive pro o fs [Kremer, Raskin, 2002] – Mo de l-c he c ke r Mo c ha – AT L (te mpo ra l lo g ic with g a me se ma ntic s) [Chadha, Mitchell, Scedrov, Shmatikov 2003] – g e ne ra l re sults (pro to c o l inde pe nde nt) o n a dva nta g e
Unlike fo r 2-pa rty pro to c o ls, the diffe re nt insta nc e s o f fa ir
e xc ha ng e pro to c o ls diffe r sig nific a ntly in the multi-pa rty c ase
1-to -ma ny no n-re pud ia tio n a nd c e rtifie d e -ma il ring to po lo g y b a rte r full g ra ph c o ntra c t sig ning
Co ntra c t sig ning re q uire s the mo st c o mplic a te d pro to c o ls
n pa rtic ipa nts wa nt to sig n a c o ntra c t Pro pe rtie s fo r a ho ne st pa rtic ipa nt must
E
Asto nishing ly fe w so fa r [Asokan, Baum-Waidner, Schunter, Waidner, T.R. 1998] Optimistic sync hro no us multi-pa rty c o ntra c t sig ning [Baum-Waidner, Waidner, T.R. 1998 & ICALP 2000] Optimistic a sync hro no us multi-pa rty c o ntra c t sig ning [Garay, MacKenzie, DISC 1999] Optimistic a sync hro no us multi-pa rty c o ntra c t sig ning [Baum-Waidner, Waidner, ICALP 2001] Optimistic a sync hro no us multi-pa rty c o ntra c t sig ning with re duc e d numb e r o f ro unds
All pa rtic ipa nts a re pla ye rs 2 ve rsio ns o f e a c h pla ye r de sc rib e d using
– ho ne st : fo llo w the pro to c o l – disho ne st : ma y se nd me ssa g e s o ut o f o rde r a nd c o ntinue the ma in pro to c o l a fte r c o nta c ting the truste d pa rty Me ssa g e s a re imme dia te ly a va ila b le fo r re a ding Only struc tura l fla ws a re c o nside re d – no mo de lling o f the c rypto g ra phic primitive s Mo c ha c a nno t ha ndle pa ra me tric spe c ific a tio ns – Sma ll C++ pro g ra ms fo r the GM pro to c o l a nd the BW pro to c o l, tha t g e ne ra te the Mo c ha spe c ific a tio n fo r a g ive n numb e r o f pa rtic ipa nts
Gua rde d c omma nds de sc r ibing the pr
AT L fo rmula
Moc ha Moc ha
YES NO
Ra the r simple pro to c o l, with symme tric
T
We use d Mo c ha to ve rify fa irne ss fo r
T
No n-sta nd a rd d e finitio n o f c o ntra c t
Re c ursive de sc riptio n o f the pro to c o l T
– I n e a c h pro to c o l le ve l spe c ific pro mise s a re use d – Pro mise s a re imple me nte d using priva te c o ntra c t sig na ture s (c o nve rtib le de sig na te d ve rifie r sig na ture s) T
+1 thro ug h Pn
I
– T he y a g re e o n the c o ntra c t with pro mise s (no t sig na ture s) Pi thro ug h P1 c lo se hig he r le ve l pro to c o ls Afte r the n-le ve l pro to c o l a c tua l sig na ture s a re
P4 P3 P2 P1
wise stop
wise stop
stop 1-le ve l promise 1-le ve l promise 1-le ve l promise 1-le ve l promise 1-le ve l promise 1-le ve l promise
P4 P3 P2 P1
wise a bort
1-le ve l promise 2-le ve l promise 2-le ve l promise 2-le ve l promise 2-le ve l promise
wise r e c ove r
wise r e c ove r
wise r e c ove r
P4 P3 P2 P1
3-le ve l promise
wise r e c ove r
wise r e c ove r
3-le ve l promise 3-le ve l promise
wise r e c ove r
3-le ve l promise
wise r e c ove r
wise r e c ove r
3-le ve l promise 3-le ve l promise 3-le ve l promise 3-le ve l promise 3-le ve l promise
P4 P3 P2 P1
wise r e c ove r
wise r e c ove r
4-le ve l promise 4-le ve l promise 4-le ve l promise 4-le ve l promise 4-le ve l promise 4-le ve l promise othe r
wise r e c ove r
wise r e c ove r
4-le ve l promise 4-le ve l promise 4-le ve l promise
wise r e c ove r
4-le ve l promise 4-le ve l promise 4-le ve l promise
wise r e c ove r
P4 P3 P2 P1
wise r e c ove r
wise r e c ove r
Sig na ture Sig na ture Sig na ture
wise r e c ove r
wise r e c ove r
wise r e c ove r
Sig na ture Sig na ture Sig na ture
wise r e c ove r
Sig na ture Sig na ture Sig na ture Sig na ture Sig na ture Sig na ture
T
Pi(m,Pi,(P1, ... ,Pn), a b o rt)
T
Pi ({PCS Pj(m,kj), Pi, T
Pi(m,1)
E
T
T
T
– va lida te d: a b o o le a n indic a ting whe the r the c o ntra c t ha s b e e n va lida te d o r no t – S: the se t o f indic e s o f pa rtie s that ha ve a b o rte d – F : se t o f indic e s o f pa rtie swhic h he lp T to de c ide whe n to o ve rturn a n a b o rt
No te tha t P1 c a nno t a b o rt Ab o rt re spo nse s inc lud e the pa rtic ipa nts
I
Use T
Co nsid e r the pro to c o l insta nc e whe re
Using Mo c ha , we sho w tha t a b use -
– P1 has an ab o rt re ply and – P1 and P2 have a strate g y to o b tain P3’s sig nature – ho ne st P3 do e s no t have a strate g y to o b tain P1’s and P2’s sig nature
At the b e g inning P2 a b o rts P1 trie s to re so lve , b ut g e ts a n a b o rt re ply
At tha t po int P1 a nd P2 c a n c ho o se the
E
T
Co nside r the pro to c o l insta nc e whe re n=4 Using Mo c ha , we sho w tha t fa irne ss do e s no t
– P1, P3 and P4 have P2’s sig nature – the re e xists a path suc h that P2 do e s no t o b tain all
Simila r a tta c ks c a n b e sho wn a g a inst P1 a nd P3 Using Mo c ha we did no t disc o ve r a ny a tta c k o n
P1, P3 a nd P4 c o llud e a g a inst P2 P3 a b o rts a t the b e g inning
P1 re so lve s, b ut T
P2 trie s to re c o ve r, b ut a s P2 is in F
P4 re so lve s a nd T
Mo re g e ne ra lly the a tta c k sc e na rio s a re a s
to the se t F
F
Using the mo de l-c he c ke r Mo c ha a nd the
T
E
– de rive Mo c ha spe c ific a tio ns dire c tly fro m stra nds – c o rre c tne ss pro o fs whe n no a tta c k is fo und E
– Do le v-Yao -like intrude r – Pa ra me tric ve rific a tio n Study diffe re nt to po lo g ie s, e .g . ring to po lo g ie s in
Mo de l o ptimistic pla ye rs in multi-pa rty pro to c o ls E
1- le ve l pr
1- le ve l pr
3- le ve l pr
1- le ve l pr
2- le ve l pr
2- le ve l pr
2- le ve l pr
3- le ve l pr
3- le ve l pr
3- le ve l pr
3- le ve l pr
4- le ve l pr
4- le ve l pr
4- le ve l pr
4- le ve l pr
4- le ve l pr
Signatur e Signatur e Signatur e
Pi
1-le ve l p ro mise fro m j (n ≤ j < i) Othe rwise , sto p 1-le ve l pro mise to j (i < j ≤ 1)
a g re e me nt o f Pi...P1
i
i
i
i
Othe rwise , a b o rt Othe rwise , re so lve i
Othe rwise , re so lve i+1-le ve l pro mise to j (i < j ≤ 1) i+1-le ve l pro mise fro m j (i < j ≤ 1) Othe rwise , re so lve i+1-le ve l pro mise to j (i < j ≤ i+2) i+2-le ve l p ro mise fro m j (i+2 ≤ j < i) Othe rwise , re so lve
Othe rwise , re so lve n+1-le ve l p ro mise fro m j (n ≤ j < i) a nd sig na ture s n+1-le ve l pro mise to j ( j ≠ i) a nd sig na ture s