CA2313557C - Secure mutual network authentication protocol - Google Patents

Secure mutual network authentication protocol Download PDF

Info

Publication number
CA2313557C
CA2313557C CA002313557A CA2313557A CA2313557C CA 2313557 C CA2313557 C CA 2313557C CA 002313557 A CA002313557 A CA 002313557A CA 2313557 A CA2313557 A CA 2313557A CA 2313557 C CA2313557 C CA 2313557C
Authority
CA
Canada
Prior art keywords
public key
server
client
function
message space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CA002313557A
Other languages
French (fr)
Other versions
CA2313557A1 (en
Inventor
Philip Douglas Mackenzie
Ram Swaminathan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nokia of America Corp
Original Assignee
Lucent Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lucent Technologies Inc filed Critical Lucent Technologies Inc
Publication of CA2313557A1 publication Critical patent/CA2313557A1/en
Application granted granted Critical
Publication of CA2313557C publication Critical patent/CA2313557C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0838Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
    • H04L9/0841Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these involving Diffie-Hellman or related key agreement protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3006Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters
    • H04L9/302Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters involving the integer factorization problem, e.g. RSA or quadratic sieve [QS] schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN

Abstract

A password-only mutual network authentication protocol and key exchange protocol using a public key encryption scheme in which a server generates a public key /
secret key pair and transmits the public key to a client. The client determines whether the public key was chosen in an acceptable manner, and if so, continues with the protocol.
Otherwise, the client rejects authentication. If the protocol is continued, in one embodiment the client generates a parameter p as a function of the public key and a password (or, in an alternate embodiment, as a function of the public key and a function of a password). If the public key space mapping function F PK applied to p, F
PK(p), is an element of the public key message space, then the protocol continues. If F
PK(p) is not an element of the public key message space, then the client determines to reject authentication, but continues with the protocol so that the server does not gain any information about the password. If the client determines to reject authentication, it will terminate the protocol at a later step at which time the termination of the protocol cannot leak any sensitive information. If both the client and the server accept authentication, then session keys are generated for subsequent secure communication between the client and server. Specific embodiments are disclosed in which RSA is used as the public key encryption scheme.

Description

P. D. MacKenzie 4-1 SECURE MUTUAL NETWORK AUTHENTICATION PROTOCOL
Field of the Invention The present invention relates generally to network authentication and key exchange. More particularly, the present invention relates to a password-only secure mutual network authentication and key exchange protocol.
Background of the Invention Authentication over a network is an important part of security for systems that allow remote clients to access network servers. Authentication is generally accomplished by verifying one or more of the following:
something a user knows, e.g. a password;
something a user is, i.e., biometric information, such as a fingerprint; and something a user has, i.e., some identification token, such as a smart-card.
For example, an automatic teller machine (ATM) verifies two of these:
something a user has, the ATM card, and something a user knows, a personal identification number (PII~. ATM authentication is significantly easier than authentication over a data network because the ATM itself is considered trusted hardware, such that it is trusted to verify the presence of the ATM card and to transfer the correct information securely to a central h~ansaction server.
In addition to authentication, key exchange is an important part of communication across a data network. Once a client and server have been authenticated, a secure communication channel must be set up between them.
This is generally accomplished by the client and server exchanging keys for use during communication subsequent to authentication.
Authentication over a data network, especially a public data network like the Internet, is difficult because the communication between the client and server is susceptible to many different types of attacks. For example, in an eavesdropping attack, an adversary may learn secret information by intercepting communication between the client and the server. If the adversary learns password information, the adversary may replay that information to the server to impersonate the legitimate ,~r P. D. MacKenzie 4-1 2 client in what is called a replay attack. Replay attacks are effective even if the password sent from the client is encrypted because the adversary does not need to know the actual password, but instead must provide something to the server that the server expects from the legitimate client (in this case, an encrypted password).
Another type of attack is a spoofing attack, in which an adversary impersonates the server, so that the client believes that it is communicating with the legitimate server, but instead is actually communicating with the adversary. In such an attack, the client may provide sensitive information to the adversary.
Further, in any password based authentication protocol, there exists the possibility that passwords will be weak such that they are susceptible to dictionary attacks. A dictionary attack is a brute force attack on a password that is performed by testing a large number of likely passwords (e.g. all the words in an English dictionary) against some known information about the desired password. The known information may be publicly available or may have been obtained by the adversary through one of the above described techniques. Dictionary attacks are often effective because users often choose easily remembered, and easily guessed, passwords.
There are various known techniques for network authentication. These known techniques will be divided into two classifications. The first classification includes those techniques that require persistent stored data on the client system.
The second classification includes those techniques which do not require persistent stored data on the client system.
With respect to the first classification, persistent stored data may include either secret data (e.g. secret keys shared with the authenticating server) which must never be revealed, or non-secret but sensitive data (e.g. the authenticating server's public key) which must be tamper-proof. With either type of persistent data, extra security requirements are necessary to secure the data from attack from an adversary. Further, when using an authentication protocol which relies on both passwords and persistent stored data, a compromise of either may lead to a vulnerability of the other. For example, compromising a secret key may lead to a possible dictionary attack on the password. Another problem with this first class of P. D. MacKenzie 4-1 3 protocols is that persistent stored data requires generation and distribution of keys, which can be cumbersome, and generally provides a less flexible system.
The second classification is called password-only authentication protocols because there is no requirement of persistent stored data at the client. The client only needs to be able to provide a legitimate password. The notion of providing strong security and authentication using potentially weak passwords seems to be contradictory. However, there exist several password-only user authentication and key exchange protocols that are designed to be secure. A description of these protocols may be found in D. Jablon, Strong Password Only Authenticated Key Exchange, ACM Computer Communication Review, ACM SIGCOMM, 26(5):5-20,1996. Some of the more notable of these password-only protocols includes Encrypted Key Exchange (EKE) described in S.M. Bellovin and M. Merritt, Encrypted Key Exchange: Password Based Protocols Secure Against Dictionary Attacks, Proceedings of the IEEE Symposium on Research in Security and Privacy, pp. 72-84, 1992; Augmented-EKE (A-EKE), S.M. Bellovin and M. Merritt, Augmented Encrypted Key Exchange: A Password Based Protocol Secure Against Dictionary Attacks and Password File Compromise, Proceedings of the First Annual Conference on Computer and Communications Security, 1993, pages 244-250; Modified EKE (M-EKE), M. Steiner, G. Tsudik, and M. Waidner, Refinement and Extension of Encrypted Key Exchange, ACM Operating System Review, 29:22-30, 1995; Simple Password EKE (SPEKE) and Diffie-Hellman EKE (DH-EKE), both described in D. Jablon, Strong Password Only Authenticated Key Exchange, ACM Computer Communication Review, ACM SIGCOMM, 26(5):5-20,1996;
Secure Remote Password Protocol (SRP), T. Wu, The Secure Remote Password Protocol, Proceedings of the 1998 Internet Society Network and Distributed System Security Symposium, pages 97-11 l, 1998; and Open Key Exchange (OKE), Stefan Lucks, Open Key Exchange: How to Defeat Dictionary Attacks Without Encrypting Public Keys, Security Protocol Workshop, Ecole Normale Sup'erieure, April 7-9, 1997.
The problem with these known password-only authentication protocols is that they have not been proven secure. In fact, the EKE protocol may be susceptible ~,_ P. D. MacKenzie 4-1 4 to certain number theoretic attacks as described in S. Patel, Number Theoretic Attacks on Secure Password Schemes, Proceedings of the IEEE Symposium on Research in Security and Privacy, pages 236-247, 1997. In view of the importance of network security, there is a need for a password-only mutual authentication protocol which is provably secure.
Summary of the Invention The present invention provides a secure password-only mutual network authentication protocol utilizing a public key encryption scheme. The particular public key encryption scheme used to implement the protocol must be a so-called usable encryption scheme, as defined below. A network server generates public key / secret key pairs in accordance with the public key encryption scheme and transmits a public key to a client. The client determines whether the received public key is an element of a so-called testable superset (as defined below) of the set of all public keys of the public key encryption scheme. This determination is able to be made because of the requirement that the public key encryption scheme be usable.
The determination by the client as to whether the public key is an element of a testable superset provides the client with a technique for determining whether the server has provided a public key which was chosen in an appropriate manner. 'If the public key is found not to be within the testable superset, then authentication is rejected by the client. Otherwise, the protocol continues.
In one embodiment of the invention, the client and server are both in possession of a password which is used for authentication purposes. In this embodiment, the client continues the protocol by generating a parameterp as a function of at least the public key and password. If the public key space mapping function, FpK , applied to p, FP,~ ( p) , is an element of the so-called message space of the public key, then the protocol continues by the client encrypting a substantially random element of the message space of the public key using the public key and performing the group operation of the public key message space on the result and FPx ( p) . Alternatively, if FPK ( p) is not an element of the message space, then the client determines to reject authentication. However, if the client were to notify the server of the rejection at this point, the server may be able to extract some useful information about the password. As such, although the client has determined to reject authentication, the client continues with the protocol so as not to leak any information to the server. The client rejects authentication later in the protocol at which time the server cannot gain any useful information about the password.
In a second embodiment of the invention, in order to protect against a security compromise at the server, the server is not in possession of the password, but instead is provided with, and stores, a value which is a function of the password. The password itself cannot be determined from the value stored at the server.
to Third and fourth embodiments of the invention utilize the RSA encryption scheme as a usable public key encryption scheme. In accordance with these embodiments, RSA specific tests are provided for determining whether the server provided public key is an element of the testable superset of the set of all RSA public keys. In addition, RSA specific tests are provided for determining whether certain 15 values are elements of the RSA message space. In the third embodiment, the server stores the shared password. In the fourth embodiment, the server stores a value which is a function of the password.
The inventors have proven that a mutual authentication protocol in accordance with the present invention is as secure as the underlying public key encryption 2o scheme. Thus, in the RSA specific embodiments, the inventors have proven that the protocol is as secure as the RSA encryption scheme. An outline of the proof is provided.
In accordance with one aspect of the present invention there is provided a method for mutual network authentication between a client and a server utilizing a 25 public key encryption scheme comprising the steps, performed at said client, of:
receiving a public key from said server; determining whether said public key is an element of a testable superset of a set of all public keys of said public key encryption scheme; and (i) if said public key is not an element of said testable superset then rejecting authentication; or:(ii) if said public key is an element of said testable Sa superset then performing the steps of: generating a parameterp as a function of at least said public key and a password; determining whether a public key space mapping function, FpK, applied to p, FPK(p), is an element of a message space of said public key; if FpK(p) is not an element of the message space of said public key, then:
setting a parameter q to a substantially random element of the message space of said public key; and transmitting q to said server.
In accordance with another aspect of the present invention there is provided a method for mutual network authentication between a client and a server comprising the steps, performed at said server, o~ transmitting a public key of a usable public key encryption scheme to a client wherein said public key is an element of a testable superset of a set of all public keys of said usable public key encryption scheme; and receiving, as a parameter q from said client, an element of a message space of said public key; wherein if a public key space mapping function FPK applied to a parameter p, Fpx(p), where p is generated at said client as a function of at least said public key t5 and a password, is not an element of the message space of said public key then:
receiving as parameter g a substantially random element of a message space of said public key.
These and other advantages of the invention will be apparent to those of ordinary skill in the art by reference to the following detailed description and the accompanying drawings.
Brief Description of the Drawings Figs. 1 A-1 B show an embodiment of the authentication protocol in which the server stores the password;
Figs. 2A-2B show an embodiment of the authentication protocol in which the server stores a value which is a function of the password;

P. D. MacKenzie 4-1 6 Figs. 3A-3B show an RSA specific embodiment of the authentication protocol in which the server stores the password; and Figs. 4A-4B show an RSA specific embodiment of the authentication protocol in which the server stores a value which is a fimction of the password;

P. D. MacKenzie 4-1 7 Detailed Description Cryptography is a well known technique for providing secure communication between two parties. Prior to describing the various embodiments of the present invention, some background and basic terminology will be provided.
We will first describe encryption schemes. In private key encryption schemes, a message m may be encrypted using an encryption function E and a secret key K in order to generate a ciphertext C. This is represented as C = E,~ (m) . The ciphertext C may be securely transmitted between two parties who share the secret key K. The ciphertext may be decrypted using a decryption function D and the secret key K in order to recover the original message m. This is represented as m = D,~ (C) .
In public key encryption schemes, there exist public key (PK) and secret key (SK) pairs (PK, SK). The public key is not secret, and anyone may encrypt a message m using the public key to create ciphertext C such that C = E px (m) .
The ciphertext can only be decrypted using the secret key such that m = DSK (C) .
The ciphertext cannot be decrypted using the public key. Public key cryptography is well known in the art.
One well known public key encryption scheme is RSA, which is described in R. Rivest, A. Shamir, L. Adleman, A Method for Obtaining Digital Signature and Public Key Cryptosystems, Communications of the ACM, vol. 21, 120-126, 1978.
In RSA, the public key is (N, e) and the secret key is (N, d), where N is the product of two large randomly chosen primes p and q (i.e., N = p ~ q ), a is an arbitrary number greater than 2 such that the greatest common divisor of a and (p-1) ~ (q -1) is 1, and d = e-' mod(p -1) ~ (q -1~ . The encryption function is E(m) = me mod N
and the decryption function is D(C) = Cd mod N .
We now discuss some other cryptographic terminology. Informally, a function f from a set S to a set T is a one-way function if f (x) is easy to compute for all x in S but for most y in T, it is computationally infeasible to find any x in S
where f (x) = y . One example of a one-way function is modular exponentiation.

P. D. MacKenzie 4-1 8 Let p be a large prime and g a generator of the multiplicative group mod p (that is, the numbers in the range 1,..., p-1). Then f (x) = g" mod p is generally assumed to be a one-way function. The inverse function, called the discrete log function, is difficult to compute. There are also other groups in which the discrete log function is difficult to compute, such as certain elliptic curve groups. A key exchange protocol called Diffie-Hellman Key Exchange and described in W. Diffie and M.
Hellman, New Directions in Cryptography, IEEE Transactions on Information Theory, vol. 22, no. 6, 644-654, 1976, is based on this function.
Specifically, two parties Alice and Bob agree on a secret key as follows: Alice chooses a random x and sends X = g" mod p to Bob, while Bob chooses a random y and sends Y = g'' mod p to Alice. The secret key can be computed by Alice as Ys mod p , and by Bob as X'' mod p . Note that Y" = X'' = g~' mod p . Diffie-Hellman key exchange can also be performed over other groups in which the discrete log function is difficult to compute, such as certain elliptic curve groups. Informally, a function h from a set S to a set T will be called a random hash function if the output of h looks random or at least is unpredictable until the function is computed with an input x in S. Known functions that generally behave this way are SHA-1, described in FIPS 180-l, Secure Hash Standard, Federal Information Processing Standards Publication 180-1, 1995; and RIPEMD-160, described in H. Dobbertin, A.
Bosselaers, B. Preneel, RIPEMD-160: a strengthened version of RIPEMD, In Fast Software Encryption, 3rd Intl. Workshop, 71-82, 1996.
In general, cryptographic schemes have security parameters which describe their level of security. We will use k as the security parameter for hash functions (where 2k is assumed to be negligibly small), and we will use ~ as the security parameter for public key encryption schemes, and in particular we will assume the RSA modulus N will be ~ bits long.
A mutual authentication protocol in accordance with a first embodiment of the invention is shown in Figs. 1 A-1 B. Steps shown on the left side of the figure are performed by a server and steps shown on the right side of the figure are performed P. D. MacKenzie 4-1 9 by a client. Arrows represent communication between the client and the server.
In accordance with the protocol, the server will authenticate itself to the client and the client will authenticate itself to the server. After both sides have authenticated, each will generate a secret key, called a session key, which may be used for subsequent secure communication.
Prior to initiation of the protocol it is assumed that the client and the server are in possession of certain information. The server generates public key /
secret key pairs (PK, SK ) in accordance with the particular public key encryption scheme being used. The generation of public key / secret key pairs is well known in the art and will not be described herein. The server and client are both in possession of a password ~ (i.e., a shared secret) which the client uses to authenticate with the server. The password ~ must be set up in advance between the client and the server, and should be chosen independently for each client-server pair, or chosen in such a way as to be unique for each client-server pair.
It is noted that the following protocol authenticates both the server and the client. Thus, neither the server nor the client are assumed to be authentic, and thus either the server or the client may be an adversary. The client may be an adversary attempting to authenticate itself and gain access to the server. The server may be an adversary attempting to spoof another authentic server in an attempt to gain sensitive information from an unsuspecting client.
As would be readily apparent to one of ordinary skill in the art, the server and client may be implemented as programmed computers operating uader control of computer program code. The computer program code would be stored in a computer readable medium (e.g. a memory) and the code would be executed by a processor of the computer. Given this disclosure of the invention, one skilled in the art could readily produce appropriate computer program code in order to implement the protocols described herein. The client and server communicate with each other via a data network. Such networked programmed computers are well known in the art and will not be described in further detail herein.
Referring now to Figs. lA-1B, upon initiation of the protocol, in step 110 the server generates m, which is a random element of the set S2 . SZ represents a set P. D. MacKenzie 4-1 10 which is large enough to ensure that the probability of generating two equivalent m values is negligible. S2 may be of a form to allow for subsequent key exchange. In step 112, the server transmits m and PK to the client. As stated above, it is assumed that the server has generated (PK, SK) pairs prior to initiation of the protocol. In step 114 the client determines whether the m received from the server in step 112 is in the set S2 and whether PK is in a set s (which is described in detail below). If either of the tests is false, then the client rejects authentication. The test of step 114 is performed by the client because an adversary spoofing the legitimate server may choose m and PK in such a manner that, if the client proceeds with the protocol; the adversary could learn some information about the password ~ .
At this point, a description of what is meant by PK being in the set s is provided. As stated above, in order for the protocol to operate correctly and not leak any sensitive information, the public key / secret key pair (PK, SK) must be chosen in an appropriate manner in accordance with the particular public key encryption scheme being used. Given a particular public key encryption scheme, it would be ideal to be able to determine whether the PK received from the server in step 112 is an element of the set ~ of all possible public keys that may be generated using that particular public key encryption scheme. However, there is no known public key encryption scheme (with all the properties required for the protocol) which would allow this determination to be made within a reasonable time period.
Thus, we define a usable public key encryption scheme and a testable superset s as follows:
A public key encryption scheme is usable if there exists a testable superset E of s such that:
1. for all PK a s , ~SpK ( is superpolynomial in ~ where S p,~ represents the set of all possible messages that can be encrypted using PK and the encryption of all such possible messages. We call this set Spx the message space of the public key (PK).
2. there is a polynomial-time algorithm to determine for any PK whether PKes;

, CA 02313557 2000-07-06 P. D. MacKenzie 4-1 11 3. for all PK E s , there is an expected polynomial-time algorithm to uniformly draw an element from Spx;
4. for all PK a s , there is a polynomial time algorithm to determine for any value a, if a E S px ; and 5. for all PK a s , there exists an integer rl >_ l + k , a polynomial-time computable public key space mapping function FP,~ with domain ~O,l~n, and a partition of that domain into X p,~,,V~ ~ ~XPx~,r~ V ZpK v Z p,r (the partition depends only on PK) such that:
(a) sPx can be computed in polynomial-time, ) FpK:XPK~ --~ SP,~ isl-1 and onto, for i E {1,..., sPK}, (i.e. Fp,~
includes a bijeetion from each set XpK~; to Spx), _ (c) for each a eSpx and i a {1,...,SPK}, there is a polynomial-time algorithm to find x EXPK~; so that Fp,~ (x) = a, (d) given x a { 0,1 }'' , there are polynomial - time algorithms to test if x eZp,~ or x eZpK, (e) for each x EZpx, FpK(x) ~SpK, (1) I ZpKIl2~ is negligible with respect to the security parameter l~
and P. D. MacKenzie 4-1 12 (~ if E a s, then ~ Zp,~ v ZpK ~/2 ° with respect to the security parameter k We note that the definition of usable could be readily extended by one skilled in the art to include encryption schemes in which the set of messages that can be encrypted using PK is not equal to the set of encrypted messages. One skilled in the art could readily modify the protocols described herein for use with such an encryption scheme. Thus, with respect to the public key PK, the test in step 114 determines whether PK is an element of the testable superset E of s . If the test in step 114 is false (i.e., m is an element of SZ and PK is an element of s ) then authentication continues. However, if the test in step 114 is true (i.e. m is not an element of S2 or PK is not an element of s' ) then authentication is rejected by the client because the server has chosen PK and/or m in an improper manner.
In step 116, the client sets parameter ,u to be a random element of the set S~ . In step 118, the client sets parameter a to be a random element of the message space S pK . In step 120, the client calculates parameter p as a random hash function H of parameters ( PK, m, ~, ~c) . The hash function H, may be any random hash function as described above that outputs a sufficient number of bits (at least r~ ).
In step 122 it is determined whether the public key space mapping function, FPK , applied to p, FPx(p), is an element of the message space SPx . If FpK(p) is not an element of S px , then authentication should be rejected. However, if it is determined in step 122 that FPK ( p) ~ SPK , it is undesirable to terminate authentication at this point because an adversary server may gain some knowledge of the password ~r if the client terminates authentication at this point.
Therefore, it is desirable that the client continue the protocol with the server, even if the client has decided that it will reject authentication. Thus, if the test in step 122 is true, then the client sets q = a. By setting sets q = a , where a was chosen in step 118 as a substantially random element of the message space, an adversary server will not gain any information about the password ~c . If it is determined in step 122 that P. D. MacKenzie 4-1 13 FPx ( p) E S pK , then the client will move forward with the authentication protocol by calculating q = E pK (a) o FpK ( p) . Thus, a is encrypted using the public key with FPK ( p) being applied to the resulting encryption using the group operation of the public key message space. In step 124, ,u, q is sent to the server.
In step 126 the server determines whether p a i2 and q E SpK . If either ,u ~ SZ or q ~ SPx , then the server rejects authentication. Otherwise, in step 128 the server calculates parameter p' as a random hash function H of parameters ( PK, m"u, ~t) . This step 128 is performed in a manner similar to that described above in connection with step 120. In step 130 the server determines whether FPK(p) is an element of the message space Spx and if not, then the server rejects authentication. If FpK (p) is an element of the message space Spx then authentication continues. In step 132, the server calculates a' by decrypting q / FPK ( p' ) using the secret key SK (where / denotes the inverse of the group operation of the public key message space). In step 134 the server calculates r as a random hash function h applied to a : In step 136 the server sends r to the client.
In step 138 the client determines whether FPK (p) E SpK and r = h(a) . Only if both of these conditions are true does the client accept the server as authentic.
Recall that if FPK ( p) ~ Sp,~ then the client already decided not to accept the server in step 122, but went on with the authentication protocol so that an adversary could not gain any information from the rejection of authentication at step 122. The test for r = h(a) tests whether the server possessed~the correct password ~c. Thus, at step 138 the client may reject authentication either because FPK(p) ~ SPx or r ~ h(a) and the server cannot determine for which reason authentication was rejected. If the client determines to accept the server in step 138, then in step 140 the client calculates t = h' (a) , where h' is a random hash function. In step 142 the client sends t to the server.
In step 146 the server determines whether t = h' (a') . If t = h' (a') then the server accepts authentication. Otherwise, the server rejects authentication.
If both the client and server have accepted authentication, then in step 144 the client P. D. MacKenzie 4-1 14 computes a session key and in step 148 the server computes a session key. The session key acts as a shared secret key and is used for subsequent secure communication between the client and the server. The use of a secret key in such a manner is more efficient for subsequent secure communication than the continued use of public key cryptography. In one embodiment, the session key K may be calculated by both the server and client as a random hash function h" of a such that K = h" (a) . In an alternate embodiment, the session key K may be calculated by both the server and client using the Diffie-Heliman protocol with m and ~
chosen as Diffle-Hellman parameters. As would be apparent to one skilled in the art, various alternative techniques may be used to generate the session keys.
Thus, the protocol described in conjunction with Figs. lA-1B will provide for mutual authentication of a client and a server using a public key encryption scheme which is usable as defined above. The protocol described in conjunction with Figs. 1 A-1 B assumed that the server possessed and stored the password ~r .
One potential problem with such a protocol is that a security compromise of server storage may allow an adversary to obtain the passwords of clients. In order to protect against such an occurrence, we now describe a second embodiment of the invention in which the server does not possess the password r~, but instead stores a value X which is a function of the password ~t and a salt value. The salt value is a publicly known value which is used to prevent dictionary attacks on multiple passwords at the same time by forcing an adversary to perform separate dictionary attacks for each salt value. The value X is supplied to the server by the client, and thus, the server only knows X and cannot determine ~c from knowledge of X. The client computes X as X = g" , where g is a generator in some group where the discrete log is difficult to compute, x = H'(n,salt), and H' represents a one way random hash function. In a manner similar to that described above in connection with the first embodiment shown in Fig. 1, the server generates public key /
secret key pairs (PK, SK ) in accordance with the particular public key encryption scheme being used.

P. D. MacKenzie 4-1 15 The protocol in accordance with the second embodiment of the invention will now be described in conjunction with Figs. 2A-2B. The client initiates the protocol in step 205 by sending the client's username to the server. In step 210 the server generates m as a random element of SZ . In step 212 the server retrieves from storage X and salt associated with the username received in step 205. In step the server sends m, PK and salt to the client. In step 216 the client determines whether the m received from the server in step 214 is in the set S~ and whether PK
is in the testable superset s . If either of the tests is false, then the client rejects authentication. Otherwise, authentication continues and in step 218 the client calculates x = H'(~c,salt~ using the salt received from the server in step 214, and where H' is a random hash function. In step 220, the client sets parameter ~c to be a random element of the set ~2 , and in step 222 the client sets parameter a to be a random element of the message space S px . In step 224 the client calculates parameter p as a random hash function H of parameters ( PK, m"u, g~ ~ . This step 224 is similar to step 120 of the first embodiment, except in this second embodiment, instead of using the password ~r as one of the parameters in determining p, a function of the password ~c, namely gs , is used as one of the parameters instead. Steps 226, 228, and 230 then proceed as described above in conjunction with steps 122, 124, and 126 respectively.
In step 232 the server calculates parameter p' as a random hash function H of parameters ( PK, m"u, X ~ . This step is similar to step 128 of the first embodiment, except in step 232, since the server does not know ~r, it instead uses Xas a parameter of the hash function. Steps 234, 236, and 238 proceed as described above in conjunction with steps 130, 132, and 134 respectively. In step 240 y is chosen as a random element of the set W, where W represents a set of possible exponents of g resulting in a sufficiently large set of distinct g'' values. In step 242 y is set to g'' In step 244 the server sends r and y to the client. Step 246 proceeds as described above in conjunction with step 138. In step 248 the client calculates t =
h'(a, ys~ , and in step 250 the client sends t to the server.

P. D. MacKenzie 4-1 16 In step 254 the server determines whether t = h' (a' , X'' ) . If t = h' (a' , X'' ) then the server accepts authentication. Otherwise, the server rejects authentication.
If both the client and server have accepted authentication, then in step 252 the client computes a session key and in step 256 the server computes a session key.
The first and second embodiments of the invention, described above in conjunction with Figs. lA-1B and 2A-2B respectively, describe authentication protocols for use with a public key encryption scheme which satisfies the requirement of being usable, as described above. One such usable public key encryption scheme is the RSA public key encryption scheme with parameters chosen in accordance with certain restrictions as described below. We now describe third and fourth embodiments of the invention. The third embodiment utilizes RSA
as the public key encryption scheme with a stored password ~r at the server.
The fourth embodiment utilizes the RSA public key encryption scheme with a value X
stored at the server, where X is a function of the password ~c and a salt value. Thus, embodiments three and four are the RSA specific embodiments corresponding to embodiments one and two respectively.
The third embodiment of the invention will now be described in conjunction with Figs. 3A-3B. In the RSA public key encryption scheme, a public key PK is made up of two parameters (N, e) and a secret key SK is made up of two parameters (N, a~. In a usable form of the RSA public key encryption scheme, the public key PK (N, e) is chosen such that N is large, and a is guaranteed to have the property that anyone knowing (N, e) can easily test that for aliy prime factor r of N, the greatest common divisor of a and (r-1) is 1. Some suitable methods to accomplish this are described below. It is assumed that the server has generated an appropriate (PK, SK) pair prior to initiation of the protocol. In step 302 the server generates m as a random element of S2 . In step 304 the server transmits m, N, and e, to the client.
As described above in conjunction with step 114 of Fig. lA, the client must next determine whether m and the private key PK received from the server were chosen in an appropriate manner to protect against the adversary choosing these values in a manner which would allow it to learn some information about the password ~c .
Thus, in step 306 the client determines whether the m received from the server in P. D. MacKenzie 4-1 17 step 112 is in the set S2 and whether PK is in the testable superset s (as defined above). In an RSA implementation, one way to determine whether PK is in the testable superset e' is to determine whether N and a satisfy the following conditions:
N E~2''z,2'~;
a e~2',2'''~ and a is prime.
If N and a satisfy all of the above conditions, then PK E E' . These conditions include tests of whether N is sufficiently large (by determining whether N is within the range 2'-2 to 2' ) and whether a is greater than N (by determining whether a is within the range 2' to 2'+' ). If any of the conditions shown in step 306 of Fig. 3A
are false, then authentication is rejected. Otherwise, the protocol continues with step 308. It is noted that there is another alternative test to determine whether PK E s' in an RSA embodiment. The alternative test is to determine whether the following conditions are satisfied:
eZ,r;
N mod a is not divisible by N; and a is prune.
If N and a satisfy all of these conditions, then PK a ~' .
It is noted that there are other tests which could be used to determine whether PKeE'in an RSA specific embodiment. For example, instead of testing whether a is prime, a could be a fixed publicly known value and a can be tested to confirm that it equals the fixed value. One skilled in the art would be able to implement other tests to determine whether PK es' in an RSA specific embodiment.
Steps 308, 310, 312 proceed as described above in conjunction with steps 116, 118, 120 of Fig. lA respectively. It is noted that the computation in step 120 (Fig. 1) is the same as that shown in step 312 (Fig. 3A) with the general PK
of Fig. 1 being replace by N and a in the RSA specific implementation of Figs. 3A-3B.
The next test is to determine whether Fpx ( p) is an element of the message space of the RSA public key (i.e. Fpx(p) ESpx). In the RSA specific embodiment, this may be P. D. MacKenzie 4-1 18 accomplished by determining whether the greatest common divisor (gcd) of p and N
equals 1. If gcd( p, N) =1, then Fpx ( p) E SPK and in step 314 the client calculates q = ( p ~ a') mod N . If gcd( p, N) ~ 1 then FpK ( p) ~ SPx and therefore authentication should be rejected. However, as described above in conjunction with step 122 of Fig. lA, it is undesirable to terminate authentication at this point because doing so may allow an adversary server to gain some knowledge of the password ~ . Therefore, it is desirable that the client continue the protocol with the server, even if the client has decided that it will reject authentication.
Thus, if the test in step 314 is true, then the client sets q to a substantially random element of the message space by setting q = a . In step 316 the client transmits p, q to the server.
In step 318 the server determines whether ,u E iZ and q E SpK . The test of whether q E SPK (i.e., q is an element of the message space of the RSA public key) is determined by testing whether gcd(q, N) =1. If either ,u ~ SZ or gcd(q, N) ~ 1, then the server rejects authentication. Otherwise, in step 320 the server calculates parameter p' as a random hash function H of parameters ( N, e, m, p, ~c) . In step 322 the server determines whether FPx(p) is an element of the message space of the RSA public key by determining whether gcd(p', N) =1. If gcd(p', N) ~ 1 then Fpe(p) is not an element of the message space of the RSA public key and the server rejects authentication. If gcd(p', N) =1 then FP,r(p) is an element of the message space of the RSA public key and authentication continues. In step 324 the server performs RSA decryption on ( q l p' ). Steps 326 through 340 proceed in a manner similar to steps 134 through 148 of Fig. 1B respectively. It is noted that since this third embodiment is RSA specific, the test in step 330 to determine whether FP,Y(p) E SPx (corresponding to step 138 in Fig. 1B), is performed by determining whether gcd( p, N) =1.
In a fourth embodiment of the invention, which will be described in conjunction with Figs. 4A-4B, a server stores a value X which is a function of the password ~ and a salt value. This is similar to the second embodiment.
However, the second embodiment described a protocol using any usable public key encryption P. D. MacKenzie 4-1 19 scheme. This fourth embodiment uses RSA as the public key encryption scheme.
Referring now to Fig. 4A, in step 402 the client initiates the protocol by sending a username to the server. In step 404 the server generates m as a random element of S2 . In step 406 the server retrieves from storage X and salt associated with the username received in step 402. In step 408 the server sends m, N, e, and salt to the client. In step 410, the client determines whether the m received from the server in step 408 is in the set SZ and whether the public key, N and e, are in the testable superset E . In this RSA specific embodiment, the test in step 410 of whether the public key is in the testable superset E' is the same as the test in step 306 described in conjunction with Fig. 3A (or the alternative tests described above in conjunction with step 306). In steps 412, 414, and 416 the client generates parameters x"u, a as described above in connection with steps 218, 220, and 222 of Fig. 2A
respectively.
In step 418 the client calculates parameter p as a random hash function H of parameters ( N, e, m"u, gx ) . Next, in step 420, the client determines whether FpK ( p) E SpK by determining whether gcd(p, N) =1, and generates parameter q as appropriate as described above in conjunction with step 314 of Fig. 3A. The client then transmits ~, q to the server in step 422.
In step 424 the server determines whether p a S~ and q E S pK . The test of whether q E SPK is determined by testing whether gcd(q, N) =1. If either ~ ~
S2 or gcd(q, N) ~ 1, then the server rejects authentication. Otherwise, in step 426, the server calculates parameter p' as a random hasli function H of parameters (N,e,m,,u,X). Steps 428, 430, 432 then proceed in a manner similar to steps 322, 324, 326 of Figs. 3A-3B respectively, and steps 434, 436 proceed in a manner similar to steps 240, 242 of Fig. 2B respectively.
The server transmits ry to the client in step 438. Steps 440 through 450 proceed in a manner similar to steps 246 through 256 of Fig. 2B respectively, with the test of whether FPK ( p) E SPK of step 440 being performed in the RSA
specific manner by testing whether gcd(p, N~ =1.

P. D. MacKenzie 4-1 20 The inventors have proven that a mutual authentication protocol in accordance with the present invention is as secure as the underlying public key encryption scheme. Thus, in the RSA specific embodiments, the inventors have proven that the protocol is as secure as the RSA encryption scheme. An outline of the proof follows.
To prove that the present invention is a secure mutual authentication protocol, we give a reduction argument from the security of the protocol to the security of the encryption function used. Specifically, we provide a simulator which takes an encryption function and ciphertext as input, and simulates the protocol with a randomly chosen password against an adversary, such that one of the following events occurs:
1. There is a rare occurrence, such as some randomly chosen values collide (that is, are equal). This is shown to occur with very low probability, say ,B.
2. There is an event in which the simulator can deduce the decryption to the ciphertext with non-negligible probability.
3. None of the above. In this case, we prove directly that the adversary has at most a d probability of breaking the protocol, where v is the number of active "spoofing" attacks and d is the number of possible passwords.
Now consider an adversary that breaks the protocol with probability d + E , for non-negligible E . (Informally, this means that the adversary can break the protocol with significantly more probability that simply guessing passwords and attempting to login with each one, which we claim is impossible.) Using this adversary we will be able to construct an algorithm A that will take an encryption function and ciphertext as input and decrypt the ciphertext with non-negligible probability. A will run the adversary against the simulator. Let E,, EZ and E3 be the three events described above, and let B be the event that the adversary breaks the protocol. From the above discussion, one can see that i.
v CA 02313557 2000-07-06 P. D. MacKenzie 4-1 21 a + E S Pr(B) SPr(E,)+Pr(BnE,) =Pr(E,)+Pr(BnE2nE,)+Pr(BnE2nE,) _< Pr( E, ) + Pr(EZ ) + Pr( B n E3 ) = Pr(E, ) + Pr(EZ ) + Pr(BIE3 ) ~ Pr(E3 ) S Pr(E,)+Pr(EZ)+Pr(B~E3) <-,Q+Pr(EZ)+(~) and thus Pr(EZ ) >_ s-,13, which is non-negligible. Therefore A can decrypt the ciphertext with non-negligible probability, which contradicts the security of the encryption function.
The foregoing Detailed Description is to be understood as being in every respect illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is not to be determined from the Detailed Description, but rather from the claims as interpreted according to the full breadth permitted by the patent laws. It is to be understood that the embodiments shown and described herein are only illustrative of the principles of the present invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention.

Claims (62)

1. A method for mutual network authentication between a client and a server utilizing a public key encryption scheme comprising the steps, performed at said client, of:
receiving a public key from said server;
determining whether said public key is an element of a testable superset of a set of all public keys of said public key encryption scheme; and (i) if said public key is not an element of said testable superset then rejecting authentication; or:
(ii) if said public key is an element of said testable superset then performing the steps of:
generating a parameter p as a function of at least said public key and a password;
determining whether a public key space mapping function, F pk, applied to p, F pk(p), is an element of a message space of said public key;
if F pk(p) is not an element of the message space of said public key, then:
setting a parameter q to a substantially random element of the message space of said public key; and transmitting q to said server.
2. The method of claim 1 wherein p is further generated as a function of at least a parameter m received from said server.
3. The method of claim 2 wherein p is further generated as a function of at least a substantially random number,µ.
4. The method of claim 1 further comprising the steps, performed at said client, of:
if said public key is an element of said testable superset then performing the steps of:
generating a parameter p as a function of at least said public key and a password;
determining whether the public key space mapping function, F PK, applied to p, F PK(p), is an element of the message space of said public key;
if F PK(p) is an element of the message space of said public key then:
generating a parameter q by encrypting a substantially random element of the message space of said public key using said public key and performing a group operation of the public key message space on the result and F PK(p); and transmitting q to said server.
5. The method of claim 4 wherein p is further generated as a function of at least a parameter m received from said server.
6. The method of claim 5 wherein p is further generated as a function of at least a substantially random number µ.
7. The method of claim 6 further comprising the step of:
generating a session key using the Diffie-Hellman protocol with m and µ as parameters.
8. The method of claim 1 further comprising the steps, performed at said client, of:
if said public key is an element of said testable superset then performing the steps of:
generating a parameter p as a function of at least said public key and a function of a password;

determining whether a public key space mapping function, F PK, applied to p, F PK(p), is an element of the message space of said public key;
if F PK(p) is not an element of the message space of said public key, then setting a parameter q to a substantially random element of the message space of said public key; and transmitting q to said server.
9. The method of claim 8 wherein said function of a password is a one way function of a hash of the password.
10. The method of claim 8 wherein p is further generated as a function of at least a parameter m received from said server.
11. The method of claim 10 wherein p is further generated as a function of at least a substantially random number µ.
12. The method of claim 1 further comprising the steps, performed at said client, of:
if said public key is an element of said testable superset then performing the steps of:
generating a parameter p as a function of at least said public key and a function of a password;
determining whether the public key space mapping function, F PK, applied to p, F PK(p), is an element of the message space of said public key;
if F PK(p) is an element of the message space of said public key then:
generating a parameter q by encrypting a substantially random element of the message space of said public key using said public key and performing a group operation of the public key message space on the result and F PK(p); and transmitting q to said server.
13. The method of claim 12 wherein said function of a password is a one way function of a hash of the password.
14. The method of claim 12 wherein p is further generated as a function of at least a parameter m received from said server.
15. The method of claim 14 wherein p is further generated as a function of at least a substantially random number µ.
16. The method of claim 15 further comprising the step of:
generating a session key using the Diffie-Hellman protocol with m and µ as parameters.
17. A method for mutual network authentication between a client and a server comprising the steps, performed at said server, of:
transmitting a public key of a usable public key encryption scheme to a client wherein said public key is an element of a testable superset of a set of all public keys of said usable public key encryption scheme; and receiving, as a parameter q from said client, an element of a message space of said public key; wherein if a public key space mapping function F PK applied to a parameter p, F PK(p), where p is generated at said client as a function of at least said public key and a password, is not an element of the message space of said public key then:
receiving as parameter q a substantially random element of a message space of said public key.
18. The method of claim 17 wherein, if the public key space mapping function, F PK, applied to a parameter p, F PK(p), where p is generated at said client as a function of at least said public key and a password, is an element of the message space of said public key then:

receiving as parameter q a result of the group operation of the public key message space on a public key encryption of a substantially random element of the public key message space and F PK(p).
19. The method of claim 17 wherein, if the public key space mapping function, F PK, applied to a parameter p, F PK(p), where p is generated at said client as a function of at least said public key and a function of a password, is not an element of the message space of said public key then:
receiving as parameter q a substantially random element of the message space of said public key.
20. The method of claim 19 wherein said function of a password is a one way function of a hash of the password.
21. The method of claim 17 wherein, if the public key space mapping function, F PK, applied to a parameter p, F PK(p), where p is generated at said client as a function of at least said public key and a function of a password, is an element of the message space of said public key then:
receiving as parameter q a result of a group operation of the public key message space on a public key encryption of a substantially random element of the public key message space and F PK(p).
22. The method of claim 21 wherein said function of a password is a one way function of a hash of the password.
23. The method of claim 17 wherein said public key encryption scheme is RSA
and wherein said public key comprises parameters N and e, and wherein said public key is chosen by said server such that:
N is greater than a value;
e is greater than N; and e is prime.
24. The method of claim 17 wherein said public key encryption scheme is RSA
and wherein said public key comprises parameters N and e, and wherein said public key is chosen by said server such that:
N is within a value range;
e is within a value range; and e is prime.
25. The method of claim 17 wherein said public key encryption scheme is RSA
and wherein said public key comprises parameters N and e, and wherein said public key is chosen by said server such that:
e is a predetermined value; and N is within a value range.
26. A method for mutual network authentication between a client and a server utilizing the RSA encryption scheme comprising the steps, performed at said client, of:
receiving an RSA public key (N, e) from said server;
determining if said RSA public key (N, e) is an element of a testable superset of a set of all public keys of said RSA encryption scheme, wherein in said step of determining (i) if said RSA public key (N, e) is an element of a testable superset of a set of all public keys of said RSA encryption scheme comprises the steps, performed at said client, of:
determining whether:
N is greater than a value;
e is greater than N; and e is prime; or (ii) if said RSA public key (N, e) is not an element of said testable superset then rejecting authentication.
27. The method of claim 26 wherein said step of determining if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA
encryption scheme comprises the steps, performed at said client, of:
determining whether:
N is within a value range;
e is within a value range; and e is prime.
28. The method of claim 26 wherein said step of determining if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA
encryption scheme comprises the steps, performed at said client, of:
determining whether:
e is a predetermined value; and N is within a value range.
29. The method of claim 26 further comprising the steps, performed at said client, of:
if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA encryption scheme, then performing the steps of:
generating a parameter p as a function of at least said RSA public key (N, e) and a password;
determining whether a public key space mapping function, F PK, applied to p, F PK(p), is an element of a message space of the RSA public key;
if F PK(p) is not an element of the message space of the RSA public key then:
setting a parameter q to a substantially random element of the message space of the RSA public key; and transmitting q to said server.
30. The method of claim 29 wherein said step of determining whether F PK (p) is an element of the message space of the RSA public key comprises the step of:
determining if a greatest common divisor of p and N is equal to 1.
31. The method of claim 29 wherein p is further generated as a function of at least a parameter m received from said server.
32. The method of claim 31 wherein p is further generated as a function of at least a substantially random number µ.
33. The method of claim 26 further comprising the steps, performed at said client, of:
if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA encryption scheme, then performing the steps of:
generating a parameter p as a function of at least said RSA public key (N, e) and a password;
determining whether a public key space mapping function, F PK, applied to p, F PK(P), is an element of a message space of the RSA public key;
if F PK(p) is an element of a message space of the RSA public key then:
generating a parameter q as q = (p~.alpha.e) mod N, where .alpha. is a substantially random element of the message space of the RSA public key; and transmitting q to said server.
34. The method of claim 33 wherein said step of determining whether F PK(p) is an element of the message space of the RSA public key comprises the step of:
determining if a greatest common divisor of p and N is equal to 1.
35. The method of claim 33 wherein p is further generated as a function of at least a parameter m received from said server.
36. The method of claim 35 wherein p is further generated as a function of at least a substantially random number µ.
37. The method of claim 36 further comprising the step of:
generating a session key using the Diffie-Hellman protocol with m and µ as parameters.
38. The method of claim 36 further comprising the steps, performed at said client, of:
if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA encryption scheme, then performing the steps of:
generating a parameter p as a function of at least said RSA public key (N, e) and a function of a password;
determining whether a public key space mapping function, F PK, applied to p, F PK(p), is an element of the message space of the RSA public key;
if F PK(p) is not an element of the message space of the RSA public key then:
setting a parameter q to a substantially random element of the message space of the RSA public key; and transmitting q to said server.
39. The method of claim 38 wherein said function of a password is a one way function of a hash of the password.
40. The method of claim 38 wherein said step of determining whether F PK(p) is an element of the message space of the RSA public key comprises the step of:
determining if a greatest common divisor of p and N is equal to 1.
41. The method of claim 38 wherein p is further generated as a function of at least a parameter m received from said server.
42. The method of claim 41 wherein p is further generated as a function of at least a substantially random number µ.
43. The method of claim 26 further comprising the steps, performed at said client, of:
if said RSA public key (N, e) is an element of a testable superset of the set of all public keys of said RSA encryption scheme, then performing the steps of:
generating a parameter p as a function of at least said RSA public key (N, e) and a function of a password;
determining whether a public key space mapping function, F PK, applied to p, F PK(p), is an element of the message space of the RSA public key;
if F PK(p) is an element of a message space of the RSA public key then:
generating a parameter q as q = (p~.alpha.e) mod N, where .alpha. is a substantially random element of a message space of the RSA public key; and transmitting q to said server.
44. The method of claim 43 wherein said function of a password is a one way function of a hash of the password.
45. The method of claim 43 wherein said step of determining whether F PK(p) is an element of the message space of the RSA public key comprises the step of:
determining if a greatest common divisor of p and N is equal to 1.
46. The method of claim 43 wherein p is further generated as a function of at least a parameter m received from said server.
47. The method of claim 46 wherein p is further generated as a function of at least a substantially random number µ
48. The method of claim 47 further comprising the step of:
generating a session key using the Diffie-Hellman protocol with m and µ as parameters.
49. A method for mutual authentication between a client and a server utilizing a public key encryption scheme comprising the steps of:
said server transmitting a public key to said client;
said client determining whether said public key is an element of a testable superset of a set of all public keys of said encryption scheme; and (i) if said client determines that said public key is not an element of said testable superset, then said client rejecting authentication; or (ii) if said client determines that said public key is an element of said testable superset then:
said client generating a parameter p as a function of at least said public key and a password; and said client determining whether a public key space mapping function, F PK, applied to p, F PK(p), is an element of a message space of said public key.
50. The method of claim 49 wherein:
if said client determines that F PK(p) is an element of the message space of said public key then:
said client generating parameter q by encrypting a substantially random element .alpha. of the message space of said public key using said public key and performing a group operation of the public key message space on the result and F PK(p); and transmitting q to said server.
51. The method of claim 50 further comprising the step of:
if said client determines that F PK(p) is not an element of the message space of said public key, then said client setting parameter q to a substantially random element of the message space of said public key.
52. The method of claim 50 further comprising the steps of:
said server determining whether q is an element of the message space of said public key;
if said server determines that q is not an element of the message space of said public key, then said server rejecting authentication;
if said server determines that q is an element of the message space of said public key, then said server generating a parameter p' as a function of at least said public key and said password;
said server determining whether the public key space mapping function, F PK, applied to p', F PK(p'), is an element of the message space of said public key;
if said server determines that F PK(p') is not an element of the message space of said public key, then said server rejecting authentication;~
if said server determines that F PK(p') is an element of the message space of said public key, then said server:
generating a parameter .alpha.' by performing an inverse of the group operation of the public key message space on q and F PK(p') and decrypting the result using a secret key corresponding to said public key;
generating r = h(.alpha.') where h is a first random hash function; and transmitting r to said client.
53. The method of claim 52 further comprising the steps of:
said client determining:
a) if F PK(p) is an element of the message space of said public key;
and;
b) if r = h(.alpha.) if a) or b) is not true, then said client rejecting authentication;
if a) and b) are true, then said client generating t = h '(.alpha.), where h' is a second random hash function, and transmitting t to said server.
54. ~The method of claim 53 further comprising the steps of said server determining if t = h'(.alpha.');
if t = h'(.alpha.') then said server accepting authentication;
if t ~ h'(.alpha.') then said server rejecting authentication.
55. ~The method of claim 54 further comprising the steps of:
if said server and said client accept authentication, then said server and said client computing session keys for subsequent secure communication.
56. ~The method of claim 49 further comprising the steps of:
if said client determines that said public key is an element of said testable superset then:
said client generating a parameter p as a function of at least said public key and a function of a password; and said client determining whether the public key space mapping function F PK
applied to p, F PK(p), is an element of the message space of said public key.
57. ~The method of claim 56 wherein:
if said client determines that F PK(p) is an element of the message space of said public key then:
said client generating parameter q by encrypting a substantially random element a of the message space of said public key using said public key and performing a group operation of the public key message space on the result and F PK(p); and transmitting q to said server.
58. ~The method of claim 57 further comprising the step of:
if said client determines that F PK(p) is not an element of the message space of said public key, then said client setting parameter q to a substantially random element of the message space of said public key.
59. ~The method of claim 57 further comprising the steps of:
said server determining whether q is an element of the message space of said public key;
if said server determines that q is not an element of the message space of said public key, then said server rejecting authentication;
if said server determines that q is an element of the message space of said public key, then said server generating a parameter p' as a function of at least said public key and a function of said password;
said server determining whether the public key space mapping function, F PK, applied to p', F PK(p'), is an element of the message space of said public key;~
if said server determines that F PK(p') is not an element of the message space of said public key, then said server rejecting authentication;
if said server determines that F PK(p') is an element of the message space of said public key, then said server:
generating a parameter .alpha.' by performing an inverse of the group operation of the public key message space on q and F PK(p') and decrypting the result using a secret key corresponding to said public key;
generating r = h(.alpha.'), where h is a first hash function; and transmitting r to said client.
60. ~The method of claim 59 further comprising the steps of:
said client determining:
a) ~if F PK(p) is an element of the message space of said public key;
and b) ~if r = h(a) if a) or b) is not true, then said client rejecting authentication;
if a) and b) are true, then said client generating t = h'(.alpha.) where h' is a second hash function, and transmitting t to said server.
61. ~The method of claim 60 further comprising the steps of:
said server determining if t = h'(.alpha.');
if t = h'(.alpha.') then said server accepting authentication;
if t ~ h'(.alpha.') then said server rejecting authentication.
62. ~The method of claim 61 further comprising the step of:
if said server and said client accept authentication, then said server and said client computing session keys for subsequent secure communication.
CA002313557A 1999-07-13 2000-07-06 Secure mutual network authentication protocol Expired - Fee Related CA2313557C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/353,468 1999-07-13
US09/353,468 US6757825B1 (en) 1999-07-13 1999-07-13 Secure mutual network authentication protocol

