Improved authenticated multiple-key agreement protocol without using conventional one-way function
全文
(2) Improved authenticated multiple-key agreement protocol without using conventional one-way function. Hung-Yu Chien1 , Jinn-Ke Jan2 1.. Department of Information Management, NanKei College, NanTou, Taiwan, R.O.C.. 2.. Institute of Applied Mathematics, National Chung Hsing University, Taichung, Taiwan, ROC.. *Corresponding E-mail: [email protected]. Abstract An authenticated multiple-key agreement protocol enables two entities to authenticate each other and construct multiple common keys in a two-pass interaction. Since Harn and Lin proposed the first multiple key-agreement without using a conventional hash function, there are several works in the literature. In 2001, Yen, Sun, and Hwang proposed an improved scheme that adopted the system timestamp to detect the replay message. Here, the authors show that an impersonator can easily forge message without detection, and can establish common session keys with the communicating party. To overcome the weakness, we propose an improved scheme. Compared to Harn-Lin’s scheme and the previous variants, our scheme achieves better key utilization. Keywords: Cryptograph, key agreement.. 1. Introduction. In 1998, Harn and Lin [7] noticed that the conventional one-way function is widely employed in many digital signature schemes [2-5]. In these schemes, the system will become insecure because of the forgery attacks if the conventional one-way function is not used [7, 8, 12]. Furthermore, they also noticed that the security of these conventional one-way hash 1.
(3) functions, like MD5 [8], is based on the complexity of analysis of iterated functions but is not on a public hard problem [2, 3, 12] (the discrete logarithm problem is a public hard problem, and can be seen as a one-way function.) So, it may seem very difficult to break the security of these conventional one-way functions at the beginning, but it may become insecure to some special attacks later [8]. Therefore, Harn and Lin first proposed the authenticated key agreement protocol without using the conventional one-way function [7]. Moreover, their scheme greatly enhances the efficiency of key agreement by allowing two entities to establish multiple keys instead of one common key in a two-pass interaction [7]. Later, Yen and Joye [9] found that the attacker could easily forge, with high probability, the signature of the exchanged public keys in the Harn-Lin scheme. From this observation, Yen and Joye proposed their modified version. However, Wu et al. [10] found the same weakness in Yen-Joye’s modified version. Wu et al. finally proposed their solution by exploiting the conventional one-way function. Unfortunately, this solution violates Harn-Lin’s original requirement of no conventio nal one-way function. Therefore, Yen, Sun, and Hwang proposed an improved version without using the one-way function. The scheme adopts the timestamp to detect the replay message and to verify the authentic message. In this article, we show that an impersonator can easily forge the message without detection, and can share common session keys with the communicating party. That is, the Yen-Sun-Hwang scheme is not secure. We also propose an improved scheme to overcome the weakness. The rest of this article is organized as follows. In Section 2, we briefly review Harn-Lin’s scheme, Yen-Joye’s modified version, Wu et al.’s scheme, and Yen-Sun-Hwang’s scheme. In Section 3, we demonstrate that an impersonator can easily forge valid message and can establish common session keys with the communicating party. In Section 4, we describe our improved scheme, examine its security and discuss the key utilization. Finally, Section 5 concludes this article.. 2.
(4) 2. Review of previous works. In this section, we review the main ideas of those previous works [7, 9, 10, 14]. Harn-Lin’s Scheme: The Harn-Lin scheme enables two entities to authenticate each other and to develop multiple common keys in a two-pass interaction. In the first pass, each entity generates and exchanges n public values in authenticated manner. After exchanging the authenticated messages, two entities verify the received messages and then generate n 2 − 1 keys [7], like the Diffie-Hellman [1] approach, in the second pass. By taking a simple example of n = 2 , we introduce the idea of Harn- Lin’s scheme as follows. The system initially publishes a large prime p and a primitive element α over GF ( p ) . Assume A and B be the two entities to authenticate each other and share multiple keys. The long-term secret key for A is xa , and cert ( ya ) is the certificate of A ’s long-term public key ya = αx a mod p . The long-term secret key, long-term public key and certificate of the public key for B are { xb , yb , cert ( yb ) }. Firstly, A randomly selects two secret numbers secrets k a1 and k a 2 , and then computes their corresponding publics ra 1 = α a 1 mod p and ra 2 = α a 2 mod p . Entity A then has his signature of these two k. k. publics by computing sa = xa − ( ra ) ⋅ ( k a1 + k a 2 ) mod p − 1 , where ra = α a1. r ra2. mod p . A. finally sends (ra 1 , ra 2 , sa , cert ( y a ) ) to B . Proceeding in a similar approach, B computes and sends ( rb1 , rb 2 , sb , cert ( yb ) ) to entity A . After receiving messages from entity A , entity B verifies them by checking whether the following equation holds ya ≡ ( ra1 ra 2 ) ra ⋅ αs a. mod p .. (1). Entity A also verifies the messages received from B . If both A and B succeed in. 3.
(5) their verifications, then they can derive four common keys: K1 = ra 1 kb1 = rb1 k a1 = α a1. k k b1. mod p ,. K 2 = ra 1 kb2 = rb 2 k a1 = α a1. k k b2. K 4 = ra 2 k b2 = rb2 k a 2 = α a 2 k. kb 2. mod p ,. K3 = ra 2 k b1 = rb1 k a2 = α a 2 k. k b1. mod p. ,. mod p . But, A and B will only use three of these four keys. to preserve perfect forward secrecy [7, 11, 13].. Ye n-Joye’s scheme: Later, Yen and Joye [9] found that an attacker can forge A ’s message by finding some integer r 'a1 and r 'a 2 , such that ra 1 ⋅ ra 2 = r 'a1 ⋅r 'a 2. mod p . We can easily see that such r 'a1. and r 'a 2 still satisfy Equation (1). The y showed an easy approach to deriving such r 'a1 and r 'a 2 by finding a small factor q of ra 1 (or ra 2 ). Then the attacker lets r 'a1 = ra 1 / q and r 'a 2 = ra 2 ·q to have ra 1 ⋅ ra 2 = r 'a1 ⋅r 'a 2. mod p . Such a r 'a 2 will be smaller than p with. high probability when q is small. Therefore, from the eavesdropped ra 1 and ra 2 , an attacker can easily derive r 'a1 and r 'a 2 to have a successful forgery attack on the Harn-Lin scheme. To conquer this insecurity, Yen and Joye proposed their modified scheme by limiting ra 1 and ra 2 in the range [ p / 2 , p − 1 ] since 2 is the smallest factor of either ra 1 or ra 2 . They also replaced the signature equation as : sa = x a − ( ra1 ra 2 ) ⋅ ( k a1 + ka 2 ) mod p − 1 . Accordingly, the new verification equation becomes ya ≡ (ra 1 ra 2 ) a1 a 2 ⋅ αs a r r. mod p .. Wu et al.’s improved version: Later, Wu, He and Hsu examined the combinations of factors for the pair (ra 1 , ra 2 ) instead of just considering one small factor q of ra 1 or ra 2 . They found that an attacker 4.
(6) can forge successfully with a probability greater than 1/18 [10] in Yen-Joye’s version. To conquer the insecurity, Wu et al proposed their improvement by incorporating the conventional one-way function into their modified signature equation and verification equation as s a = xa − h(ra1 , ra2 ) ⋅ ( k a1 + k a 2 ) mod p − 1 and y a ≡ ( ra1 ra 2 ). h ( ra1 ,ra 2 ). ⋅ αs a. mod p ,. respectively. Unfortunately, this modification violates Harn-Lin’s original requirement of using no conventional one-way function [7].. Ye n-Sun-Hwang’s scheme: To preserve Harn-Lin’s requirement, Yen-Sun-Hwang’s improved scheme has the following signature generation equation and the verification equation. s a = xa − ( ra1 ⊕ ra 2 ) ⋅ ( k a1 + k a 2 ) mod p − 1 r ⊕ ra 2. y a ≡ ( ra1 ra 2 ) a1. ⋅ αs a. mod p .. (2) (3). Yen, Sun, and Hwang also noticed that if an attacker intercepts a valid message { ra1 , ra 2 ,. s a , Cert ( y a ) }, then he can impersonate A and then replays the message to B such. that B believe he is A , even the attacker does not know the secret session keys. To overcome this weakness, they adopted the timestamp to refine the signature generation equation and the verification equation as follows, where Timea is A ’s current timestamp. s a = xa − ( ra 1 ⊕ ra2 ⊕ Timea ) ⋅ ( k a1 + k a 2 ) mod p − 1 r ⊕ra 2 ⊕Timea. y a ≡ ( ra1 ra 2 ) a1. ⋅ αs a. mod p .. (4) (5). 3. Impersonation attack and key compromise. In this section, we show that an attacker can easily impersonate A and can establish. 5.
(7) common session keys with B . That is, Yen-Sun-Hwang’s scheme is not secure. Suppose that the attacker has eavesdropped a valid message { ra1 , ra 2 ,. s a , Timea ,. Cert ( y a ) } from the network. The attacker chooses a random number k a' 1 and lets k'. ra'1 = α a1 mod p . Then he lets ra'2 = ( ra1 ⋅ ra 2 )( ra'1 ) −1 mod p and Timea ' = ra'1 ⊕ ra' 2 ⊕ ra 1 ⊕ ra 2 ⊕ Timea mod p − 1 . For each randomly chosen k a' 1 , there will be a corresponding pair { r 'a 1 , r 'a 2 , Timea ' }. The attacker can find as many such pairs as he wish, and choose the suitable pairs, according to the timestamp. The attacker can wait until Timea ' , and sends the message { ra'1 , ra'2 ,. s a , Timea ' , Cert ( y a ) } to B . We can easily check that B will. accept this message and responds the message ( rb1 , rb 2 , sb , Timeb , cert ( yb ) ) to A . Finally, the k ' kb1. attacker will share two common session keys K1 = α a1. k ' kb 2. mod p and K 2 = α a1. mod p. with B . The system is insecure.. 4. Our improved scheme. We first introduce our modified scheme, and then examine the security and the key utilization.. The improved scheme A selects two secret random numbers secrets k a1 and k a 2 , and then computes their corresponding publics ra 1 = α a 1 mod p and ra 2 = α a 2 mod p . Then A has his signature k. k. generation equation as s a ⊕ K AB = Timea ⋅ xa − ( ra1 ⊕ ra 2 ) ⋅ ( k a 1 + k a 2 ) K AB = αx a xb mod p. is the long-term secret key between 6. mod p − 1 , where. A and. B .. A sends.
(8) ( ra1 , ra2 , s a , Timea , cert ( y a ) ) to B . B r ⊕ ra 2. a y Time = (ra1 ra 2 ) a1 a. will verify the message by checking whether. ⋅ αs a ⊕ K AB mod p .. The security Analysis The security of our improved scheme is based on the discrete logarithm problem, and this improved scheme is resistant to the forgery attacks and the replay attack, which fail the previous versions [7, 9, 14]. Its resistance to the replay attack can be easily assured by checking the timestamp. Its resistance to the forgery attack can be analyzed as follows. Given the values ( ra1 , ra 2 , sa ), it is impossible for an attacker to derive the corresponding Timea because it is a discrete logarithm problem and he does not know the K AB . Given ( ra1 , ra 2 , Timea ), it is also impossible to derive the corresponding sa because it is a discrete logarithm problem and the attacker does not know K AB . The same argument still holds when the attacker try to derive ra1 or ra 2 , given the rest of the parameters. Now we examine the forgery attack in which the attacker make up the message from the eavesdropped ones. Given a valid message ( ra1 , ra 2 , sa , Timea ), the attacker may find r 'a1 and r 'a 2 such that ( r ' a1 r ' a 2 ) = (ra1 ra 2 ) mod p , and then try to derive the corresponding Timea ' and s a ' to satisfy the verification equation. Then he has to solve the equations Timea ' = Timea ⋅ (r 'a 1 ⊕ r 'a 2 ) mod p − 1 and s a ' ⊕ K AB = −( sa ⊕ K AB ) ⋅ ( r ' a1 ⊕ r ' a 2 ) mod p − 1 . Since the attacker does not know K AB , he has no way to derive the s a ' . The same result holds when the attacker tries other approaches to make up new message from the eavesdropped ones. So, our scheme is secure against the forgery attack and the replay attack.. The perfect forward secrecy and key utilization 7.
(9) Now we discuss the perfect forward secrecy and the key utilization of our improved scheme. Harn-Lin’s scheme only uses three of the four common keys to preserve the perfect forward secrecy. We can easily check this by examining the signature equations sa = xa − ( ra ) ⋅ ( k a1 + k a 2 ) mod p − 1 ra = α a1. r ra2. mod p. and. and. rb = α b1 b2 r r. sb = x b − (rb ) ⋅ (k b1 + k b2 ) mod p − 1 mod p .. Then,. we. can. ,. where. compute. x a xb =. ra rb ( k a1 k b1 + k a1 k b2 + k a 2 k b1 + k a 2 k b 2 ) + s a rb ( k b1 + k b2 ) + ra s b ( k a1 + k a 2 ) + s a sb mod p − 1 and K AB = α xa xb = ( K1 K 2 K 3 K 4 ) ra rb ( rb1 rb 2 ) s a rb ( ra1 ra 2 ) ra sb αs a s b mod p . From the equation, we can see that an adversary can derive the log-term secret key K AB between A and B if he knows four consecutive session keys K1 , K 2 , K 3 , and K 4 . Therefore, Harn-Lin’s scheme only uses three of the four common session keys. Next we examine the key utilization of our scheme. According to the signature generation equation, we have Timea ⋅ Timeb ⋅ xa ⋅ x b = ( s a ⊕ K AB ) ⋅ ( s b ⊕ K AB ) + (sa ⊕ KAB) ⋅ (rb1 ⊕ rb2 ) ⋅ (kb1 + kb2 ) + ( s b. and. ⊕ K AB ) ⋅ (ra1 ⊕ ra 2 ) ⋅ ( k a1 + k a 2 ) + ( ra1 ⊕ ra2 )( rb1 ⊕ rb 2 )( k a1 + k a 2 )( k b1 + k b2 ) mod p −1 ,. derive. ( K 1K 2 K 3 K 4 ). K AB Timea Timeb = α( s a ⊕ K AB )( sb ⊕ K AB ) ⋅ (rb1 rb2 ). ( ra1 ⊕ ra 2 )( rb1 ⊕ rb2 ). (s a ⊕ K AB )( rb1 ⊕ rb2 ). ⋅ ( ra1 ra2 ). (sb ⊕ K AB )( ra1 ⊕ ra 2 ). ⋅. mod p . From the equation, we see that the adversary cannot. derive the long-term secret key even he gets the session key K1 , K 2 , K 3 , and K 4 . Therefore, our scheme can use all the four session keys and achieve better key utilization.. 5. Conclusions. In this article, we have proposed a secure multiple-keys agreement protocol. This protocol does not employ the conventional one-way functions, and allows two entities to share multiple keys in a two-pass interaction. Compared with Harn-Lin’s scheme and the 8.
(10) previous modified versions, our scheme not only preserves the original requirement but also withstand the forgery attack and the replay attack. Further, the improved scheme achieve better key utilization.. References [1] W. Diffe, M.E. Hellman, “New directions in cryptography,” IEEE Trans. Inform. Theory 22 (6), pp. 644-654, 1976. [2] T. ElGamal, “A public-key cryptosystem and a signature scheme based on discrete logarithms,” IEEE Trans. Inform. Theory 33 (2), pp. 469-472, 1985. [3] K. Nyberg, R.A. Rueppel, “Message recovery for signature scheme based on the discrete logarithm problem,” in: Advances in Cryptology-Eurocrypt’94, pp. 175-190, 1994. [4] ‘The digital signature standard by NIST’, Comm. ACM 35 (7), pp. 36-40, 1992. [5] A. Arazi, “Integrating a key cryptosystem into the digital signature standard,” Electronics Letters 29 (11), pp. 966-967, 1993. [6] K. Nyberg, R.A. Rueppel, “Weakness in some recent key agreement protocols,” Electronics Letters 30 (1), pp. 26-27, 1994. [7] L. Harn, and H.Y. Lin, “An authenticated key agreement protocol without using one-way function,” in: Proc. 8th National Conf. Information Security, Kaohsiung, Taiwan, pp. 155-160, May 1998. [8] H. Dobbertin, “The status of MD5 after a recent attack,” CryptoBytes 2 (2), pp. 1-6, 1996. [9] S.M. Yen, and M. Joye, “Improved authenticated multiple-key agreement protocol,” Electron. Lett. 34 (18), pp. 1738-1739, 1998. [10] T.S. Wu, W.H. He, and C.L. Hsu, “Security of authenticated multiple-key agreement protocols,” Electron. Lett. 35 (5), pp. 391-392, 1999. [11] C.H. Lim, and P.J. Lee, “Security of interactive DSA batch verification,” Electron. Lett. 30 (19), pp. 1592-1593, 1994. 9.
(11) [12] A. Menezes, P. Van Oorschot, and S. Vanstone, Handbook of Applied Cryptography, CRC Press, 1997. [13] Ateniese, G., Steiner, M., and Tsudik, G., “Authenticated group key agreement and friends,” Proceedings of the 5th ACM conference on Computer and communications security, pp. 17 – 26, 1998. [14] H.T. Yen, H.M. Sun, and T. Hwang, “Improved authenticated multiple-key agreement protocol,” in: Proc. 11 th National Conf. Information Security, TaiNan, Taiwan, pp. 229-231, May 2001.. 10.
(12)
相關文件
Other than exploring the feasibility of introducing a salary scale for KG teachers, we also reviewed the implementation of the Scheme in different areas including funding
NETs can contribute to the continuing discussion in Hong Kong about the teaching and learning of English by joining local teachers in inter-school staff development initiatives..
Using this formalism we derive an exact differential equation for the partition function of two-dimensional gravity as a function of the string coupling constant that governs the
Courtesy: Ned Wright’s Cosmology Page Burles, Nolette & Turner, 1999?. Total Mass Density
The temperature angular power spectrum of the primary CMB from Planck, showing a precise measurement of seven acoustic peaks, that are well fit by a simple six-parameter
Microphone and 600 ohm line conduits shall be mechanically and electrically connected to receptacle boxes and electrically grounded to the audio system ground point.. Lines in
• Any node that does not have a local replica of the object periodically creates a QoS-advert message contains (a) its δ i deadline value and (b) depending-on , the ID of the node
FMEA, fail mode and effective analysis, which is one of a common method to analysis and find out the fail mode of the product is to dig out the unobservable problem or hidden