(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 2, 2010
A.
Review
Xu
et al.
¡s protocol [18] consists of three phases: theregistration phase, the login phase, and the authenticationphase.In the registration phase, user C submits his
ID
c
and
PW
c
to the server S. S issues C a smart card which stores C¡sidentity
ID
c
, and
B
= H(
ID
c
)
x
+ H(
PW
c
), where
x
is S¡s secretkey and
PW
c
is C¡s password.In the login phase, user C inputs
ID
c
and
PW
c
to his smartcard. The card obtains timestamp
T
, chooses a random number
v
, computes
B
c
= (
B
¡H(
PW
c
))
v
= H(
ID
c
)
x v
,
W
= H(
ID
c
)
v
, and
C
1
= H(
T
,
B
c
,
W
,
ID
c
), and sends {
ID
c
,
C
1
,
W
,
T
} to S.In the authentication phase, after receiving {
ID
c
,
C
1
,
W
,
T
}at time
T
*, S computes
B
s
=
W
x
, and checks to see if
ID
c
isvalid,
T
*
−
T
<
∆
T, and
C
1
is equal to H(
T
,
B
s
,
W
,
ID
c
). If theyare, S selects a random number
m
, gets timestamp
T
s
,computes
M
= H(
ID
c
)
m
,
C
s
= H(
M
,
B
s
,
T
s
,
ID
c
), and sends {
ID
c
,
C
s
,
M
,
T
s
} to C. After receiving the message, C verifies
ID
c
and
T
s
, computes H(
M
,
B
c
,
T
s
,
ID
c
), and compares it with thereceived
C
s
. If they are equal, S is authentic. Then, C and Scan compute the common session key as
sk
= H(
ID
c
,
M
,
W
,
M
v
)and
sk
= H(
ID
c
,
M
,
W
,
W
m
), respectively.
B.
Weaknesses
First, the scheme obviously violates security requirementR3 since the client transmits clear password in the registrationphase.Second, we show an impersonation attack on the schemebelow. Assume that a malicious insider U wants tomasquerade as C to access S¡s resources. He reads
B
from hissmart card, obtains system¡s timestamp
T
u
, chooses a randomnumber
r
, computes
B
u
= (
B
¡H(
PW
u
))
r
= H(
ID
u
)
xr
,
W
= H(
ID
c
)
r
,
C
1
= H(
T
u
,
B
u
,
W
,
ID
c
), and sends {
ID
c
,
C
1
,
W
,
T
u
} to S.After receiving the message, S validates
ID
c
and
T
u
,computes
B
s
=
W
x
= H(
ID
c
)
r x
, and checks to see if the received
C
1
is equal to the computed H(
T
u
,
B
s
,
W
,
ID
c
). In this case, wecan see that
C
1
is obviously equal to H(
T
u
,
B
s
,
W
,
ID
c
). Hence,U (who masquerades as C) is authentic. Finally, S obtainstimestamp
T
s
and sends {
ID
c
,
C
s
,
M
,
T
s
} to U, where
M
=H(
ID
c
)
m
and
m
is a random number chosen by S. U also cancompute the session key as
sk
= H(
ID
c
,
M
,
W
,
M
r
) shared withS. Therefore, user U¡s insider impersonation attack succeeds.VI.
R
EVIEW AND ATTACK ON THE PROTOCOL OF
L
I ET AL
.'
SSCHEME
In this section, we first review the registration phase, loginphase and authentication phase of the protocol in Li
et al
.¡s[20], and then present our attack on the protocol.
A.
Review
In the registration phase, user C submits his
ID
c
,
PW
c
, andhis personal biometric
B
c
to the server S. S issues a smart cardfor C, which stores the values of
ID
c
,
f
c
= H(
B
c
), and
e
c
=H(
ID
c
,
x
)
⊕
H(
PW
c
,
f
c
), where
x
is S¡s secret key.In the login phase, user C keys
ID
c
and
PW
c
to his smartcard and inputs his personal biometric
B
c
on the specificdevice to check if H(
B
c
) is equal to
f
c
stored in the smart card.If it is, the card selects a random number
R
c
, computes
M
1
=
e
c
⊕
H(
PW
c
,
f
c
) = H(
ID
c
,
x
),
M
2
=
M
1
⊕
R
c
, and sends {
ID
c
,
M
2
}to S.In the authentication phase, after receiving {
ID
c
,
M
2
}, Schecks to see if
ID
c
is valid. If it is, S chooses a randomnumber
R
S
, computes
M
3
= H(
ID
c
,
x
),
M
4
=
M
2
⊕
M
3
=
R
c
,
M
5
=
M
3
⊕
R
S
,
M
6
= H(
M
2
,
M
4
), and sends {
M
5
,
M
6
} to C. Afterreceiving S¡s message, C verifies whether
M
6
is equal to H(
M
2
,
R
c
). If it is, S is authentic. C then computes
M
7
=
M
5
⊕
M
1
=
M
3
⊕
R
S
⊕
M
1
= H(
ID
c
,
x
)
⊕
R
S
⊕
H(
ID
c
,
x
) =
R
S
,
M
8
= H(
M
5
,
M
7
),and sends {
M
8
} to S. After receiving C¡s message, S verifieswhether
M
8
is equal to H(
M
5
,
R
s
). If it is, C is authentic. S thenaccepts C¡s login request.
B.
Attack
Assume that an attacker E gets C¡s smart card and readsthe values of
ID
c
,
f
c
and
e
c
. He can launch an offline passwordguessing attack by sending only one login request to the server.We show the attack as follows.E chooses a random number
M
e
and sends {
ID
c
,
M
e
} to S.After receiving the message, S checks to see if
ID
c
is valid. If it is, S chooses a random number
R
S
, computes
M
3
= H(
ID
c
,
x
),
M
4
=
M
e
⊕
M
3
,
M
5
=
M
3
⊕
R
S
,
M
6
= H(
M
e
,
M
4
), and sends {
M
5
,
M
6
} to E. After receiving S¡s message, E terminates thecommunication, chooses a candidate password
PW'
from adictionary, computes
M'
= H(
M
e
,
M
e
⊕
e
c
⊕
H(
PW'
,
f
c
)), andcompares to see if
M'
is equal to
M
6
. If they are,
PW'
is thecorrect password, since
M
e
⊕
e
c
⊕
H(
PW'
,
f
c
) =
M
e
⊕
H(
ID
c
,
x
)
⊕
H(
PW
c
,
f
c
)
⊕
H(
PW'
,
f
c
). If
PW'
=
PW
c
, then the equationequals to
M
e
⊕
H(
ID
c
,
x
) which equals to
M
e
⊕
M
3
=
M
4
. That is,
M'
= H(
M
e
,
M
4
) =
M
6
.VII.
C
ONCLUSION
Smart-card based password authentication protocolsprovide two-factor authentication mechanism to improve theuser end¡s security than the traditional ones. Liao et al.proposed ten security requirements to evaluate this kind of protocols. According these ten requirements, we investigaterecent five schemes. Juang et al.¡s scheme suffers smart cardlost and impersonation attack. Kim et al.¡s, Hsiang et al.¡s,and Li et al.¡s schemes are subjected to smart card lost andoffline password guessing attack. Finally, Xu et al.¡s schemehas weakness of insider impersonation attack.R
EFERENCES
[1]
H. Y. Chien, C. H. Chen, ¡A Remote Authentication Preserving UserAnonymity,¡
Proceedings of the 19th International Conference on Advanced Information Networking and Applications
(AINA ¡05), Vol.2,pp. 245-248, March 2005.
[2]
I. E. Liao, C. C. Lee, M. S. Hwang, ¡A password authentication schemeover insecure networks¡,
Journal of Computer and System Sciences
, Vol.72, No. 4, pp. 727-740, June 2006.
131http://sites.google.com/site/ijcsis/ISSN 1947-5500