Publications (2)

Publication Number Publication Date
CA2313557A1 CA2313557A1 (en) 2001-01-13
CA2313557C true CA2313557C (en) 2005-03-01

Family

ID=23389249

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002313557A Expired - Fee Related CA2313557C (en) 1999-07-13 2000-07-06 Secure mutual network authentication protocol

Country Status (4)

Country Link
US (1) US6757825B1 (en)
EP (1) EP1069726A3 (en)
JP (1) JP2001060947A (en)
CA (1) CA2313557C (en)

Families Citing this family (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272223B1 (en) * 1997-10-28 2001-08-07 Rolf Carlson System for supplying screened random numbers for use in recreational gaming in a casino or over the internet
US7260834B1 (en) 1999-10-26 2007-08-21 Legal Igaming, Inc. Cryptography and certificate authorities in gaming machines
US7690043B2 (en) * 1994-12-19 2010-03-30 Legal Igaming, Inc. System and method for connecting gaming devices to a network for remote play
US7290142B1 (en) * 1999-09-28 2007-10-30 Thomas Licensing System and method for initializing a simple network management protocol (SNMP) agent
US7069434B1 (en) * 2000-06-13 2006-06-27 Hewlett-Packard Development Company, L.P. Secure data transfer method and system
US7020773B1 (en) 2000-07-17 2006-03-28 Citrix Systems, Inc. Strong mutual authentication of devices
US20020062452A1 (en) * 2000-08-18 2002-05-23 Warwick Ford Countering credentials copying
US6986040B1 (en) 2000-11-03 2006-01-10 Citrix Systems, Inc. System and method of exploiting the security of a secure communication channel to secure a non-secure communication channel
AU2002306192A1 (en) * 2001-06-26 2003-01-08 Valentin Kisimov Stabilised secure algorithms
US6993650B2 (en) 2001-10-31 2006-01-31 International Business Machines Corporation Authentications integrated into a boot code image
GB0210692D0 (en) 2002-05-10 2002-06-19 Assendon Ltd Smart card token for remote authentication
US7783043B1 (en) * 2002-08-05 2010-08-24 Nortel Networks Limited Secure group communications
US9251649B2 (en) 2002-10-09 2016-02-02 Zynga Inc. System and method for connecting gaming devices to a network for remote play
US7188359B2 (en) 2002-12-18 2007-03-06 America Online, Inc. Optimizing authentication service availability and responsiveness via client-side routing
US8788825B1 (en) * 2003-01-14 2014-07-22 Digi International Inc. Method and apparatus for key management for various device-server configurations
KR100581590B1 (en) 2003-06-27 2006-05-22 주식회사 케이티 Two-factor authenticated key exchange method and authentication method using the same, and recording medium storing program including the same
US7930412B2 (en) * 2003-09-30 2011-04-19 Bce Inc. System and method for secure access
US8015393B2 (en) * 2004-04-12 2011-09-06 Canon Kabushiki Kaisha Data processing device, encryption communication method, key generation method, and computer program
WO2006016850A1 (en) * 2004-08-07 2006-02-16 Veritas Mobile Solutions Pte. Ltd. Authentication method and system
CA2571814C (en) * 2004-12-30 2012-06-19 Bce Inc. System and method for secure access
US20060182124A1 (en) * 2005-02-15 2006-08-17 Sytex, Inc. Cipher Key Exchange Methodology
US7594116B2 (en) * 2005-04-28 2009-09-22 Proofpoint, Inc. Mediated key exchange between source and target of communication
US8132006B2 (en) * 2005-05-03 2012-03-06 Ntt Docomo, Inc. Cryptographic authentication and/or establishment of shared cryptographic keys, including, but not limited to, password authenticated key exchange (PAKE)
US7814320B2 (en) * 2005-07-19 2010-10-12 Ntt Docomo, Inc. Cryptographic authentication, and/or establishment of shared cryptographic keys, using a signing key encrypted with a non-one-time-pad encryption, including (but not limited to) techniques with improved security against malleability attacks
US7698555B2 (en) * 2005-08-29 2010-04-13 Schweitzer Engineering Laboratories, Inc. System and method for enabling secure access to a program of a headless server device
US8201233B2 (en) * 2006-02-06 2012-06-12 Cisco Technology, Inc. Secure extended authentication bypass
US20080132222A1 (en) * 2006-11-30 2008-06-05 Brady Colin P Wireless communication using a picocell station having its own phone number
US8239549B2 (en) * 2007-09-12 2012-08-07 Microsoft Corporation Dynamic host configuration protocol
US8806565B2 (en) * 2007-09-12 2014-08-12 Microsoft Corporation Secure network location awareness
CN101425897B (en) * 2007-10-29 2011-05-18 上海交通大学 Customer authentication method, system, server and customer node
US8452017B2 (en) * 2007-12-21 2013-05-28 Research In Motion Limited Methods and systems for secure channel initialization transaction security based on a low entropy shared secret
US7522723B1 (en) 2008-05-29 2009-04-21 Cheman Shaik Password self encryption method and system and encryption by keys generated from personal secret information
US8230219B2 (en) * 2008-08-12 2012-07-24 Texas Instruments Incorporated Reduced computation for bit-by-bit password verification in mutual authentication
US8549314B2 (en) 2010-04-29 2013-10-01 King Saud University Password generation methods and systems
US20120032781A1 (en) * 2010-08-09 2012-02-09 Electronics And Telecommunications Research Institute Remote personal authentication system and method using biometrics
CN101959187A (en) * 2010-10-19 2011-01-26 青海师范大学 Method for anonymous routing of MANET network without reliable third party
US8988187B2 (en) * 2011-01-13 2015-03-24 Hong Kong Applied Science And Technology Research Institute Co., Ltd. Proximity based biometric identification systems and methods
CN102377573A (en) * 2011-12-08 2012-03-14 华东师范大学 Double-factor authentication method capable of securely updating password
FR3018371B1 (en) * 2014-03-10 2016-05-06 Commissariat Energie Atomique REMOTE KEY DATA ENCRYPTION / ENCRYPTION METHOD AND SYSTEM AND PRIOR CHECK CHECK
US10333696B2 (en) 2015-01-12 2019-06-25 X-Prime, Inc. Systems and methods for implementing an efficient, scalable homomorphic transformation of encrypted data with minimal data expansion and improved processing efficiency
KR102549272B1 (en) 2016-05-17 2023-06-30 한국전자통신연구원 Method and Apparatus for Authenticated Key Exchange Using Password and Identity-based Signature
WO2019101324A1 (en) * 2017-11-23 2019-05-31 Huawei Technologies Co., Ltd. System and method for storing encrypted data
CN110287070B (en) * 2019-05-21 2024-03-19 平安银行股份有限公司 ESB special protocol interface test method, server and computer readable storage medium
CN110519300B (en) * 2019-09-24 2021-08-06 杭州字节信息技术有限公司 Client-side secret key safe storage method based on password bidirectional authentication
CN114268439B (en) * 2021-12-16 2023-09-15 中原工学院 Identity-based authentication key negotiation method based on grid

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5241599A (en) 1991-10-02 1993-08-31 At&T Bell Laboratories Cryptographic protocol for secure communications
US5440635A (en) 1993-08-23 1995-08-08 At&T Corp. Cryptographic protocol for remote authentication
EP0891663A1 (en) * 1996-04-01 1999-01-20 Hewlett-Packard Company Transmitting messages over a network
JPH09284272A (en) * 1996-04-19 1997-10-31 Canon Inc Ciphering system, signature system, key common share system, identity proving system and device for the systems
US6275941B1 (en) * 1997-03-28 2001-08-14 Hiatchi, Ltd. Security management method for network system
CA2305896C (en) * 1997-10-14 2010-12-14 Certicom Corp. Key validation scheme
US6134327A (en) * 1997-10-24 2000-10-17 Entrust Technologies Ltd. Method and apparatus for creating communities of trust in a secure communication system
US6226750B1 (en) * 1998-01-20 2001-05-01 Proact Technologies Corp. Secure session tracking method and system for client-server environment
US6088805A (en) * 1998-02-13 2000-07-11 International Business Machines Corporation Systems, methods and computer program products for authenticating client requests with client certificate information
US6446206B1 (en) * 1998-04-01 2002-09-03 Microsoft Corporation Method and system for access control of a message queue
US6438235B2 (en) * 1998-08-05 2002-08-20 Hewlett-Packard Company Media content protection utilizing public key cryptography
US6567915B1 (en) * 1998-10-23 2003-05-20 Microsoft Corporation Integrated circuit card with identity authentication table and authorization tables defining access rights based on Boolean expressions of authenticated identities

Also Published As

Publication number Publication date
EP1069726A2 (en) 2001-01-17
US6757825B1 (en) 2004-06-29
EP1069726A3 (en) 2004-04-07
CA2313557A1 (en) 2001-01-13
JP2001060947A (en) 2001-03-06

Similar Documents

Publication Publication Date Title
CA2313557C (en) Secure mutual network authentication protocol
EP1134929B1 (en) Secure mutual network authentication and key exchange protocol
EP1248408B1 (en) Methods and apparatus for providing efficient password-authenticated key exchange
MacKenzie et al. Networked cryptographic devices resilient to capture
Jablon Extended password key exchange protocols immune to dictionary attack
US7814320B2 (en) Cryptographic authentication, and/or establishment of shared cryptographic keys, using a signing key encrypted with a non-one-time-pad encryption, including (but not limited to) techniques with improved security against malleability attacks
US6792533B2 (en) Cryptographic methods for remote authentication
US7139917B2 (en) Systems, methods and software for remote password authentication using multiple servers
US7480384B2 (en) Method for distributing and authenticating public keys using random numbers and Diffie-Hellman public keys
US7010692B2 (en) Cryptographic methods for remote authentication
US20060291661A1 (en) Cryptographic authentication and/or establishment of shared cryptographic keys, including, but not limited to, password authenticated key exchange (PAKE)
EP3576340B1 (en) Modular key exchange for key agreement and optional authentication
US7373499B2 (en) Methods and apparatus for delegation of cryptographic servers for capture-resilient devices
Lo et al. An advanced password authenticated key exchange protocol for imbalanced wireless networks.
Lu Multi-party password-authenticated key exchange scheme with privacy preservation for mobile environment
Shin et al. Efficient and leakage-resilient authenticated key transport protocol based on RSA
Park et al. Authenticated key exchange protocol secure against offline dictionary attack and server compromise
Yoon et al. A new simple authenticated key agreement and protected password change protocol
Yoon et al. A secret-key exponential key agreement protocol with smart cards
Gentry et al. DoCoMo USA Labs {cgentry, philmac, ramzan}@ docomolabs-usa. com August 15, 2005
Mangipudi New authentication and key agreement protocols for wireless applications
Juang et al. Security Enhancement for Robust Password Authenticated Key Agreement Using Smart Cards
Bakuri Security Analysis and Implementation of Password-based Cryptosystem
Lucks et al. How to turn a PIN into an Iron Beam: A patent-free and practical protocol for secure communication using a weak common secret
Yang et al. Cryptanalysis of an Enhanced Authentication Key Exchange Protocol

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed