|
|
|
| United States Patent | 5689566 |
| Link to this page | http://www.wikipatents.com/5689566.html |
| Inventor(s) | Nguyen; Minhtam C. (10018 Lexington Estates Blvd., Boca Raton, FL 33428) |
| Abstract | A system which uses three way password authentication, encrypting different
portions of a logon packet with different keys based on the nature of the
communications link. Nodes attached to a particular LAN can have one level
of security for data transfer within the LAN while data transfers between
LANs on a private network can have a second level of security and LANs
connected via public networks can have a third level of security. The
level of security can optionally be selected by the user. Data transfers
between nodes of a network are kept in separate queues to reduce queue
search times and enhance performance. |
|
|
|
Title Information  |
|
|
|
|
|
Drawing from US Patent 5689566 |
|
|
Network with secure communications sessions |
|
|
|
|
|
| Publication Date |
November 18, 1997 |
|
|
|
|
|
| Filing Date |
October 24, 1995 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Title Information  |
|
|
References  |
|
|
| *references marked with an asterisk below are user-added references |
|
U.S. References |
|
|
| Add a new US reference: |
| | Reference | Relevancy | Comments | Reference | Relevancy | Comments | 5418854 Kaufman 713/156 May,1995 |      Your vote accepted [0 after 0 votes] | | 5416842 Aziz 380/30 May,1995 |      Your vote accepted [0 after 0 votes] | | 5392357 Bulfer 380/33 Feb,1995 |      Your vote accepted [0 after 0 votes] | | 5373559 Kaufman
Dec,1994 |      Your vote accepted [0 after 0 votes] | | 5369707 Follendore, III 713/155 Nov,1994 |      Your vote accepted [0 after 0 votes] | | 5323146 Glaschick 726/18 Jun,1994 |      Your vote accepted [0 after 0 votes] | | 5311593 Carmi 713/162 May,1994 |      Your vote accepted [0 after 0 votes] | | 5301247 Rasmussen 380/43 Apr,1994 |      Your vote accepted [0 after 0 votes] | | 5268962 Abadi 713/161 Dec,1993 |      Your vote accepted [0 after 0 votes] | | 5263165 Janis 711/163 Nov,1993 |      Your vote accepted [0 after 0 votes] | | 5261070 Ohta 726/3 Nov,1993 |      Your vote accepted [0 after 0 votes] | | 5241599 Bellovin 713/171 Aug,1993 |      Your vote accepted [0 after 0 votes] | | 5239648 Nukui 707/10 Aug,1993 |      Your vote accepted [0 after 0 votes] | | 5226172 Seymour 709/222 Jul,1993 |      Your vote accepted [0 after 0 votes] | | 5220655 Tsutsui 709/229 Jun,1993 |      Your vote accepted [0 after 0 votes] | | 5142622 Owens 709/227 Aug,1992 |      Your vote accepted [0 after 0 votes] | | 5136716 Harvey 709/228 Aug,1992 |      Your vote accepted [0 after 0 votes] | | 5111504 Esserman 380/281 May,1992 |      Your vote accepted [0 after 0 votes] | | 5073852 Siegel
Dec,1991 |      Your vote accepted [0 after 0 votes] | | 5060263 Bosen 713/184 Oct,1991 |      Your vote accepted [0 after 0 votes] | | 4227253 Ehrsam 380/45 Oct,1980 |      Your vote accepted [0 after 0 votes] | | 5375207 Blakely 709/203 Dec,1969 |      Your vote accepted [0 after 0 votes] | | |
|
|
|
|
U.S. References |
|
|
Foreign References |
|
|
|
|
|
|
Foreign References |
|
|
Other References |
|
|
|
|
|
|
Other References |
|
|
|
|
|
References  |
|
|
|
|
|
| Market Size |
|
Estimate the gross annual revenues of the relevant market
sector:
|
| | |
| |
|
|
| Market Share |
|
Estimate the percentage of the relevant market sector this invention will capture:
|
| | |
| |
|
|
| Reasonable Royalty |
|
What percentage of gross sales should the inventor or assignee be paid?
|
| | |
| |
|
|
|
Public's "Guesstimation" of Royalty Value
|
| Market Size | N/A | [No votes] | | x | Market Share | N/A | [No votes] | | x | Reasonable Royalty | N/A | [No votes] |
| | N/A | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
Market Review  |
|
|
Technical Review  |
|
|
Claims  |
|
|
I claim:
1. A bi-directional security system for a network, comprising:
at least one client, the client further comprising:
client communication means to communicate with at least one server;
packet reception means to receive transmitted packet data from the server;
means to generate and transmit a first packet to the server, at least a
portion of the first packet having a first packet header containing client
identifying information;
means to encrypt at least a portion of the client identifying information
in the first packet header prior to transmission;
means to decrypt at least a portion of the client authenticating
information in a second packet header and to determine if the second
packet is from the server, the client further having means to terminate
the communication if the second packet is from an invalid server;
means to generate and transmit a third packet to the server, at least a
portion the third packet having a third packet header containing session
information; and
means to encrypt at least a portion of the session information in the third
packet header prior to transmission; and
the server further comprising:
server communication means to communicate with the client;
packet reception means to receive transmitted packet data from the client;
means to decrypt at least a portion of the client identifying information
in the first packet header and to determine if the first packet is from a
valid client, the server further having means to terminate the
communication if the first packet is from an invalid client;
means to generate and transmit a second packet to the client in response to
the first packet, at least a portion the second packet having the second
packet header containing client authenticating information;
means to encrypt at least a portion of the client authenticating
information in the second packet header prior to transmission; and
means to decrypt at least a portion of the session information in the third
packet header;
whereby, the client and the server each verify the validity of the other by
transmitting encrypted identifying information to one another.
2. A security system, as in claim 1, further comprising:
means in the server to generate and transmit a fourth packet to the client
in response to the third packet, the fourth packet having a packet header
containing session information; and
means to encrypt at least a portion of the session information in the
fourth packet header prior to transmission.
3. A security system, as in claim 2, wherein:
the client has a userid;
the client has a password;
the first packet is encrypted by:
concatenating a random number to a predetermined bit constant to form a
value R;
a CRC signature C1 is generated from the value R and the userid;
the value R is used as a DES key to encrypt the userid;
the server name is used to generate a key K to encrypt the value R;
the key Ka is generated by a one way hash function from the userid and
password; and
a random number Ra and its CRC signature C2 is generated, Ra and C2 are
encrypted using key Ka.
4. A security system, as in claim 3, wherein:
the server further comprises an encrypted client password file;
the second packet is encrypted by:
a key K2 is generated from the server name and a one way hash function to
decrypt the packet header of the first packet;
the userid is decrypted using the decrypted value R from the packet header;
the decrypted userid is used to access an authorization table to determine
if the first packet is valid;
the userid is used to extract a one way hashed password Kb from the
encrypted client password file, the password Kb is then used to decrypt
values Ra, C1 and C2;
the value Ra is manipulated via a predetermined formula to produce a random
number R'a;
a random number Rb is generated by the server; and
R'a and Rb are encrypted with password Kb, inserted into the packet header
of the second packet and transmitted to the client.
5. A bidirectional security system for a network, comprising:
at least one client, the client further comprising:
means to encrypt a first logon packet;
means to transmit the first logon packet to the server;
means to decrypt the second logon packet;
means to encrypt a third logon packet with session information;
a server, further comprising:
means to decrypt the first logon packet;
means to encrypt a second logon packet with client authenticating
information;
means to transmit the second logon packet to the client;
means to decrypt the third logon packet; and
a communication channel capable transmitting packets between the client
machine and the server;
whereby the client and server can establish secure communications by
bi-directionally transmitting encrypted data.
6. A security system, as in claim 5, further comprising:
means to encrypt packet data in least two security levels, the first
security level having a first packet encryption scheme and the second
security level having a second packet encryption scheme;
whereby the security system can selectably encrypt packet data with at
least two packet encryption schemes.
7. A security system, as in claim 6, further comprising:
means to encrypt packet data at least three security levels, the third
security level having a third packet encryption scheme;
whereby the security system can selectably encrypt packet data with at
least three packet encryption schemes.
8. A security system, as in claim 7, wherein the first packet encryption
scheme is a single DES encryption.
9. A security system, as in claim 8, wherein the second packet encryption
scheme is a triple DES encryption.
10. A security system, as in claim 9, wherein:
the first packet encryption scheme encrypts the packet header information;
and
the second packet encryption scheme encrypts the packet header information;
the third packet encryption scheme is a triple DES encryption, and further
encrypts the packet header and the packet data.
11. A security system, as in claim 10, wherein:
the server further comprises means to encrypt a fourth logon packet with
session information; and
the client further comprises means to decrypt the fourth logon packet.
12. A security system, as in claim 9, wherein:
the client further comprises means to encrypt data packets; and
the server further comprises means to encrypt data packets;
data packets are selectably encrypted using at least one of the security
levels; and
means to dynamically adjust the size of the packet header based on the
selected encryption scheme.
13. A security system, as in claim 5, wherein:
each client includes at least one application program; and
the server further comprises at least one packet queue for each client;
whereby application performance is improved by reducing packet search time.
14. A method of securely transmitting packet data between a client and a
server with encrypted packets, including the steps of:
using at least one communication channel to transmit packets between at
least one client machine and at least one server;
encrypting in the client a first logon packet;
transmitting the first logon packet to the server;
decrypting the first logon packet in the server;
encrypting a second logon packet in the server with client authenticating
information;
transmitting the second logon packet to the client;
decrypting the second logon packet in the client;
encrypting in the client a third logon packet with session information;
decrypting the third logon packet in the server;
whereby the client and server can establish secure communications by
bi-directionally transmitting encrypted data.
15. A method, as in claim 14, including the further steps of:
encrypting a fourth logon packet in the server with session information;
transmitting the fourth logon packet to the client; and
decrypting the fourth logon packet in the client;
using the session information to control encryption of packets while
communicating between the client and the server.
16. A method, as in claim 15, including the further step of using at least
two selectable encryption schemes, including a first encryption scheme for
a first security level and a second encryption scheme for a second
security level.
17. A method, as in claim 16, including the further steps of:
using at least two communication channels to communicate between multiple
client and server, at least a first communication channel having a first
level of security and at least a second communication channel having a
second level of security; and
selecting the first encryption scheme for the first communication channel
and the second encryption scheme for the second communication channel.
18. A method, as in claim 17, including the further step of using single
DES encryption for the first level of security and triple DES encryption
for the second level of security.
19. A method, as in claim 18, including the further steps of:
using packets which contain a header portion and a data portion; and
using a third encryption scheme in which triple DES encryption is used for
the packet header and the packet data.
20. A method, as in claim 19, including the further steps of:
selecting the encryption scheme based on the nature of the data in the
packet; and
dynamically adjusting the size of the packet header based on the selected
encryption scheme. |
|
|
|
|
Claims  |
|
|
Description  |
|
|
BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates to computer network security. In particular,
it relates to networks which use dynamic packet headers and multiple
levels of packet encryption to transfer data to and from a remote server
or to and from another node in the local network.
2. Background Art
The development of small independent systems such as personal computers has
provided several benefits to users. By providing each user with their own
processor and data storage, personal computers provide consistent
performance and data security. A cost of these benefits is the
inconvenience which results from the inability to easily access data by
other members of an organization.
The use of mainframe systems, and the later development of alternative
systems such as LANs (Local Area Networks) and servers reduces the
inconvenience of making data available to all members of an organization,
but results in unpredictable performance, and more importantly results in
exposure of sensitive data to unauthorized parties. The transmission of
data is commonly done via packet based systems which have user ID and
password information in a header section. Interception of a packet with
header information allows the intercepter to learn the user ID and
password which will in turn allow future penetration of the user's system
and unauthorized access to the user's data. It would be desirable to
transmit user identification and password information in a manner which
would be indecipherable to an unauthorized interceptor.
Data security is endangered not only by access by outside parties such as
hackers, industrial spies, etc, but also to inadvertent disclosure of data
to unauthorized members of the organization. For example, data exchange at
certain levels of management may cause problems should the information be
disclosed to the general employee population. Likewise, the transmission
of personal information such as banking codes over networks has exposed
individuals using online financial systems to the possibility of
fraudulent access to their funds by third parties.
In addition to data security, the use of network systems such as LANs has
created performance problems due to the queuing of requests from multiple
locations and the unpredictable delays associated with queuing
fluctuations. It would be advantageous if a system could provide not only
data security, but also more consistent performance.
The prior art has failed to provide network systems which ensure that
access to data is restricted to authorized parties while at the same time
providing more consistent performance.
SUMMARY OF THE INVENTION
The present invention solves the foregoing problems by providing a system
which uses three way password authentication, encrypting different
portions of a logon packet with different keys based on the nature of the
communications link. Nodes attached to a particular LAN can have one level
of security for data transfer within the LAN while data transfers between
LANs on a private network can have a second level of security and LANs
connected via public networks can have a third level of security. The
level of security can optionally be selected by the user. Data transfers
between nodes of a network are kept in separate queues to reduce queue
search times and enhance performance.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram showing the connection between applications and the
requester in a local system.
FIG. 2 is the diagram of FIG. 1 with a more detailed view of the requester.
FIGS. 3A-B are a flow diagram illustrating data transfer between the
application and requester of the preferred embodiment.
FIGS. 4A-C are diagrams of the memory layout of packet headers used in the
preferred embodiment.
FIGS. 5A-B are diagrams showing the memory layout of entries in the packet
queue. FIG. 5A is the memory layout used for TCP/IP and NetBIOS. FIG. 5B
is the memory layout used by SMODEM or SRS232 communications systems.
FIG. 6 is a diagram of a multi-requester system with a single server.
FIG. 7 is a diagram illustrating a single requester attached to three
servers.
FIG. 8 is a diagram showing a requester (machine A) interconnected with two
servers (machines B-C).
FIG. 9 is a diagram illustrating multiple requesters connected to servers
via local area networks (LANs) and wide area networks and public telephone
networks.
FIG. 10 is a diagram illustrating multiple requesters connected to servers
and server/requester systems.
FIG. 11 is a diagram illustrating the server used in the preferred
embodiment.
FIG. 12 is a diagram illustrating the read/write threads and packet queues
used by the server of FIG. 11.
FIGS. 13A-D are diagrams illustrating the packet headers used in the logon
procedure of the preferred embodiment.
FIG. 13E are diagrams illustrating the packet headers used during data
transfer in the preferred embodiment.
DESCRIPTION OF THE PREFERRED EMBODIMENT
Prior to a detailed description of the figures, a general discussion of the
operation of the preferred embodiment follows. A network can take a
variety of forms. For example, it can be two personal computers
communicating via modem; it can be a single LAN system within a particular
facility; it can be a remote server or mainframe system with
communications links to individual terminals or personal computers; it can
be a network of LANs or other servers each communicating with one another
or through one another; or it can be any of the foregoing systems which
use not only dedicated communications lines, but also nondedicated
communications (i.e. public networks such as the Internet) through a
"firewall". The use of the term firewall herein refers to the requirement
for increased levels of security to avoid the possibility of unauthorized
data access by parties outside of the organization. Likewise, a machine in
the network can act as a client or a server depending on the nature of the
data transfer.
In the preferred embodiment, communication between a client and a server is
as follows. The server waits for connection requests from clients on the
network. The server can be started with one or more supported protocols to
enable support of a variety of client types on the network. For example,
the server protocols can include, among others, NetBIOS, TCP/IP, SMODEM
and SRS232. All of the foregoing protocols are well known in the art.
When a user on a client machine wishes to initiate a data transfer or other
function, the client application activates a requester to access resources
in the network. When the server receives a request from a client
application, it activates a thread to process the request. A thread is an
execution unit of an operating system. Operating systems used for this
type of system are Microsoft Windows 95 (trademark of Microsoft
Corporation), Microsoft Windows NT (trademark of Microsoft Corporation),
IBM OS/2 (trademark of IBM Corporation). These systems may use multiple
session protocols such as NetBIOS and TCP/IP or single session protocols
such as SMODEM or SRS232.
In single session protocols such as SMODEM and SRS232, the same thread is
used to process the request from a client since a serial port can act as a
server or client, but cannot simultaneously act as a server and client.
Multiple session protocols create a new thread, referred to as an original
thread, and wait for a request from a client. When a request is received,
the thread is referred to as a server processing thread which is used to
process the client logon.
After the logon is successfully completed, the server processing thread
creates a packet queue and a packet thread to receive incoming packets and
place them in the packet queue. The server then waits for packets to
arrive. On the client side, the client creates a session write thread to
initiate contact with the server. In addition, the client creates a second
thread which is referred to as the session read thread. This thread is
used to receive packets sent from the server to the client.
To use resources on the network, users must first logon the server to prove
their identity. A logon request is sent from the client's logon
application to the requester on the client computer. Before logon data can
be exchanged between the applications and the requester, a command manager
is created by the requester to accept application requests. The command
manager is responsible for housekeeping requests within the client
computer.
In the preferred embodiment, the logon procedure uses a three way
authentication to prevent the password from being transferred over the
computer and also to allow both the client and the server to authenticate
each other. In addition, the authentication procedure prevents
unauthorized penetration of the system security by detecting the replaying
of packets by third parties.
The three way authentication system encrypts the very first logon packet
with different keys for each part of the packet as follows.
The first step takes place at the client computer as follows.
1--The client generates a 32 bit random number value which is concatenated
to a predefined 32 bit constant to form a 64 bit value R.
2--The CRC signature C1 of the 64 bit value R and the user ID is
calculated. This signature value allows detection of packet manipulation.
3--The 64 bit value R is used as a DES key to encrypt the user ID. This
makes the user ID look random for each logon packet.
4--The client generates a 192 bit key K from the server name to encrypt the
64 bit value R.
5--The client generates a key Ka from the user ID and password using a one
way hash function such as the Secure Hash Standard (SHS) specified in the
Federal Information Processing Standards Publication 180 (FIPS PUB 180).
6--The client generates a random number Ra, calculates its CRC signature
C2, and encrypts them with the signature C1 using the key Ka. This
signature is used to validate the key Ka by the server.
The second step in the process takes place at the server. When the server
receives the first logon packet it decrypts the packet as follows.
1--The server generates a key K2 from its machine name and the SHS to
decrypt the packet header for identification. If the packet header does
not contain the predefined constant, the user is unauthorized. This occurs
when an unauthorized user tries to access the server over the phone line
but does not know the server name (since the phone number is a public
record but the server name is private).
2--If the user is authorized, the server uses the decrypted 64 bit value R
in the packet header as a key to decrypt the user ID.
3--The server then uses the user ID to search a database for an access
record. If the access record cannot be found, the user has entered an
invalid ID and the session is terminated. If the access record is found,
the server verifies if the user is allowed access to network resources at
this date and time.
4--If access date and time are verified, the server retrieves an associated
one way hashed password Kb from an encrypted password file to decrypt the
random number Ra and the CRC signatures. The password file is encrypted
with a key Kk which is selected by the system administrator at
installation.
5--The random numbers Ra and the CRC signatures are then decrypted. The
server calculates the CRC signature of the packet header, the user ID and
the random number Ra. If the calculated signatures match the decrypted
signatures C1 and C2 stored in the packet, and if password Ka matches Kb,
the server manipulates the client random number Ra with a predefined
formula, generates a random number Rb, and encrypts both random numbers Ra
and Rb with the password Kb before sending the first logon response packet
to the client.
The third step in the process takes place at the client computer as
follows.
1--The client decrypts the first logon response packet.
2--The client manipulates the random number Ra with the predefined formula
and compares it with the one returned from the server. If the numbers
match, the client knows that it is connected to the correct server, not a
fraud server from which an eavesdropper has captured transmissions from
the previous logon and is echoing packets back to the client computer.
3--The client manipulates random number Rb with another predefined formula
and concatenates it with the client's initiating data (i.e., the client
initial packet sequence number, the encryption and compression mode for
the session, and the operating system platform ID) to form a second logon
packet. The operating system platform ID is useful for selecting protocols
and data formats when a particular client or server is communicating with
systems that may have any one of a variety of operating system software
programs running. The client would typically request encryption and
compression mode for the session. However, the server may indicate that
the particular modes requested are not available.
4--The client then encrypts the second logon packet and sends it to the
server.
The fourth step in the process takes place at the server computer as
follows.
1--The server decrypts the second logon packet.
2--The server manipulates the random number Rb with the same predefined
formula used by the client and verifies if the random numbers are matched.
If the random numbers match, then the server knows it is communicating
with an authorized client and that the first logon packet was not a
replayed packet.
3--The server saves the client initiating data, generates a session key Ks
and an initialization vector IV. In the preferred embodiment, Ks and IV
are generated using the formula specified in Appendix C of the ANSI X9.17
standard.
4--Ks and IV are sent to the client along with the server initiating data
(i.e., the server initial packet sequence number, supported and/or
approved encryption and compression modes for the session, and the server
operating system platform ID).
The client and server initial packet sequence numbers are used to detect
packet deletion and insertion for data exchanged after the logon
procedure.
The fifth step in the process takes place at the client computer as
follows.
1--The second logon response packet is decrypted by the client.
2--The client encrypts Ks and IV with its own key and saves them in memory
for future communication with the server. The logon procedure completes
here.
After the logon procedure is successfully completed, all packet headers are
encrypted using the session key Ks and the IV. The packet headers are
encrypted to prevent intruders from deleting, inserting, modifying, and/or
replaying the packets which may have been captured while data was
exchanged over communication lines.
For ease of illustration, the following symbols can be used to illustrate
the logon process:
Where:
C=a client
S=a server
E=a symmetric cryptosystem such as DES
K=an encryption key generated from the server name
R=a 32 bit random number concatenated with a predefined constant
Ka=a 192 bit key one way hashed from the user ID and password
Ra=a 64 bit random value generated by C
f()=a hash function such as CRC to calculate the signature
g()=a hash function such as CRC to calculate the signatures
UID=user IDs
Kb=a 192 bit one way hashed key retrieved from a database
ha()=a hash function to manipulate the random number Ra
Rb=a 64 bit random value generated by S
hb ()=a hash function to manipulate the random number Rb
Dc=client initial data
IV=an initial chaining vector for encryption
Ks=a session encryption key
Ds=server initial data
R'a=ha(Ra)
R'b=hb(Rb)
The logon procedure may be listed as:
1. C to S: EK(R)+EKa(Ra,f(Ra,g(R,UID))+ER(UID)
2. S to C: EKb(R'a,Rb)
3. C to S: EKa(R'b, Dc)
4. S to C: EKb(IV,Ks,Ds)
An important advantage of the authentication procedure used by the
preferred embodiment is that both the client and the server verify each
other as legitimate without sending the password. In addition, the use of
a second set of logon packets which contain different encrypted random
numbers precludes access by an unauthorized intruder who merely replays
intercepted packets.
The heart of this authentication procedure is in the middle part of the
logon packet, which contains the random number Ra and the CRC signatures.
Since the CRC signature C2 of the random number Ra is encrypted and sent
along with the logon packet, the server can authenticate the user right on
the first logon packet. The manipulation of the random numbers Ra and Rb
in the challenge-response fashion is to help the server defeat the
replaying of the logon packet and to allow the client to authenticate the
server and to defeat packet replaying as well.
The 32-bit random number in the packet header is used to make the packet
header and the user ID look different for every logon packet. The one-way
hashed server name is used as a key to quickly detect invalid logon
packets before searching the database. This case may occur frequently when
the SMODEM protocol is activated to wait for data transferred over a
telephone line (i.e., a wrong number is dialed by accident or a call
generated by a manual or automated telemarketing company is being
received).
In addition, the server name is isolated from the user ID and password when
creating a one-way hashed password to allow the portability of the
database. For example, when a business grows, another server may be needed
at another location and the database can be easily transferred to the new
server. Of course, it would be less time-consuming to delete unauthorized
users from the database than to add authorized users to the new one. To
better protect the valuable information in the database, a password is
required before access to the database is granted. More important, the
database can be shared among servers. For example, a server Sb can receive
the first logon packet and forward the user ID to a database server Sc
within a pri | | |