1. Field of the Invention
The present invention relates generally to computer network security and, more particularly, methods of and systems for using device identity as an authentication factor.
2. Description of the Related Art
The importance of security in computer networking whose presence reaches into nearly every facet of life today cannot be over-stated. There is a generally recognized trade-off between security and user convenience. For example, if a user's password is easy to remember, it's easy to guess. Some systems require that users change passwords from one randomly generated string to another every few weeks, thereby enhancing system security at the expense of user convenience. Other systems allow users to choose extremely simple passwords and keep them forever, enhancing user convenience at the expense of system security.
Security systems are often described in terms of the number of factors used to authenticate a particular user. For example, a typical username and password system is a two-factor authentication system in that each user must provide two pieces of information about themselves for authentication. Generally speaking, authentication systems with more factors are more secure than those with fewer factors. However, each additional factor requires more involvement of the user such that each increment of added security exacts a cost of increment user inconvenience.
What is needed is a way to add a factor for user authentication without increasing user inconvenience.
In accordance with the present invention, device authentication is implemented at the application layer of a computer communication model to add a factor to user authentication without requiring any action by the user. User space applications, such as web browsers, e-mail readers, and such, can remain completely unaffected. Instead, the additional authentication factor is provided at the application layer, typically in an operating system, where protocols such as HTTP(s), FTP(s), POP, SMTP, SNMP, DNS and many others are implemented.
In a normal URL retrieval request in a web browser, application layer logic in the operating system formulates a series of protocol requests to effect the retrieval. Such retrieval can begin with an HTTP GET message, for example—though other protocols require different request messages.
When received by a server insisting upon client device authentication at the application layer, such a message generates a responsive message that indicates denial of the request due to inadequate authorization.
The client device, at the application layer responds with a message requesting authorization, providing authentication credentials.
To effect client device authentication beyond the authentication credentials, the server sends an authorization challenge message to the client, requesting one or more parts of a digital fingerprint of the client device. The client device responds with a challenge response message providing those parts of its digital fingerprint.
To determine whether the client device is authorized for the initial request, the server compares the parts of the digital fingerprint included in the challenge response message with a number of digital fingerprints stored in a predetermined client device whitelist. If a match is found, the client device is authorized. Otherwise, the client device is refused.
Digital fingerprints are complex and unusually difficult to spoof without direct access to the client device itself, unlike other authentication factors such as MAC addresses. In addition, the device authentication at the application layer does not affect user convenience at all while providing an addition factor for more reliable computer security.
Other systems, methods, features and advantages of the invention will be or will become apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims. Component parts shown in the drawings are not necessarily to scale, and may be exaggerated to better illustrate the important features of the invention. In the drawings, like reference numerals may designate like parts throughout the different views, wherein:
In accordance with the present invention, an identifier of a client device 102 (
To facilitate appreciation and understanding of the device-based authentication factor used in accordance with the present invention, abstraction layers of a computer communication model are briefly described. Each of the layers, as shown in
Physical layer 212 of client device 102 communicates with physical layer 232 of server 106, perhaps indirectly. At the physical layer, hardware of client device 102 (e.g., network access circuitry 312 described below in conjunction with
Physical layers 212 and 232 provide an abstraction of the sent and received signals as bits. For example, physical layer 212 receives bits from data-link layer 210 and sends those bits by physically moving electrons along the conductive wire(s). Similarly, physical layer 212 senses physical movement of electrons along the conductive wire(s) as moved by physical layer 232, or a physical layer of an intervening node, and reports the sensed movements as received bits.
Data-link layer 210 sends and receives data packets, translating into and from bits to send and receive, respectively, through physical layer 212. Data-link 230 is directly analogous to data-link layer 210. The abstraction of bits as data packets allows higher layers to act on individual messages. Data-link layer 210 also detects and processes errors in communication at the physical layer. For example, data-link layer 210 verifies packet checksums to verify that each packet is received accurately and can re-request packets in which checksum verification fails.
Internet layer 208 implements the addressing and routing structure between nodes and hosts attached to wide area network 104, which is the Internet in this illustrative embodiment. When a message from client device 102 is to be sent to server 106, Internet layer 208 creates one or more data packets that embody the message, including addressing that is designed to route the packets to server 106. Internet layer 208 implements the Internet Protocol (IP) portion of TCP/IP and UDP/IP. Internet layer 228 is directly analogous to Internet layer 208.
Transport layer 206 provides transparent transfer of data between client device 102 and other hosts such as server 106. Transport layer 206 processes end-to-end error recovery and flow control and ensures complete data transfer to higher layers. Examples of transport layers include the TCP portion of TCP/IP and the UDP portion of UDP/IP. Transport layer 226 is directly analogous to transport layer 206.
Application layer 204 organizes end-to-end communications links provided by transport layer 206 into a number of communication protocols. Examples include a number of file transport protocols such as HTTP and FTP; messaging protocols such as POP, IMAP, SMTP, and NNTP; and numerous other protocols. Application layer 224 is directly analogous to application layer 204, except that server-side implementations of some network protocols can be omitted from application layer 204 in some client devices.
All of the previously described layers of
User space application layer 202 includes various logic used directly by human users to perform actions as directed by the user. An example of logic implemented at user space application layer 202 is a web browser. As an example, consider that the user has entered a URL in the address field of a web browser and has clicked a GUI button to request that the web page at the URL be displayed in client device 102.
The web browser at user space application layer 202 requests retrieval of the resource identified by the URL (Uniform Resource Location) by application layer 204. The URL identifies the protocol by which the resource should be retrieved. For example, a URL beginning with “http:” indicates the HTTP protocol.
Application layer 204 implements commands such as HTTP GET by opening and managing connections through transport layer 206 (e.g., TCP connections) and Internet layer 208 (e.g., IP connections).
Data-link layer 210 translates the protocols of transport layer 206 and Internet layer 208 into data packets to be sent through physical layer 212.
Physical layer 232 senses physical movement of electrons and interprets the movements into bits and passes them to data-link layer 230. Data-link layer 230 translates the bits into data packets. Transport layer 226 and Internet layer 228 translates the data packets into data flows. Application layer 224 recognizes the data flows as a HTTP GET command including the URL entered by the user.
Application layer 224 forwards the HTTP GET command with the URL to user space application layer 222 that includes a web server. The web server of user space application layer 222 formulates a responsive message, including the resource identified by the URL (e.g., a web page), and the responsive message takes the return trip to user space application layer 202, and the web browser displays the requested web page.
In accordance with the present invention, the device identifier used for authentication is implemented at application layers 204 and 224.
A number of advantages are realized by this. Application layers 204 and 224 are in respective operating systems. Operating systems are exponentially more difficult for most computer users to modify than logic implemented at user space application layers 202 and 222. Accordingly, attempts to crack security measures by modification to an operating system is much more difficult than by modification to user space applications.
In addition, implementation at application layers 204 and 224 adds absolutely no burden on the user regarding authentication. The specific authentication process is described more completely below.
To facilitate appreciation and understanding of the transaction of transaction flow diagram 500 (
Client device 102 is a personal computing device of the user and is shown in greater detail in
CPU 302 and memory 304 are connected to one another through a conventional interconnect 306, which is a bus in this illustrative embodiment and which connects CPU 302 and memory 304 to one or more input devices 308, output devices 310, and network access circuitry 312. Input devices 308 can include, for example, a keyboard, a keypad, a touch-sensitive screen, a mouse, a microphone, and one or more cameras. Output devices 310 can include, for example, a display—such as a liquid crystal display (LCD)—and one or more loudspeakers. Network access circuitry 312 sends and receives data through computer networks such as wide area network 104 (
A number of components of customer device 102 are stored in memory 304. In particular, user space application 320 and operating system 324, including application-layer client protocol logic 326, are each all or part of one or more computer processes executing within CPU 302 from memory 304 in this illustrative embodiment but can also be implemented using digital logic circuitry. As used herein, “logic” refers to (i) logic implemented as computer instructions and/or data within one or more computer processes and/or (ii) logic implemented in electronic circuitry.
Digital fingerprint logic 321 is executable software stored in memory 304. When client device 102 is queried for its digital fingerprint, for example, when challenged by server 106 for an authorization 508 (
In general, digital fingerprint 322 comprises a bit string or bit array that includes or is derived from user-configurable and non-user-configurable data specific to client device 102. Non-user-configurable data includes data such as hardware component model numbers, serial numbers, and version numbers, and hardware component parameters such as processor speed, voltage, current, signaling, and clock specifications. User-configurable data includes data such as registry entries, application usage data, file list information, and MAC address. Generation of the digital fingerprint 322 includes a combination of operations on the data specific to client device 102, which combination may include sampling, concatenating, appending (for example, with a nonce value or a random number), obfuscating, and hashing, to achieve a desired degree of uniqueness. For example, the desired degree of uniqueness may be set to a practical level such as 99.999999% or higher, to achieve a probability of less than 1 in 100,000,000 that any two client devices will generate identical fingerprints.
In one embodiment, digital fingerprint 322 may be stored in volatile memory and erased after transmission of a challenge response. In another embodiment, digital fingerprint 322 may be stored in persistent memory and written over each time a new fingerprint is generated by fingerprint logic 321. In another embodiment, digital fingerprint logic 321 may be omitted from client device 102 and the digital fingerprint 322 may be stored in persistent memory (e.g. ROM).
Server 106 is shown in greater detail in
A number of components of server 106 are stored in memory 404. In particular, operating system 420, including application-layer server protocol logic 422, is all or part of one or more computer processes executing within CPU 402 from memory 404 in this illustrative embodiment but can also be implemented using digital logic circuitry. Client device whitelist 424 is data stored persistently in memory 404. In this illustrative embodiment, client device 424 are organized as one or more databases but can also be implemented as a simple flat file as part of the configuration of application-layer server protocol logic 422.
In accordance with the present invention, application-layer server protocol logic 422 requires that digital fingerprint 322 (
The interaction between application-layer client protocol logic 326 (
In step 502, application-layer client protocol logic 326 sends a request to application-layer server protocol logic 422. The request can be generally any request according to the protocol implemented by application-layer client protocol logic 326 and application-layer server protocol logic 422. For example, the request can be a HTTP/1.1 GET request by which application-layer client protocol logic 326 hopes to retrieve a web page for user space application 320 (
Examples include a number of file transport protocols such as HTTP(s) and FTP(s); messaging protocols such as POP, IMAP, SMTP, and NNTP(s); authentication protocols such as Kerberos, LDAP, MS-CHAP, MS-CHAPv2, NTLM, PEAP, RADIUS, and SRP, and numerous other protocols such as DNS, EAP, HIP, RPC, SIP, SSH, SNMP(v3), Telnet, TFTP and TLS. For wireless devices, the authentication process of the present invention could be applied to protocols such as Data Synchronization (DS), Device Management (DM), Digital Rights Management (DRM), Multimedia Messaging Service (MMS), Short Message Service (SMS).
Implementing the device-base authentication technique described herein to the DNS protocol could provide security across many protocols. For example, family-oriented and other new top-layer domains for domain names have been proposed. A domain name server can limit access to all domain names in a given branch of the domain name hierarchy, such as a family-friendly top-layer domain, to only client devices that have been reasonably thoroughly authenticated. As a result, people with nefarious intent and who could otherwise spoof authentication credentials would be unable to get IP addresses for any servers of any services in the family-friendly realm unless they could also get physical possession of a client device that is authorized for such DNS access. Such dramatically reduces the likelihood that nefarious actors could access such services. Similarly, access to other sites containing restricted subject matter (such as adult-only material, or material intended only for a special class) could be limited by domain name to client devices that have been pre-authorized using a device fingerprint.
At this point in the transaction of transaction flow diagram 500 (
In response to the denial of step 504, application-layer client protocol logic 326 sends an authorization request in step 506. The authorization request can include authentication credentials such as a username and associated password provided by the user of user space application 320 (
Even if the credentials of the authorization request of step 506 are confirmed as legitimate by application-layer server protocol logic 422, application-layer server protocol logic 422 is configured to require additional authentication, namely, that client device 102 is listed among the authorized devices of client device whitelist 424. Accordingly, application-layer server protocol logic 422 sends an authorization challenge message to application-layer client protocol logic 326 in step 506.
In some embodiments, the authorization challenge message of step 506 requests the entirety of digital fingerprint 322 of client device 102. In other embodiments, the size of authorization response messages (such as that returned in step 510 as described below), and therefore the amount of additional message traffic within wide area network 104 (
The authorization challenge message of step 506 also specifies a manner of representing a response to the challenge, including an encoding method (such as Base64, for example) and a digest format for obscuration of details of digital fingerprint 322. Many digest formats are known, including MD-5, SHA-1, SHA-128, SHA-256, and SHA-1024 for example.
In response to the authorization challenge message of step 506, application-layer client protocol logic 326 sends an authorization response message to application-layer server protocol logic 422 in step 510. Application-layer client protocol logic 326 gathers the portions of digital fingerprint 322 specified in the authorization challenge message of step 506 and packages the portions into a proper response message format, including forming a digest of the proper type and encoding in the specified manner.
In response to the authorization response message of step 510, application-layer server protocol logic 422 compares the encoded digest of the message to encoded digests of corresponding portions of all digital fingerprints represented in client device whitelist 424. Generally, for efficiency reasons, application-layer server protocol logic 422 will have already created and stored encoded digests corresponding to all digital fingerprints represented in client device whitelist 424 such that comparison is a very efficient direct text data comparison.
In some embodiments, full and complete matching of the challenged portions of digital fingerprint 322 with a digital fingerprint stored in client device whitelist 424. In particular, it is plausible that one or more hardware components of client device 102 have been replaced since a former digital fingerprint of client device 102 was added to client device whitelist 424. Application-layer server protocol logic 422 can be configured to consider a digital fingerprint that matches a digital fingerprint represented in client devices whitelist 424 by at least a predetermined threshold to be a matching digital fingerprint
Application-layer server protocol logic 422 can consider some elements of a digital fingerprint to be essential. For example, replacement of a processor in a smart phone is so rarely done, if ever, that a different electronic serial number of a smart phone's CPU indicates that it's a completely different smart phone. On the other hand, firmware is frequently upgraded on smart phones such that a different firmware revision number in digital fingerprint 322 does not necessarily indicate a different smart phone. Thus, for a smart phone, application-layer server protocol logic 422 can consider the electronic serial number of a smart phone to be a portion of digital fingerprint 322 that “must match” for a match to be determined and can consider a firmware revision number to be a portion that is an “optional match” portion such that a match can be determined despite a firmware revision mismatch with a digital fingerprint in client device whitelist 424.
In such an embodiment, application-layer server protocol logic 422 can determine that digital fingerprint 322 matches a digital fingerprint in client device whitelist 424 if all “must match” portions match and no more that a predetermined number of “optional match” portions mismatch.
If the encoded digest of the authorization response message of step 510 matches an encoded digest of any of client device whitelist 424, application-layer server protocol logic 422 grants authorization to application-layer client protocol logic 326 and reports the granting in step 512. In this illustrative example, the message of step 512 can be a HTTP 200 OK message. Conversely, if the encoded digest of the authorization response message of step 510 does not match any encoded digest of any of client device whitelist 424, application-layer server protocol logic 422 denies authorization to application-layer client protocol logic 326 and reports the denial in step 512. In this illustrative example, the message of step 512 can be another HTTP 401 Unauthorized message.
It should be appreciated that, while a client device whitelist in which authorized client devices are represented is described, a client device blacklist can also be used in which forbidden client devices are represented.
The above description is illustrative only and is not limiting. The present invention is defined solely by the claims which follow and their full range of equivalents. It is intended that the following appended claims be interpreted as including all such alterations, modifications, permutations, and substitute equivalents as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2011101295 | Oct 2011 | AU | national |
This application claims priority pursuant to 35 U.S.C. §119(e) to U.S. provisional 61/496,508, filed Jun. 13, 2011, which application is specifically incorporated herein, in its entirety, by reference.
Number | Date | Country | |
---|---|---|---|
61496508 | Jun 2011 | US |