Distributed group key management scheme for secure many-to-many communication6240188Abstract A group key management system and method for providing secure many-to-many communication is presented. The system employs a binary distribution tree structure. The binary tree includes a first internal node having a first branch and a second branch depending therefrom. Each of the branches includes a first member assigned to a corresponding leaf node. The first member has a unique binary ID that is associated with the corresponding leaf node to which the first member is assigned. A first secret key of the first member is operable for encrypting data to be sent to other members. The first member is associated with a key association group that is comprised of other members. The other members have blinded keys. A blinded key derived from the first secret key of the first member is transmitted to the key association group. Wherein, the first member uses the blinded keys received from the key association group and the first secret key to calculate an unblinded key of the first internal node. The unblinded key is used for encrypting data that is communicated between members located on branches depending from the first internal node. Claims What is claimed is: Description BACKGROUND AND SUMMARY OF THE INVENTION
TABLE I
Find Neighbor Module
Find_Neighbor(X = b.sub.h b.sub.h-1... b.sub.1), X is a binary ID,
where b.sub.i for
1 < i < h, is a binary
digit
begin
X' = b.sub.h b.sub.h-1... b.sub.1
if(leaf_node(X') == "true")
return X';
else if (internal_node(X') == "true")
do
X' = X'0;
while (leaf_node(X') == "false");
return X'
end
Notes:
1. leaf_node(X) returns true if X is a leaf node of the key distribution
tree; false otherwise.
2. internal_node(X) returns true if X is an internal node of the key
distribution tree; false otherwise.
With reference to FIGS. 1 and 2, following the Find_neighbor algorithm; H(1 1 1 0)'s neighbor is I(1 1 1 1), and G(1 1 0)'s neighbor is H(1 1 1 0). Neighbors with IDs 24 of same length (H and I in FIG. 2) are referred to as immediate neighbors and they exchange blinded versions 30 of their secret keys 28 with each other. If a pair of neighbors have different ID lengths (G and H in FIG. 2), the member with the smaller ID size, sends the blinded version 30 of its secret key 28 and receives the blinded key 30 of the corresponding internal node of same ID length from the member with the larger ID length (G receives k'.sub.111 from H). Using the new keys that are received, the members 22 compute their parent's secret key 28. A mixing function (typically an XOR function) 34 is used to compute internal node keys. For example in FIG. 2, C and D apply the mixing function, m, 34 to the blinded keys k'.sub.010 and k'.sub.011 to compute the internal node key k.sub.01. Blinded keys 30 are exchanged between members of a key association group 22a in the system 20. Key associations are designed to delegate the task of key distribution evenly among all the members 22. Each member 22 needs as many blinded keys 30 as the length of its ID 24, to compute the root key. Each blinded key 30 is supplied by a different member of its key association group 22a. For each bit position in a member's ID, there exists a member 22 that supplies the corresponding blinded key. The following module, Find_Key_Association 33, returns the ID 24 of the member 22 and the secret key 28 it supplies, corresponding to a given bit position in a member's ID.
TABLE II
Find Key Association Group Module
Find_Key_Association(X = b.sub.h b.sub.h-1... b.sub.1, i)
begin
Xi = b.sub.h b.sub.h-1. . . b.sub.i+1 b.sub.i b.sub.i-1 . .
. b.sub.2 b.sub.1 ;
if (leaf_node(X.sub.i) == "true")
return (X.sub.i, k'.sub.i);
ki = k.sub.b.sub..sub.h .sub.b.sub..sub.h-1
.sub....b.sub..sub.i+1 .sub.b.sub..sub.i
else if(internal_node(X.sub.i) =="true")
do
X.sub.i = X.sub.i 0;
while (leaf_node(X.sub.i) == "false");
return(Xi, k'.sub.i);
else
do
Xi = right_shift(X.sub.i,1));
while (leaf_node(X.sub.i) == "false");
return (X.sub.i, k'.sub.i);
end
Notes:
1. leaf_node(X) returns true if X is a leaf node of the key distribution
tree; false otherwise.
2. internal.sub.--node(X) returns true if X is an internal node of the key
distribution tree; false otherwise.
3. right_shift (X, i), takes a binary ID X = b.sub.h b.sub.h-1 . . .
b.sub.2, b.sub.1 and a number, i, as its inputs and right shifts X for i
time(s). The output will bc b.sub.h b.sub.h-1 . . . b.sub.i+1.
Referring to FIGS. 1, 2 and 5, the key association module 33 applied to H(1110) 40 is illustrated. At step 60, a binary ID 24 corresponding to a node is loaded. The bit positions are then complemented, step 62. Here, we complement the corresponding bit positions 1, 2, 3, 4, and get I(1111) 42, 1100, 1010, 0110. At step 64, if the node is a leaf node, the blinded keys corresponding to the members of the key association group are obtained, step 70. Otherwise if the node is not a leaf node, then at step 66, whether the node is an internal node is determined. Since here, nodes with the last three IDs do not exist, we right-shift them by one bit position to get G(110) 44, F(101) 46, and D(011) 48 as the rest of the members in H's 40 key association group 22a, steps 66 and 68. Finally at step 70, I 42, G 44, F 46, and D 48 supply the keys k'.sub.111, k'.sub.110, k'.sub.10, k'.sub.0 respectively, to H 40. Referring to FIGS. 1 and 6, illustrated is the root key computation process for C(010) 50. At step 72, C 50 generates the key k.sub.010 and sends its blinded version k'.sub.010 (computed using the given one-way function 32, steps 74 and 76) to D(011) 48. Similarly, D 48 sends k'.sub.011 to C 50. Both C and D can then individually compute k.sub.01 by applying the given mixing fiction 34 to k'.sub.010 and k'.sub.011. Next, C 50 sends k'.sub.01 to A(000) 52 and receives k'.sub.00 in return, step 78. After the key exchange, both A 52 and C 50 can compute k.sub.0. After this step, C 50 and G 44 exchange k'.sub.0 and k'.sub.1 with each other. The root key is computed as a function of k'.sub.0 and k'.sub.1, step 80. Following similar steps, each member 22 of the multicast group acquires or computes k.sub.0 .sub.and k'.sub.1 and then computes the root key. All keys are encrypted with the recipient's public key before transmission. Note that C 50 receives only the blinded keys of the siblings of the nodes in its path to the root 54. Using those keys, it can compute the unblinded keys of the nodes in its path to the root 54. C 50 encrypts a message with the root key that has been computed, step 82. The encrypted message is multicast by C 50 to members 22 of the communications system 20, step 84. Neighbor-of Set Definition Each member, X, 22 also maintains a neighbor-of set, N.sub.x, which consists of all members for which X is the neighbor. In our example, N.sub.H consists of both G 44 and I 42. Each member 22 monitors the members in its neighbor-of set and initiates ID update and key-update processes when a neighbor leaves. The elements of neighbor-of sets may change during joins or leaves and the join and leave protocols provide information to members to update these sets as well. In the system 20, after a join or leave occurs, during the rekeying process all members 22 recognize the group membership change. Each member 22 is responsible for updating its neighbor-of set using the joining or leaving host's ID 24. Join Protocol Procedure #1 A prospective member may join at any node of the key distribution tree 26. However, to enhance efficiency it is desirable to control at which node a prospective ember joins in order to keep the key tree balanced. The system 20 locally balances the tree 26 by choosing members 22 in the tree that are within an administratively or Time-to-Live (TTL) scoped area. An example of an administratively scoped area includes limiting a message to a controllably expanded area such as a 5 person LAN, to a department LAN, to a division LAN, to a corporate WAN. An example of a TTL scoped area includes limiting the number of router hops a message may travel. The prospective members join at a local member of the multicast group with the smallest ID length within the scoped area. Undesirable alternative approaches require one or more entities to keep a snap shot of the key distribution tree 26. For example, to keep track of all members 22 of the group and their positions in the key tree 26, either member status report messages are broadcast to the whole group or a centralized entity that keeps track of all joins and leaves. The first alternative creates excessive network traffic and the second has a single point of failure. Referring to FIGS. 1, 3 and 7, J 56 is a new member which joins at C 50, step 86. Upon verifying J's credentials, C splits its ID 010 (shown in FIG. 3), keeps 0100 for itself and assigns 0101 to J 56, step 88. C 50a also changes its secret key 28 and sends the blinded version of its new key to J 56. J 56 generates a secret key 28 of its own and transmits the blinded version to C 50a, steps 90, 92, and 94. Note that all keys corresponding to the internal nodes in the path to the root 54 from J 56, change due to the join. J 56 needs all the unblinded keys of the nodes shown in black and the blinded keys of the nodes show in gray, in FIG. 3. Notice that none of the blinded keys known to C 50a have changed and thus it can compute all the new keys corresponding to nodes 010, 01 and 0 and the root key once it receives k'j, step 96. Now J 56 needs the blinded keys corresponding to 011, 00 and 1. Using the Find_Key_Association() module 33 presented earlier, it determines that nodes with IDs 011(D), 000(A) and 110(G) are the members of its key association group, step 98. Note that these nodes and their neighbors also need the blinded keys that J 56 knows or can compute. To elaborate, J 56 sends k'.sub.010 to D 48 and receives k'.sub.011 from D 48. It then computes k'.sub.01, sends it to A 52, and receives k'.sub.00 in return, step 100. A 52 is also required to locally multicast k'.sub.01 encrypted with k.sub.00, which can only be decrypted by A 52 and B 58. J 56 can now compute k'.sub.0 which it sends to G 44, receives k'.sub.1 in return and computes the root key for itself, step 102. G 44 multicasts k'.sub.0 encrypted with k.sub.1, to be decrypted by E 60, F 46, H 40, and I 42 only. After the above key exchanges all authorized members will have the keys they need to compute the new root key. In all, there will be O(log n) unicast messages and O(log n) subgroup multicast messages during a join. Note that the multicast messages will be limited to a TTL-scoped or administratively scoped region, since they only need to be sent to selected subgroups within the multicast group. We generalize the join process in the following Join() module 62. It takes the new member and an existing member's ID 24 as arguments. In the module, k' indicates the key sent by M to X.
TABLE III
Join Module
Join(X, Y = b.sub.h b.sub.h-1 . . . b.sub.1)/* Y is the existing
member */
begin
Y = b.sub.h b.sub.h-1. . . b.sub.1 0;
X = b.sub.h b.sub.h-1. . . b.sub.1 0;
k.sub.x = generate_new_key();
i = 1;
while (i .ltoreq. length(X))
begin
(M, k') = Find_Key_Association(X, i);
outgoing_key = k'.sub.right.sub..sub.-- .sub.shift(x,i-1) ;
send_key_from_to(outgoing_key, X, M);
scoped_secure_multicast(outgoing_key, M, k);
send_key_from_to(k', M, X);
i = i + 1;
k.sub.right.sub..sub.-- .sub.shift(x,i-1) = m(outgoing_key,
k');
end
Notes:
1. generate_new_key () returns a new secret key.
2. right_shift (X, i), takes a binary ID X = b.sub.b b.sub.h-1 . . .
b.sub.2, b.sub.1 and a number, i, as its inputs and right shifts X for i
time(s). The output will bc b.sub.h b.sub.h-1 . . . b.sub.i+1.
3. send_key_to (key, X, Y) indicates that X sends "key" to Y.
4. scoped_secure_multicast (key1, X, key2) indicates that X encrypts key1
with key2, and locally multicasts it.
5. length(X) returns the number of bits in the binary ID X.
6. m() is the mixing function, where k.sub.bhbh-1...bi+1 =
m(k'.sub.bhbh-1...bi+bi, k'.sub.bhbh-1...bi+1bi)
Join Protocol Procedure #2 In another procedure for joining the multicast group, a new member sends a scoped multicast message to members of the multicast group it wants to join. The message consists of the new member's authentication information as well as its unicast (example: IP) address. Referring to FIGS. 3 and 7, C 50 responds to J's 56 request to join, step 86. Upon verifying J's credentials, C splits its ID 010 (shown in FIG. 1), keeps 0100 for itself and assigns 0101 to J 56, step 88. Next, C 50 changes its secret key and sends the blinded version of its new key as well as all the blinded keys it knows (shown in gray in FIG. 3) to J 56. It also sends its unicast address to J 56, since it is J's neighbor, step 104. J 56 generates a secret key of its own and transmits (unicasts) the blinded version to C 50a, step 106. Note that all keys corresponding to the internal nodes (shown in black in FIG. 3) in the path to the root 54 from J 56, change due to the join. Notice that both C 50a and J 56 can compute all the new keys viz., k.sub.010, k.sub.01 and k.sub.0 and the root key, step 108. The children of the internal nodes 011, 00 and 1 need the blinded keys k'.sub.010, k'.sub.01, and k'.sub.0. C 50a is responsible for sending them and it uses the keys k'.sub.011, k'.sub.00, and k'.sub.1 respectively, to encrypt them and sends the encrypted keys via multicast, step 110. Notice that: C, J and D can decrypt k'.sub.010, A, B, C, J and D can decrypt k'.sub.01 and A, B, . . . , and I can retrieve k'.sub.0. All the above key possessions conform to the key distribution rule that all members know the unblinded keys in their path to root 54 and the blinded keys of the siblings of the nodes in their path to root 54. After the above key exchanges all authorized members will have the keys they need to compute the new root key. In all, there will be a single unicast message consisting of O(log n) keys and O(log n) multicast messages consisting of one key each. Notice that members need to know the unicast addresses of the members in their neighbor-of set. All other keys are sent using the group multicast address. This property contributes to the distributed nature of the protocol. Also, our protocol does not require members to keep ID to unicast address translation tables for all members. Synchronized Joins Internal node keys may be updated in several ways. The simplest is to compute an internal node key whenever any one of its children's keys change. However, in the presence of multiple simultaneous joins the simple approach may not work. More precisely, members in different parts of the tree 26 may have different versions of an internal node key, which would thereby render the group inoperable. A method for synchronizing simultaneous joins is therefore desirable. The first method, a version maintenance approach, for synchronizing simultaneous joins calls for maintaining the version number of all internal node keys. If a member receives two versions of the same key through multicast, it uses the mixing (XOR) function 34 to combine both keys. If more than two versions of the same key are received, the mixing function 34 is applied multiple times to get the new key. Since the XOR function is associative, all members will have computed the same key. A disadvantage of the version maintenance approach is that each key will be associated with some overhead. An alternative method for synchronizing simultaneous joins calls for using the mixing function 34 to update the internal node keys on all occasions. In other words, new internal node keys are always obtained by applying the mixing function 34 on the old key and the new key received or computed. The second method is more efficient with respect to storage and the first requires less processing time to compute internal node keys. B. Leave Protocol When a member 22 leaves, its neighbor initiates the rekeying process. If the neighbor is the departing member's sibling, it assumes its parent's position in the key distribution tree. Otherwise it notifies the descendants of the departing member's sibling to change their IDs. In either case, the neighbor changes its secret key 28 and initiates the rekeying process. It sends the new keys to the members of its key association group and they are responsible for propagating the new keys to the appropriate members in their subgroups. In the rest of this section, we describe the ID update process followed by the rekeying process. X is the departing node and Y (=Neighbor(X)) is its neighbor, step 112. If Y has the same ID length as X, Y right shifts its ID by one bit position to get its new ID. If Y's ID is longer than that of X, X's sibling and its descendants change their IDs as follows. Notice that each descendant Z of X's sibling shares a key with X. If Z=b.sub.h b.sub.h-1 . . . b.sub.i+1 b.sub.i b.sub.i-1 . . . b.sub.2 b.sub.1, then Z's ID after the departure would be b.sub.h b.sub.h-1 . . . b.sub.i+1 b.sub.i-1. . . b.sub.2 b.sub.1, where i is the difference in the length of Z's and X's IDs plus one, step 114. In both cases, Y generates the new secret key and initiates the rekeying, step 116. In FIG. 4, if E leaves, F gets the ID 10 and generates a new secret key; if G leaves, H and I get the IDs 110, 111 respectively and H generates the new secret key. Referring to FIGS. 1 and 4, C 50 leaves the multicast group. J 56 notices the departure and changes its ID from 0101 to 010, and generates a new secret key 28 for itself. Consequently, internal node keys on J's path to the root 54 change and J 56 is responsible for initiating key exchanges with its counterparts, 011(D), 000(A) and 110(G) as defined earlier in this section. J 56 sends the blinded key k'.sub.010 to D 48. Both J 56 and D 48 can now compute k.sub.01. J 56 then sends k'.sub.01, to A 52, which is responsible for sharing it with all members who have k.sub.00. Finally, J 56 sends k'.sub.0 to G 44, which in turn sends k'.sub.0 to all the members that have k.sub.1. Notice that J 56 does not need any keys in return from D 48, A 52, or G 44, step 118; It already has the blinded keys it needs to compute the root key, step 120. While the departing member C 50 knows all those blinded keys as well, it does not know any unblinded keys it needs and thus cannot compute or acquire the root key. A departure results in O(log n) multicast messages, each message carrying one encrypted secret key. In the following, we provide a generalization of the rekeying process after a member departs from the group.
TABLE IV
Leave Module
Leave(X)
begin
Y = Find_Neighbor(X);
for each Z in {descendants(sibling(X))} U {Y}
Z = delete_i.sup.th _bit(Z, length(Z)-length(X)+1);
k.sub.y = generate _new_key0;
compute_internal_node_keys(Y);
i = 1;
while (i .ltoreq. length(Y))
begin
(M, k') = Find_Key_Association(Y, i);
outgoing_key = k'.sub.right.sub..sub.-- .sub.shift(Y,i-1) ;
right-shift(y,i-1)
send_key_from_to(outgoing_key, Y, M);
scoped_secure_multicast(outgoing_key, M, k); /* M already
has k */,
i = i + 1;
end
end
Notes:
descendants(X) returns the members of the multicast group that are
descendants of
If X = b.sub.h b.sub.h-1 . . . b.sub.2 b.sub.1, sibling(X) = b.sub.h
b.sub.h-1 . . . b.sub.2 y.sub.1 X.
delete_i.sup.th_bit (X, i), takes a binary ID and an integer as its inputs
and returns X with its bit position i deleted. For example if X = b.sub.h
b.sub.h-1 . . . b.sub.i+1 b.sub.i b.sub.i-1. . . b.sub.2 b.sub.1 , the
function returns bz.sub.h b.sub.h-1 . . . b.sub.i+1 b.sub.i-1 . . .
b.sub.2 b.sub.1.
generate_new_key () returns a new secret key.
compute_internal_node_keys (Y) indicates that Y locally computes all
internal node keys and their blinded counterparts.
right_shift (X, i), takes a binary ID X = b.sub.b b.sub.h-1 . . . b.sub.2,
b.sub.1 and a number, i, as its inputs and right shifts X for i time(s).
The output will bc b.sub.h b.sub.h-1 . . . b.sub.i+1.
send_key.sub.--from_to (key, X, Y) indicates that X sends "key" to Y.
scoped_secure_multicast (key1, X, key2) indicates that X encrypts key1 with
key2, and locally multicasts it.
length(X) returns the number of bits in the binary ID X.
m() is the mixing function.
Secure Data Communication All members in the multicast group can compute the root key with the given keys. A member with data to send, encrypts the data with the root key and sends it via traditional multicast channels (e.g.: MBONE). Other members can decrypt the data without any further key exchanges. The protocol also allows secure subgroup communication. A sender may send secret data to a subgroup of members by encrypting the key it shares with the subgroup. Group Merge It is possible to efficiently merge independent communication systems structured in accordance with the principles of the invention to form a single many-to-many multicast group. To merge two groups that are of approximately equal size, we compute a new common group key by applying the mixing function 34 to the existing root keys. Members with IDs 1.sup.+ (example: 1, 11, 111 etc.)or IDs 0.sup.+ (example: 0, 00, 000 etc.) may act as default representatives of a group and initiate the group merge. If one of the groups is substantially shallower than the other group, the shallower group joins at the shallowest point of the deeper tree. Such a group join is similar to a join and the member 22 with ID 0.sup.+ (or 1.sup.+) changes its secret key and initiates the rekeying. Network Partitions and the Group Leave Operation Neighbors may notice network partitions by following a repeated discovery process. For example, when a members neighbor does not send a heartbeat message, the corresponding member 22 may assume that the neighbor is not available or the member may initiate a discovery process to see whether others in the subgroup are available. Subgroup multicast addresses may be used for this discovery process. Note that members of each subtree in the key tree can communicate within themselves using the blinded key of the internal node they have in common. Thus, in case of network partitions, it is possible for all connected subgroups to communicate within themselves. Balancing the Key Tree The key tree should be balanced for efficient secret key distribution. The use of smart join algorithms prevents the formation of an unbalanced tree. The join protocol calls for prospective members to join at an existing sender that has the smallest ID length. However, since requests for joins are sent to senders in a scoped (local) area, we may not have a globally balanced tree. Also, a series of leaves may result in an unbalanced tree. It is possible to re-balance the tree by forcing a group leave and group merge operation. Using smart selection of a location for group merge, we may reconstruct a balanced tree. Few-to-many Secure Group Communication An alternative embodiment of the invention provides secure few-to-many group communication. A class of multicasting applications have a small set of members, the senders, sending the data and the others, the receivers, receiving the data. All of the senders are also receivers. Panel discussions multicast over the Internet, online corporate meetings where branch managers discuss strategy while other employees listen in are examples of few to many group communication. Some of the applications discussed above also require secrecy of data for acceptable use. In designing a trust model, it is apparent since the senders own the data, they must have control over the multicast group. In our context, control consists of group access control, secret key distribution etc. It is desirable that the senders have equal control, are trusted equally, and also bear an equal share of the protocol processing overhead. Subgroups Referring to FIG. 9, a few-to-many communication system 122 adhering to the principles of the present invention is illustrated. The senders belong to a senders subgroup 124 sharing a common group key (Root Key.sub.0) and employing the principles of the invention. Rekeying during joins and leaves is identical to that of the embodiment for many-to-many communication. The receivers form n receivers subgroups 126; members of a receivers subgroup 126 share a common group key (Root Key.sub.I, 1.ltoreq.I.ltoreq.n) among themselves and also employ the principles of the invention. Using the corresponding root key each subgroup member 22 can communicate with other members of the same subgroup. Each subgroup of receivers has at least one sender as a member 22b as shown in FIG. 9. In other words some senders belong to two subgroups, the group of the senders and one of the groups of the receivers. The sender 22b that is part of a receivers' subgroup is responsible for group control of that subgroup. Note that group management overhead however is distributed among all the members of the receivers' subgroup, following the principles of the invention. Few-to-many Group Formation A few-to-many group may form in a number of different ways. For example, the senders first form the senders subgroup 124. Some of the senders may then begin to accept requests for membership from the receivers and form receivers' subgroups 126. Our protocol also allows for limited data transmission by some of the receivers. When a receiver wants to send data, it contacts the sender that controls the subgroup it belongs to. If the sender approves the data transmission by the receiver, it forwards it to all the members of the few-to-many group 122. Alternatively, receivers subgroups 126 may be formed first and then leaders from the subgroups form the senders' subgroup 124 to initiate few-to-many communication. Corporate meetings are examples of such few-to-many groups. For example if ABC corporation has several branches M, N, . . . , Z, each branch location first forms the receivers subgroups 126. Managers (leaders) from each group then form the senders subgroup 124 and start few-to-many group communication. Secure Communication Each sender generates a session key and sends data encrypted with it to the few-to-many group. It then forwards the session key encrypted with Root Key.sub.0 to the senders' subgroup 124. Each sender 22b that is member of a receivers' subgroup 126 decrypts the session key, encrypts it with the receivers' subgroup key and forwards it. In FIG. 9, S.sub.1 decrypts the session key using Root Key.sub.0 and encrypts it using Root Ke.sub.1. The use of a randomly generated session key for data transmission ensures that the receivers cannot send data. Alternatively, it is possible to use the senders' subgroup key, Root Key.sub.0 for data transmission. In that case, multicast routers need to filter any data sent by the receivers. While the invention has been described in its presently preferred embodiment, it will be understood that the invention is capable of modification or adaptation without departing from the spirit of the invention as set forth in the appended claims.
|
Same subclass Same class Consider this |
||||||||||
