• 沒有找到結果。

An improvement of the Yang-Shieh password authentication schemes

N/A
N/A
Protected

Academic year: 2021

Share "An improvement of the Yang-Shieh password authentication schemes"

Copied!
6
0
0

加載中.... (立即查看全文)

全文

(1)

An improvement of the Yang-Shieh

password authentication schemes

Chou-Chen Yang

a,*

, Ren-Chiun Wang

b

, Ting-Yi Chang

c

aDepartment of Computer Science and Information and Communication Engineering,

Chaoyang University of Technology 168 Gifeng E.Road, Wufeng, Taichung County, 413, Taiwan, ROC

bDepartment of Information Management, Chaoyang University of Technology, 168 Gifeng E.Road,

Wufeng, Taichung County, 413, Taiwan, ROC

cDepartment of Computer and Information Science, National Chiao Tung University,

1001 Ta Hsueh Road, Hsinchu, 413, Taiwan, ROC

Abstract

Recently, Yang and Shieh proposed two password authentication schemes by employing smart cards.One is a timestamp-based password authentication scheme and the other is a nonce-based password authentication scheme.In 2002, Chan and Cheng pointed out that Yang and Shieh’s timestamp-based password authentication scheme was vulnerable to the forgery attack.However, in 2003, Sun and Yeh pointed out that Chan and Cheng’s attack was unreasonable.At the same time, Sun and Yeh pointed out that Yang and Shieh’s password authentication schemes were still vulnerable to the forgery attack.In this paper, we shall improve Yang and Shieh’s schemes to resist Sun and Yeh’s attack.

Ó 2004 Elsevier Inc.All rights reserved.

Keywords: Authentication; Forgery attack; Password; Smart card

1. Introduction

In a client/server system, when the client wants to log in to a remote server, the remote server requires a password to authenticate the identity of the client.

*

Corresponding author.

E-mail address:[email protected](C.-C. Yang).

0096-3003/$ - see front matter Ó 2004 Elsevier Inc.All rights reserved. doi:10.1016/j.amc.2004.03.017

(2)

Therefore, it is important to protect the password in the authentication schemes.There are three ways an attacker can get a user’s password and impersonate the user to log in to the server [5]: (1) the attacker invades the system; (2) the attacker eavesdrops on communication messages; and (3) the legal user accidentally reveals his password.In case 3, it is very hard to prevent a user from accidentally revealing his password.

The advantages of smart cards are storage and computation abilities.These advantages are always employed by some scholars [2,4,6,7,9,10], but their schemes have to maintain a verified table of passwords and do not allow passwords to be changed freely.In 1999, Yang and Shieh [11] proposed two password authentication schemes that do not need to maintain a verified table of passwords and that allow users to choose and change their passwords whenever they want.In 2002, Chan and Cheng [1] pointed out that Yang and Shieh’s timestamp-based password authentication scheme was vulnerable to the forgery attack.

However, in 2003, Sun and Yeh [8] pointed out that Chan and Cheng’s attack was unreasonable because Chan and Cheng forged a client’s identity, and the identity did not exist in the ID table.Thus, the attacker could not be verified from the ID table.At the same time, Sun and Yeh pointed out that Yang and Shieh’s two password authentication schemes were vulnerable to the forgery attack.Their main idea was first to intercept a legal client’s identity and the smart card’s identifier.Then they use the idea of extending Euclid’s algorithm [3] to find parameters which can satisfy the verification of the formula and the remote server cannot find the attacker is an invalid user.In this paper, we shall improve Yang and Shieh’s schemes to resist Sun and Yeh’s attack.

The structure of our paper is organized as follows.In Section 2, we shall present our idea.In Section 3, we shall analyze the security of our scheme. Finally, in Section 4, we shall conclude this paper.

2. Improvement on Yang and Shieh’s schemes

In this section, we shall improve Yang and Shieh’s timestamp-based and nonce-based password authentication schemes.We follow their registration, login and authentication procedures and introduce as follows.

2.1. Timestamp-based password authentication scheme

In this scheme, there is a key information center (KIC).The duties of the KIC are to generate key information, issue smart cards to new users, and change passwords for the registered users.

(3)

2.1.1. Registration phase

A new user Uisends his identifier IDiand a chosen password pwito the KIC

via a secure channel.Then, the KIC performs the following steps.

