Title of Invention: Key distribution across networks
Abstract: 
Systems and methods are provided for managing and distributing keys between routers using protocol exchange messages between routers as key distribution vehicles. According to one embodiment of the invention, a router of an autonomous system uses its private key to send cryptographic information associated with another router to a peer router as part of its protocol exchange messages. The peer router is able to extract the cryptographic information and store it in a look-up table. Such protocol exchange messages may occur as part of an Interior Gateway Protocol or an Exterior Gateway Protocol. According to another embodiment of the invention, a chain authentication system is created as boundary routers of autonomous systems having a trust relationship share cryptographic information for other autonomous systems as part of protocol exchange messages for the exterior gateway protocol. 

Summary of Invention: 

FIELD OF THE INVENTION 
&lsqb;0001&rsqb; This invention relates generally to telecommunications networks. More particularly, the invention concerns systems and methods for distributing cryptographic keys across networks. 


BACKGROUND OF THE INVENTION 
&lsqb;0002&rsqb; Network routers typically forward data packets based on the destination address of the packet. Routers determine the next hop for forwarding each packet based on routing look-up tables determined by routing protocols. Routers controlled by the same administrative authority are part of an autonomous system (AS) and thereby share common routing strategies, policies and protocols. Interior Gateway Protocols (IGPs) are routing protocols used within an AS to provide local routing information to local routers. This information is communicated in various messages between routers and is used to update the look-up tables. Examples of IGPs include Routing Information Protocols (RIP), the Open Shortest Path First protocol (OSPF), and Intermediate System-to-Intermediate System Routing Protocol (IS-IS). 
&lsqb;0003&rsqb; Exterior Gateway Protocols (EGP) are routing protocols that are used for exchanging information about routes between AS's and boundary routers. One type of EGP is the protocol commonly found on the backbone of the Internet known as the Border Gateway Protocol (BGP). Boundary routers using BGP typically communicate with other routers using UPDATE messages. BGP uses the TCP/IP protocol for communications between routers and includes a number of security features for these communications. For example, it includes incorporating digital signatures for communications between boundary routers. 
&lsqb;0004&rsqb; Conventional systems for using these security features are often inefficient, which can discourage their widespread use. For example, in the context of a Public Key Infrastructure (PKI), secure routing using PKI may involve repeated communications with trusted third parties for key transfer or require multiple encryption/decryption steps. These additional steps are generally inefficient for high speed routing within the Internet. Another example is use of the Host Identity Protocol (HIP). As with PKI, HIP has not been put into widespread practice for Internet routing due to associated changes required in the Internet infrastructure. 
&lsqb;0005&rsqb; Other conventional mechanisms for providing security features in the Internet include the Internet Engineering Task Force (IETF) Internet Key Exchange (IKE) protocol and the Internet Protocol Security protocol (IPSec). IPSec permits two endpoints to negotiate and establish a security association (SA) between each other to permit secure transmissions, such as via tunneling. The deployment and adoption of IPSec, however, is slow and requires lots of processing elements. Further, with IPSec, users cannot validate certificates and they are not sure whether they are communicating with the actual desired endpoint. IKE is used in conjunction with IPSec for key establishment and management; however, it is complicated and has numerous options that make it difficult to use for normal operation. 
&lsqb;0006&rsqb; Without such systems, however, security vulnerabilities for packets traveling through the Internet are frequently exploited. For example, denial of service attacks, worms, and viruses exploit various weaknesses in the Internet infrastructure. Thus, a need exists for efficient mechanisms for managing and distributing keys among network components using existing infrastructure. 


SUMMARY OF THE INVENTION 
&lsqb;0007&rsqb; In order to overcome the above-described problems and other problems that will become apparent when reading this specification, the present invention provides efficient systems and methods for managing and distributing keys between routers and other network components using existing Internet infrastructure. In particular, systems and methods of the present invention may use protocol exchange messages between routers as a vehicle to securely distribute and manage public keys or certificates between AS's and within AS's. Such methods provide efficient, secure, and scalable systems for distributing keys among peers that do not require significant changes to the Internet infrastructure. Further, such methods and systems avoid common security problems, such as key revocation difficulties. 
&lsqb;0008&rsqb; According to one embodiment of the invention, a router of an autonomous system uses its private key to send cryptographic information associated with another router to a peer router as part of its protocol exchange messages. The peer router is able to extract the cryptographic information and store it in a look-up table. Such protocol exchange messages may occur in accordance with an IGP or an EGP. According to another embodiment of the invention, a secure communication system referred to herein as a “chain authentication system” is created as boundary routers of a first set of AS's having an established trust relationship share with each other, using protocol exchange messages, security information they each have for communicating with other AS's. Thus, the secure communication system grows beyond the first set of AS's in a chained fashion. 
&lsqb;0009&rsqb; In other embodiments of the invention, computer-executable instructions for implementing the disclosed methods are stored on computer-readable media. Other features and advantages of the invention will become apparent with reference to the following detailed description and figures.


