06.11.2014 Views

A User Centric Security Model for Tamper-Resistant Devices

A User Centric Security Model for Tamper-Resistant Devices

A User Centric Security Model for Tamper-Resistant Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

B.4 Secure and Trusted Channel Protocol Smart Card<br />

3. SP -> TPM : {SP, TPM, ns}{EKey(TPM)}<br />

3a. SP -> TPM : {Exp(Gen, s) % halfkeySP}{EKey(TPM)}<br />

<br />

4. TPM -> SP : {TPM, SP, {scos (+) ns}{SKey(TPM)}}{sessionKey}<br />

5. SP -> TPM : {SP, TPM, nt}{sessionKey}<br />

6. TPM -> SP : {TPM, SP, {app (+) ns}{SKey(TPM)}}{sessionKey}<br />

#Actual variables<br />

SerPro, TruPlaMan, MAppl : Agent<br />

Nsp, Ntpm, Nm : Nonce<br />

SCOS, APP : Nonce<br />

S, T, M : Num<br />

SCOperatingSys, SApplication : Nonce<br />

#Processes<br />

INITIATOR(SP, TPM, ns, s, app, scos) knows SKey(SP), DKey(SP), VKey, EKey<br />

RESPONDER(TPM, SP, nt, t, scos, app) knows SKey(TPM), DKey(TPM), VKey, EKey<br />

#System<br />

INITIATOR(SerPro, TruPlaMan, Nsp, S, APP, SCOS)<br />

RESPONDER(TruPlaMan, SerPro, Ntpm, T, SCOS, APP)<br />

#Functions<br />

symbolic VKey, SKey, EKey, DKey<br />

#Intruder In<strong>for</strong>mation<br />

Intruder = MAppl<br />

IntruderKnowledge = {SerPro, TruPlaMan, MAppl, MAppl, Nm, DKey(MAppl), SKey(MAppl),<br />

VKey, EKey, M}<br />

#Specification<br />

StrongSecret(SP, sessionKey, [TPM])<br />

Aliveness(SP, TPM)<br />

Aliveness(TPM, SP)<br />

Agreement(SP, TPM, [sessionKey])<br />

Agreement(TPM, SP, [sessionKey])<br />

#Equivalences<br />

<strong>for</strong>all x, y : Num . Exp(Exp(Gen, x), y) = Exp(Exp (Gen, y), x)<br />

B.4 Secure and Trusted Channel Protocol Smart Card<br />

The Casper script in this section corresponds to the Secure and Trusted Channel Protocol<br />

Smart Card (STCP SC ) described in section6.4.<br />

#Free variables<br />

datatype Field = Gen | Exp(Field, Num) unwinding 2<br />

halfkeySP, halfkeyTPM, sessionKey : Field<br />

SP, TPM : Agent<br />

ns, nt, nm, scos, app : Nonce<br />

s, t : Num<br />

VKey: Agent -> PublicKey<br />

SKey: Agent -> SecretKey<br />

244

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!