Docsity

Authentication Schemes in Computer Science: Hw 3 Solution - Prof. A.U. Shankar, Assignments of Computer Science

Toggle sidebar
bg1
udaya shankar Page 1 of 1 Fall 2006
CMSC 414: Hw 3 Solution
___________________________________________________________
1. (text 9.2) …. Is this an example of an authentication scheme that … guards against both
eavesdropping and server database disclosure?
No. An attacker, say C, that sees the server database gets Z, the hash of Alice’s password.
Given Z, the attacker can impersonate Alice:
C (has Z)
B (Bob) (has Z)
•
send [A, B, conn] to B
•
send challenge R to A
•
send [hash(Z, R)] to B
•
received msg matches hash(Z,R)
so B assumes sender is A
___________________________________________________________
2. (text 9.3) Extend the scenario in §9.7.4.1 to a chain of three KDCs, say X, Y, and Z,
where A wants to talk to B, X is A's KDC, Y is B's KDC, and Z is a KDC that has shared
keys with X and Y.
A (has K
AX
) X (has K
AX
, K
XZ
) Z (has K
XZ
, K
ZY
)
Y (has K
ZY
, K
YB
) B (has K
BY
)
•
send [A wants to talk to Z] to X
•
generate session key K
AZ
•
send [K
XZ
{talk to A; use K
AZ
}] to Z
•
send [K
AX
{talk to Z; use K
AZ
}] to A
•
send [A wants to talk to Y] to Z
•
generate session key K
AY
•
send [K
ZY
{talk to A; use K
AZ
}]
•
send [K
AZ
{talk to Y; use K
AZ
}] to A
•
send [A wants to talk to B] to Y
•
generate session key K
AB
•
send [K
BY
{talk to A; use K
AB
}] to B
•
send [K
AY
{talk to B; use K
AB
}] to A
___________________________________________________________

Partial preview of the text

Download Authentication Schemes in Computer Science: Hw 3 Solution - Prof. A.U. Shankar and more Assignments Computer Science in PDF only on Docsity!

udaya shankar Page 1 of 1 Fall 2006

CMSC 414: Hw 3 Solution

___________________________________________________________

1. (text 9.2) …. Is this an example of an authentication scheme that … guards against both

eavesdropping and server database disclosure?

No. An attacker, say C, that sees the server database gets Z, the hash of Alice’s password.

Given Z, the attacker can impersonate Alice:

C (has Z) B (Bob) (has Z)

  • send [A, B, conn] to B
    • send challenge R to A
  • send [hash(Z, R)] to B
    • received msg matches hash(Z,R) so B assumes sender is A

___________________________________________________________

2. (text 9.3) Extend the scenario in §9.7.4.1 to a chain of three KDCs, say X, Y, and Z,

where A wants to talk to B, X is A's KDC, Y is B's KDC, and Z is a KDC that has shared

keys with X and Y.

A (has KAX) X (has KAX , KXZ) Z (has KXZ , KZY) Y (has KZY , KYB) B (has KBY)

  • send [A wants to talk to Z] to X
    • generate session key KAZ
    • send [KXZ{talk to A; use KAZ}] to Z
    • send [KAX{talk to Z; use KAZ}] to A
  • send [A wants to talk to Y] to Z
    • generate session key KAY
    • send [KZY{talk to A; use KAZ}]
    • send [KAZ{talk to Y; use KAZ}] to A
  • send [A wants to talk to B] to Y
    • generate session key KAB
    • send [KBY{talk to A; use KAB}] to B
    • send [KAY{talk to B; use KAB}] to A

___________________________________________________________