Step 1: Generate two large prime numbers p and q and compute n¼ p  q. Step 2: Choose a public key e and find a corresponding secret key d that

satisfies e d  1 mod (p  1Þðq  1Þ.

Step 3: Find an integer g that is a primitive element in both GFðpÞ and GFðqÞ, where g is a public information.Note that GFðpÞ and GFðqÞ mean p and q are finite fields.

Step 4: Generate a smart card’s identifier CIDi for the user and compute

Si¼ IDCIDi idmod n.

Step 5: Compute hi¼ gpwidmod n.

Step 6: Send the smart card, which includes (n, e, g, IDi, CIDi, Si, hi), to the user.

2.1.2. Login phase

When the user wants to log in to the remote server, the user first inserts his smart card into the input device and keys in his IDiand pwi.Then the smart

card performs the following steps. Step 1: Generate a random number ri.

Step 2: Compute Xi¼ gpwirimod n and Yi¼ Si hriiTmod n, where T is the

cur-rent time.

Step 3: Send the login message M to the remote server, where M ¼ ðIDi;

CIDi; Xi; Yi; n; e; g; TÞ.

2.1.3. Authentication phase

After receiving the login request message M, the remote server records the current time T0and performs the following steps:

Step 1: Check whether the IDiand the CIDiare correct or not.If they are not

correct, the login request is rejected.

Step 2: Check whether (T0 T ) is within the valid time interval DT .If it is not

true, the login request is rejected.

Step 3: Check whether the following equation holds: Ye i  ID

CIDi

i  X T

i mod n.If

it is true, the remote server accepts the login request. 2.2. Nonce-based password authentication scheme

2.2.1. Registration phase

This phase is same as the registration phase in the timestamp-based pass-word authentication scheme.

(4)

2.2.2. Login phase

When the user wants to log in to the remote server, the user first inserts his smart card into the input device and keys in his IDiand pwi.Then the smart

card performs the following steps.

Step 1: The smart card sends a request login message M1to the remote server,

where M1¼ ðIDi;CIDiÞ.

Step 2: After receiving M1, the remote server checks whether the IDi and the

CIDiare correct or not.If they are correct, the remote server computes

a nonce N ¼ f ðrjÞ and sends it back.Note that rjis a random number

and fðÞ is a one-way hash function.

Step 3: After the nonce N is received, the smart card generates a random number riand computes Xiand Yi, where Xi¼ gpwirimod n and Yi¼ Si hriiNmodn.

Step 4: Finally, the smart card sends the message M2 to the remote server,

where M2¼ (Xi; Yi; n; e; g).

2.2.3. Authentication phase

After receiving M2, the remote server computes whether the following

equation holds: Ye i  ID

CIDi

i  X N

i mod n.If it holds, the remote server accepts

the login request message; otherwise, the login request is rejected.

3. Security analysis

We analyze some attacks in our improvement. 3.1. Forgery attack

In the timestamp-based password authentication scheme, an attacker can get the IDiand the CIDiby intercepting the communication messages. e is the

KIC’s public key and it is a prime number.We can find a and e are relatively prime, where a equals current time T.By employing an extension of Euclid’s algorithm, the attacker can find two random numbers u and v to satisfy e u  a  v ¼ 1 and to compute Yi¼ IDuimod n and Xi¼ IDvimod n.Then we

can find Ye i  ID

ue i  ID

1þav

i  IDi XiTmod n.Obviously, it is different to our

formula: Ye i  ID

CIDi

i  X T

i mod n.Therefore, Sun and Yeh’s attack cannot work

in our method.For the same reason, Sun and Yeh’s forgery attack also cannot work in the nonce-based password authentication scheme.

3.2. Password-guessing attack

In the timestamp-based and the nonce-based password authentication schemes, the attacker has two ways to guess the password pwi.One way is to

(5)

get hi¼ gpwidmod n from the smart card; the other way is to get Xi¼

gpwirimod n.We can find the attacker cannot guess the password without d and

ri.Therefore, our scheme can resist a password-guessing attack.

3.3. Smart card loss

When a legal user loses his smart card and it is found by an attacker, the attacker can guess the password of the legal user.We find that the attacker cannot succeed, the reason is given in the password-guessing attack section.In the timestamp-based password authentication scheme, even if the attacker uses a smart card to log in to the remote server, the attacker cannot succeed.The attacker inserts the smart card and keys a guessed password into the input device.Then the smart card computes Xi¼ gpwattackerrimod n and Yi¼ Si

hriT

i mod n.Obviously, the attacker cannot pass the verification of the equation:

Ye i  ID CIDi i  X T i mod n because Y e i  ID CIDi i  g

pwirTmod n and IDCIDi

i  X T i ¼

IDCIDi

i  g

pwattackerriTmod n.For the same reason, the attacker cannot use the

same way to log in to the remote server in the nonce-based password authentication scheme.

3.4. Replay attack

In the timestamp-based password authentication scheme, if an attacker tries to replay the verified message M¼ ðIDi;CIDi; Xi; Yi; n; e; g; TÞ to the remote

server, the remote server would reject it because the attacker cannot pass the verification ðT0 T Þ 6 DT in the Step 2 of the authentication phase.In the

nonce-based password authentication scheme, if an attacker replays the veri-fied message (M1¼ IDi;CIDi) to the remote server in the Step 1 of the login

phase, the remote server sends a new nonce Nnewback.Then the attacker

re-plays another verified message M2¼ (Xi; Yi; n; e; g) to the remote server in the

Step 4 of the login phase.Obviously, he cannot pass the verification of the formula: Ye

i  ID CIDi

i  X Nnew

i mod n in the authentication phase because the

re-mote server records the new nonce Nnewwithout N .

4. Conclusions

In this paper, we improve Yang and Shieh’s two password authentication schemes.After our improvement, the password authentication schemes can resist attacks previously.

Acknowledgements

This research was partially supported by the National Science Council, Taiwan, R.O.C., under contract No.: NSC91-2622-E-324-cc3.

(6)

References

[1] C.K. Chan, L.M. Cheng, Cryptanalysis of a timestamp-based password authentication scheme, Computers and Security 21 (1) (2002) 74–76.

[2] C.K. Chan, L.M. Cheng, Cryptanalysis of a remote user authentication scheme using smart cards, IEEE Transaction on Consumer Electronics 46 (4) (2000) 992–993.

[3] I.N. Herstein, Topics in Algebra, Xerox Corporation, 1975.

[4] M.S. Hwang, L.H. Li, A new remote user authentication scheme using smart cards, IEEE Transaction on Consumer Electronics 46 (1) (2000) 28–30.

[5] L.Lamport, Password authentication with insecure communication, Communications of the ACM 24 (November) (1981) 770–772.

[6] C.C. Lee, M.S. Hwang, W.P. Yang, A flexible remote user authentication scheme using smart cards, ACM Operating Systems Review 36 (3) (2002) 46–52.

[7] H.M. Sun, An efficient remote user authentication scheme using smart cards, IEEE Transaction on Consumer Electronics 46 (4) (2000) 958–961.

[8] H.M. Sun, H.T. Yeh, Further cryptanalysis of a password authentication scheme with smart cards, IEICE Transactions and Communications E86-B (4) (2003) 1412–1415.

[9] T.Wu, Secure remote password protocol, in: Internet Society Symposium on Network and Distributed System Security Symposium, 1998.

[10] T.C. Wu, Remote login authentication scheme based on a geometric approach, Computer Communications 18 (12) (1995) 959–963.

[11] W.H. Yang, S.P. Shieh, Password authentication schemes with smart cards, Computers and Security 18 (8) (1999) 727–733.

參考文獻

相關文件

“Filmit 2020: A Student FilmCompetition” is a film making competition involving oral and written narration based on a theme provided by the NET Section and the European Union

Then, a visualization is proposed to explain how the convergent behaviors are influenced by two descent directions in merit function approach.. Based on the geometric properties

 Local, RADIUS, LDAP authentication presents user with a login page.  On successful authentication the user is redirected to

1) Ensure that you have received a password from the Indicators Section. 2) Ensure that the system clock of the ESDA server is properly set up. 3) Ensure that the ESDA server

However, if the EAP Identity does match a client Identifier and the CredentialState is Accepted the EAP server proceeds with the authentication process and verifies the credential

It is based on the probabilistic distribution of di!erences in pixel values between two successive frames and combines the following factors: (1) a small amplitude

We also propose a Unified Code Management Schemes to eliminate code blocking completely and the reassignment cost will be reduced as far as possible based on CIDP.. Our schemes

In this thesis, we have proposed a new and simple feedforward sampling time offset (STO) estimation scheme for an OFDM-based IEEE 802.11a WLAN that uses an interpolator to recover