Detailed Description: 

DETAILED DESCRIPTION OF THE INVENTION 
&lsqb;0015&rsqb; The invention may be embodied in various forms. Referring now to FIG. 1, an example network architecture 10 is shown that supports systems and methods in accordance with embodiments of the invention. The architecture generally includes interconnected autonomous systems AS1 12, AS2 14, AS3 16, AS4 18 and AS5 20. Autonomous systems (AS's) as used herein generally refer to a group of routers controlled by the same administrative authority and that share common routing strategies and protocols. Architecture 10 is a simple example architecture that does not differentiate between hosts and routers, packet switches and terminals, subnets and links, etc. Each router is identified by its address, which is simply represented here as IGP-xx or BGP-xx. In the present example, links are symmetric; however, they are not required to be symmetric. 
&lsqb;0016&rsqb; As shown, AS1 and AS2 are stub AS's (i.e. connected to only one other AS), and AS3, AS4 and AS5 are transit AS's (connected to more than one AS and may be used as a conduit for traffic between other AS's). Further, AS3 is operated by Internet Service Provider (ISP) 1, AS4 is operated by ISP 2, and AS5 is operated by ISP 3. Each AS runs its own Interior Gateway Protocol (IGP) between its interior routers. Interior routers within each AS run only their IGP, and boundary routers, which also communicate with external routers, run an Exterior Gateway Protocol (EGP) along with the IGP for their AS. For example, the following routers run only the respective IGP for their AS: IGP-11 22, IGP-21 24, IGP-31 26, IGP-32 28, IGP-41 30, IGP-42 32 and IGP-51 33. The following boundary routers run both the respective IGP for their AS and the appropriate EGP: BGP-11 34, BGP-21 36, BGP-31 38, BGP-32 40, BGP-41 42, BGP-42 43 and BGP-51 44. The boundary routers cooperate with their neighboring peers via the EGP and cooperate with routers within the same AS via their IGP. 
&lsqb;0017&rsqb; In general, routing protocols allow a router to gain information about routes and other routers. They do this by exchanging messages with other routers and updating their routing lookup tables based on information received in the messages and based on various algorithms. Examples of IGPs include the Routing Information Protocol (RIP), the Open Shortest Path First protocol (OSPF), and Intermediate System-to-Intermediate System Routing Protocol (IS-IS). One type of EGP is the protocol commonly found on the backbone of the Internet known as the Border Gateway Protocol (BGP). BGP uses the TCP/IP protocol for communications between routers and includes a number of security features for these communications. For example, it may incorporate digital signatures for communications between boundary routers. A version of BGP known as iBGP may be used for exchanging BGP information within a transit AS, such as AS3, to each of the boundary routers within the AS (e.g. BGP-31 and BGP-32). Hence, a packet arriving at BGP-31 destined for AS5 may be transmitted across the network to boundary router BGP-32 using iBGP tables, metrics and policies. 
&lsqb;0018&rsqb; AS1, AS2 and AS 4 of architecture 10 have a peering relationship with AS3. As such, the boundary routers of AS1, AS2 and AS4 may send protocol exchange messages to respective boundary routers of AS3 that include routing information. Similarly, routers within the same AS also have peering relationships with each other and exchange messages that include intra-AS routing information. For example, AS1 boundary router BGP-11 sends and receives protocol exchange messages, such as BGP UPDATE messages, to and from BGP-31. Also, IGP-11 broadcasts protocol exchange messages to BGP-11. 
&lsqb;0019&rsqb; According to one embodiment of the invention, protocol exchange messages may act as vehicles for managing cryptographic information, such as certificates and keys, for respective AS's. For example, using an asymmetric public-key cryptography scheme, public keys for routers of particular AS's may be securely transferred using protocol exchange messages. Thus, each AS may learn about public keys for other AS's via trusted communications occurring as part of the protocol exchange messages. As the public key information is shared among trusted AS's, a secure authentication and communication system is expanded in a chain-like fashion. Thus, a chained authentication system is created through which packets may be securely and efficiently routed. The extent of the chained authentication system (e.g. number of AS's involved) may be limited according to policies established between the AS's (e.g. as part of service level agreements). 
&lsqb;0020&rsqb; A chained authentication system according to the present invention may provide many benefits. It can take advantage of existing routing infrastructures to securely distribute public keys among trusted AS's. Due to self-stabilization properties inherent in routing protocols (e.g. frequent periodic updates), key revocation is minimized as a problem with such a system. For example, routers repeatedly update each other with regard to routing information such as the state of links, routes and other routers using protocol exchange messages. If a link becomes unavailable, that information is quickly communicated to other routers. Likewise, if a key is revoked, such information may be quickly communicated to routers of a chained authentication system using protocol exchange messages. 
&lsqb;0021&rsqb; As a further benefit, such a system avoids reliance on external certificate authorities (CAs), which act as repositories of keys, and inefficiencies and security issues that may be related therewith. Methods for establishing a chained authentication system and aspects thereof according to the invention are discussed below with regard to FIG. 4. Once established, packets may be routed through a path including the chained authentication system, for example, from AS1 to AS5 (via AS3 and AS4), in a secure and efficient manner. 
&lsqb;0022&rsqb; As a general example illustrating secure transmissions through such a system, suppose that IGP-11 in AS1 is a home agent routing messages to and from a mobile node (MN) 46. Suppose also that a correspondent node (CN) 48 contains content being received by MN 46 and that router IGP-51 is forwarding messages to and from CN 48. Suppose further that MN 46 needs to register a care-of-address with CN 48 as part of a handover procedure known in the art of mobile communication devices. As such, a Binding Update (BU) message is generated at MN 46 and sent to CN 48. BGP-11 intercepts the BU message before it leaves AS1 and authenticates it. BGP-11 then forwards it to AS5 via AS3 and AS4. AS5 can use the public key of AS1 as provided through the chained authentication system of the present invention and thereby validate the source of the message. 
&lsqb;0023&rsqb; Referring now to FIG. 2, an example router 100 according to one embodiment of the invention is shown. The router 100 generally includes a processor 102 connected to memory 104 and a plurality of communication interfaces 106, 108, 110 and 112. Stored in the memory 104 of router 100 is routing software 114, routing look-up tables 116, 118, and public Key Infrastructure (PKI) software 120. Routing software 114 includes programs written in a computer language, such as the language known as C, for making routing decisions and forwarding packets. PKI software 120 includes programs for encrypting and decrypting messages using public/private keys. In one embodiment router 100 operates on a UNIX® operating system, such as systems known as Berkeley System Distribution UNIX (BSD), Free BSD, or embedded real time operating system. 
&lsqb;0024&rsqb; Referring now to FIG. 3, sample routing look-up tables 116, 118 are shown for router 100. Suppose that router 100 represents router BGP-32. As such, router 100 maintains a routing table 116 containing path reach-ability information (e.g. link states, costs, path vectors, etc.) related to border router BGP-41 that is updated according to the BGP. Additionally, router 100 maintains a routing table 118 containing path reach-ability information related to routers within AS3 that is updated according to an IGP such as RIP. Although shown as logically separate tables, a single table or database may alternatively be maintained containing relevant routing information. Entries within tables 116, 118 generally include path reach-ability information associated with other routers that are identified by the address of the particular router. 
&lsqb;0025&rsqb; According to one embodiment of the invention, public key information is also maintained in tables 116, 118 for each router. For example, a public key 117, 119 associated with each router is stored in tables 116, 118. Although shown here as public key information, other security information such as secret-keys (used with symmetric cryptography), certificate information and authentication information may be stored in the tables 116, 118. Embodiments of the present invention discussed herein generally include the use of asymmetric public-key cryptography (i.e. public/private key cryptography); however, it is understood that the present invention is applicable to other secure communications mechanisms, such as symmetric key cryptography. 
&lsqb;0026&rsqb; Referring now to FIG. 4 along with FIG. 1, a method 200 for creating a chained authentication system according to an embodiment of the invention is shown. Initially, a trust relationship is established 202 between a pair of adjacent AS's, such as a peering relationship between two Internet Service Providers (ISPs). Peering between ISPs generally refers to a relationship between adjacent ISPs where the ISPs have a service level agreement (SLA) in which they agree to peer with each other at certain locations (routers/AS's) and to exchange routing table information there between. A SLA may include information such as cost, traffic characteristics, and peering point(s) in the case of multi-homing (i.e. multiple connections to the Internet). 
&lsqb;0027&rsqb; Suppose as an example that ISP 1 operating AS3 and ISP 2 operating AS4 have entered into an SLA. As part of the agreement, they exchange 204 their public keys (or certificates) with each other. Such public key transfer could be, for example, via a manual transfer of the public keys on paper, on a CD-ROM or floppy disk, or via digital transfer from a third party such as a certificate authority storing the public key information in the form of a certificate. In any event, the ISP's establish trust relationships between two transit AS's, such as AS3 and AS4, and exchange cryptographic information, such as public keys. The cryptographic information may be added to the look-up tables of boundary routers in various ways, such as via manual entry, reading the cryptographic information from a computer-readable medium such as a CD-ROM, or transferred electronically. 
&lsqb;0028&rsqb; The public key information for each AS of the SLA is stored 206 in each boundary router BGP-31, BGP-32, BGP-41 and BGP-42. For example, routing tables 116, 118 in router 100 include public key information for router 100 (e.g. BGP-32), for routers within the same AS (e.g. IGP-31, IGP-32 and BGP-31), and for neighboring external routers (e.g. BGP-41). When boundary routers BGP-32 and BGP-41 are started, they begin exchanging protocol information as peers based on this information stored in their respective routing tables 116, 118. 
&lsqb;0029&rsqb; Suppose that ISP2 and ISP3 also enter a SLA agreement in which they exchange public keys for their respective AS's, AS4 and AS5. As such, they have a peering agreement and are able to maintain secure communications. With peering agreements and public key exchange between AS3 and AS4, as well as between AS4 and AS5, messages may securely travel between AS3 and AS5 via AS4. However, multiple encryption/de-encryption steps would be required because routers in AS5 do not have the public keys of routers in AS3. With a chained authentication system that includes AS3, AS4 and AS5, messages may securely travel between AS5 and AS3 via AS4 without multiple encryption/de-encryption steps. 
&lsqb;0030&rsqb; To set-up such a system, AS4 configures 208 its boundary routers, BGP-41 and BGP-42, with the public key for AS5. As part of protocol exchange messages between BGP-41 and BGP-32, BGP-41 encrypts 210 AS5's certificate containing its public key (or the public key itself) using AS3's public key and forwards it to BGP-32 of AS3. AS3 then decrypts 212 this message and extracts the public key for AS5. 
&lsqb;0031&rsqb; As AS1 and AS2 have peering relationships with AS3, the process of exchanging public key information occurs repeatedly as part of encrypted protocol exchange messages. Eventually, AS1, AS2, AS3, AS4 and AS5 will each have stored within their boundary routers the public keys for each of the other AS's. As such, a chained authentication system is created, in which, for example, MN 46 and CN 48 may securely communicate without encryption and decryption steps occurring between each AS or without requesting certificates from external certificate authorities. Further, each AS may notify its neighbor of changes to its public key(s), and the neighbor can update its neighbor as part of protocol exchange messages. Thus, the problem of key revocation is minimized. 
&lsqb;0032&rsqb; One of skill in the art recognizes that public keys and certificates may be populated within a particular AS in various ways. For example, a hash function may be used to authenticate the transfer this information within a particular AS. The hash function algorithm known as MD-5 may be used with IGPs like OSPF, RIP and IS-IS. In an alternative embodiment, the authentication mechanism known as SHA1 may be used. 
&lsqb;0033&rsqb; For routers that do not have SHA1 implementation, SHA1 may be used for intra-AS key exchanges with the bits for SHA1 being truncated and fed as a key using MD5, because SHA1 uses a 160-bit message authentication code (MAC) and MD5 produces a 128-bit output. 
&lsqb;0034&rsqb; In other embodiments within particular AS's, a policy server (not shown) may exist within each AS that acts as a local certificate authority. When a particular boundary router is started up, it can request updated certificate information from the policy server (not shown). Alternatively, other boundary routers may act as a certificate authority to update necessary certificate information for the AS. 
&lsqb;0035&rsqb; The use of interior keys for communications within each AS, combined with secure communications between AS's via the chained authentication system, provides an overall secure infrastructure. If desired, public keys for network elements within each AS may be kept hidden and only the public key for the AS, or for a respective boundary router, may be broadcast. For example, with regard to communications between MN 46 and CN 48, IGP-11 may encrypt the binding update (BU) message from MN 46 using its private key and send it to BGP-1. BGP-11 may decrypt it using IGP-11's public key and then encrypt it using AS1's private key or AS1 can perform proxy authentication. When it arrives at AS5, BGP-51 may decrypt it using the public key for AS1, and then encrypt it for transmission to IGP-51. 
&lsqb;0036&rsqb; Using such a key distribution system, signaling traffic generated between any two nodes on the Internet may be authenticated. As such, the path of a packet may be verified using public keys for AS's in the path. For instance, when a packet travels from one AS to another AS, the signaling traffic, such as binding updates, can be signed off at each AS border router with its private key. When the packet reaches the destination AS (e.g. AS5), it can recursively check the public keys of each AS in the packet to ensure the path. Accordingly, only public keys for each AS need to be shared in BGP protocol exchange messages. Yet, the combination of internal AS and external AS encryption mechanisms provides efficient communications with a high level of security. 
&lsqb;0037&rsqb; While the present invention has been described in connection with the illustrated embodiments, it will be appreciated and understood that modifications may be made without departing from the true spirit and scope of the invention. In particular, the invention applies to almost any type of network and to a variety of different routing protocols and cryptography systems. 



{'app_number': '10292484', 'application_number': None, 'doc_number': '20040091117', 'publication_number': None, 'source_file': './application/2004/pa040513.xml', 'source_data': 'USPTO-Application'}