RFC 2093
Group Key Management Protocol (GKMP) Specification
Group Key Management Protocol (GKMP) Specification ๐
Network Working Group ๐ RFC 2093 โจ Authors: H. Harney and C. Muckenhirn, from SPARTA, Inc. ๐ง Category: Experimental ๐งช Date: July 1997 ๐ Obsoletes / Updates: The header doesn't list anything this RFC obsoletes or updates, so there's nothing to report there ๐ซถ
Status of This Memo ๐
okay so this memo defines an Experimental Protocol for the Internet community ๐ฌ. It is not an Internet standard of any kind, so please don't treat it like one ๐. They're asking for discussion and suggestions for improvement, and distribution is unlimited ๐.
Table of Contents ๐๏ธ
1. Background..................................................... 1
2. Overview: GKMP Roles.......................................... 3
3. Data Item primitives........................................... 4
4. Message definitions............................................ 6
5. State definitions.............................................. 9
6. Functional Definitions--Group Key Management Protocol.......... 13
7. Security Considerations........................................ 23
8. Author's Address............................................... 23
Abstract โจ
bestie, this one is the whole pitch ๐ . The protocol creates grouped symmetric keys and distributes them to communicating peers ๐. Here's why it's iconic:
- It's virtually invisible to the operator ๐.
- No central key distribution site is needed ๐.
- Only group members have the key ๐.
- It works in sender oriented or receiver oriented operation ๐.
- It can make use of multicast communications protocols ๐ก.
1 Background ๐ฐ๏ธ
so traditional key management was basically copying the military's paper-based key accounting system ๐. Keys were physically distributed, ordered, and accounted for, which meant huge lead times and expensive operations ๐ฉ.
Then came cooperative key management algorithms, which let two pieces of equipment generate pairwise keys between themselves ๐ค. That's way quicker and more reliable, and it can support a large number of secure communications โจ. The catch? Right now these methods only support pairwise keys ๐ญ.
So this document describes a protocol for establishing and rekeying groups of cryptographic keys (more than two) on the Internet ๐. We call it the Group Key Management Protocol (GKMP) ๐.
1.1 Protocol Overview ๐ธ
the GKMP creates keys for cryptographic groups, distributes those keys to the group members, and uses peer to peer reviews to enforce rule based access control of keys ๐ก๏ธ. It also denies access to known compromised hosts and allows hierarchical control of group actions ๐.
The key generation concept is cooperative generation between two protocol entities ๐ค. Several key generation algorithms are viable for the GKMP, including RSA, Diffie-Hellman, and elliptic curves ๐งฎ. All of them use asymmetric key technology to pass information between two entities so they can create a single cryptographic key ๐๏ธ.
Then the GKMP distributes the group keys to qualified GKMP entities ๐. This is a mutually suspicious process, which means all actions and identities must be verified ๐ต๏ธโโ๏ธ. Very healthy boundaries, honestly ๐ .
The GKMP also has a peer to peer review process ๐. Protocol entities pass permission certificates (PC) as part of group key distribution ๐. A PC holds access control information about a particular site, and a higher authority assigns that information and signs the PC โ๏ธ. So each entity can verify the permissions of any other GKMP entity, but can't modify any of them ๐ โโ๏ธ. Each protocol entity compares the permissions against the level of service requested ๐. If the permissions don't exceed or equal the request, the service is denied ๐ซ.
The GKMP supports compromise recovery ๐ฉน. A Compromise Recovery List (CRL) of compromised GKMP entities gets distributed to group members during key management actions ๐ฃ. That lets group members drop connections with compromised entities, which is a whole main character move ๐ฌ. The GKMP delegates control of groups to specific group controllers, so it's easier to distribute the CRL to the most important GKMP entities ๐ฏ. During each key management action the CRL version number is passed along. When a CRL update is detected, it gets downloaded and verified, because it's signed by a higher authority ๐.
The GKMP also allows control of group actions ๐๏ธ. In some networks, a higher authority needs to strictly control how groups get generated, and those networks usually have a central network operations authority ๐ข. The GKMP lets that authority remotely order group actions ๐จ. Those orders are signed by the authority and verified by every entity involved with the group โ .
The GKMP is an application layer protocol and it doesn't depend on the underlying communication protocol ๐ง. But if multicast service is available, it speeds up rekeying of the cryptographic groups ๐. So the GKMP does use multicast services when they're available ๐ซ.
2 Overview: GKMP Roles ๐ญ
okay so creating and distributing group keys means assigning roles ๐งฉ. Roles identify what functions each host performs in the protocol. The two primary roles are key distributor and member ๐. The controller starts the creation of the key, forms the key distribution messages, and collects acknowledgments of key receipt from the receivers ๐ฌ. The members wait for a distribution message, then decrypt, validate, and acknowledge receipt of the new key ๐ฅฐ.
2.1 Group controller ๐
The group controller (GC) is the group member with the authority to perform critical protocol actions ๐. Those include creating key, distributing key, creating group rekey messages, and reporting on the progress of these actions ๐. Every group member has the capability to be a GC and could take on that duty once assigned ๐.
The GC helps the cryptographic group reach and maintain key synchronization ๐. A group has to operate on the same symmetric cryptographic key ๐๏ธ. If part of the group loses or inappropriately changes its key, it can't send or receive data with another host that's on the correct key ๐ฌ. So the operations that create or change keys need to be unambiguous and controlled ๐. It wouldn't make sense for multiple hosts to try rekeying a net at the same time ๐ โโ๏ธ. That's why someone has to be in charge, and that someone is the controller ๐ธ.
2.2 Group member ๐ซถ
Simply put, a group member is any group host that isn't acting as the controller ๐ท. Members assist the controller in creating key ๐งโ๐คโ๐ง. They validate the controller's authorization to perform actions โ . They accept key from the controller, request key from the controller, maintain local CRL lists, perform peer review of key management actions, and manage local key ๐๏ธ.
3 Data Item primitives ๐งฑ
3.1 Group members list: ๐
In a sender oriented group, the GC must be given a list of net members ๐. The controller then initiates contact with those net members and creates the group ๐.
3.2 Group Token: ๐๏ธ
The group token is created by the authority that commands a group ๐. The token holds the information net members need to confirm that a controller is authorized to create a group. It also says exactly what constraints are intended to be placed on the group ๐. The group token contains the following fields:
- Group identification,
- GC ID,
- Group action (create, rekey, delete),
- Group permissions (rules to guide access control),
- Rekey interval (life span of group key),
- Token version (identifier to identify current token),
- Token signature (asymmetric signature using the group commanders private key),
- Group commanders public key (this public key is itself signed by the network security manager to bind the public to a specific net member ID).
3.3 Grp ID: ๐
The group must be uniquely identified so several different groups can coexist on a network ๐.
3.4 GTEK ID: ๐ท๏ธ
This is the unique identifier of a GTEK, and it can include state information ๐.
3.5 GKEK ID: ๐ท๏ธ
This is the unique identifier of a GKEK, and it can include state information ๐.
3.6 GTEK creation field: ๐งช
In a cooperative key creation protocol, each party contributes a field that's used to create the key ๐ค.
3.7 GKEK creation field: ๐งช
In a cooperative key creation protocol, each party contributes a field that's used to create the key ๐ค.
3.8 Distributor signature: โ๏ธ
This is an asymmetric signature made using the GC's private key ๐.
3.9 Distributor public key: ๐
This is the public half of the GC's signature key pair. (This public key is itself signed by the network security manager to bind the public key to a specific net member ID.) ๐
3.10 Member signature: โ๏ธ
This is an asymmetric signature made using the selected member's private key ๐.
3.11 Member public: ๐
This is the public half of the selected member's signature key pair. (This public key is itself signed by the network security manager to bind the public key to a specific net member ID.) ๐
3.12 Controller permissions: ๐
Controller permissions are assigned by the security manager ๐๏ธ. The security manager's signature binds the permissions to the controller ID ๐.
3.13 SKEK ID: ๐
This field identifies exactly which SKEK is being created ๐ฏ. That lets multiple groups interoperate on a net at the same time ๐ธ.
3.14 SKEK creation field: ๐งช
This field contains the information contributed for use in the KEK creation process ๐ค.
3.15 Member permissions: ๐
Member permissions are assigned by the security manager ๐๏ธ. The security manager's signature binds the permissions to the controller ID ๐. (Yes, the original says controller ID here too ๐.)
3.16 Encrypted Grp Keys: ๐
This data item is encrypted in the KEK (session or group) created for the download of keys ๐ฅ. It carries the GTEK and GKEK created for a group, and a checksum is encrypted along with them ๐งพ. That way the confidentiality and data integrity of the GTEK and GKEK are both protected ๐ก๏ธ.
3.17 Confirmation of decryption: โ
This is a short (byte) field that indicates the message was decrypted and exactly what type of message it was ๐.
3.18 Request: ๐โโ๏ธ
A request field holds the specific request one net member can make to another ๐ฌ. Requests range from group join, CRL update, pairwise TEK generation, detection, group creation, and status ๐.
Member delete list:
This is a list of group members being administratively deleted from the group ๐ช.
4 Message definitions ๐จ
4.1 Command_Create Group: ๐ฃ
This message contains the following data item primitives: Group members, Grp ID, Grp controller ID, Grp action, Grp permissions, Rekey interval, Token version, Token signature, and Token public key ๐งพ. It may be confidential because of the group permissions field ๐. In sensitive systems, it will need encryption before transmission ๐.
4.2 Create Grp Keys_1: ๐๏ธ
This message passes the information needed to create the group keys from the GC to the selected net member ๐. It contains: Grp ID, Request, GTEK ID, GKEK ID, GTEK creation field, GKEK creation field, Grp token, Controller signature, and Controller public ๐ฆ.
4.3 Create Grp Keys_2: ๐๏ธ
This message passes the information needed to create the group keys from the selected net member back to the GC ๐. It contains: Grp ID, GTEK ID, GKEK ID, GTEK creation field, GKEK creation field, member signature, and member public ๐ฆ.
4.4 Negotiate Grp Keys_1: ๐คซ
This message passes the group token and the GC's permissions to the selected net member ๐๏ธ. That information can be sensitive and needs protecting, so this message is encrypted in the GTEK that was just created ๐. The encryption includes the appropriate data integrity checks too ๐ก๏ธ. This message1 contains: Grp ID, TEK ID, KEK ID, Group token, and Controller permissions ๐ .
4.5 Negotiate Grp Keys_2: ๐
okay so this message is how the selected net member's permissions get passed over to the GC ๐ซถ it carries the Grp ID, GTEK ID, GKEK ID, and Member permissions. ngl these permissions are sensitive info, so we're protecting them. that's why the whole message gets encrypted in the GTEK that was just created, and the encryption comes with the proper data integrity checks ๐โจ
4.6 Create Session KEK_1: ๐ฆ
this one is giving "let's make a KEK for one time use." it sends the info needed to create that KEK between the GC and the selected net member ๐
4.7 Create Session KEK_2: ๐ธ
same vibe as 4.6 but flipped ๐ this message sends the info to create a one time use KEK between the selected net member and the GC ๐
4.8 Negotiate Session Keys_1: ๐
this message is the main character ๐ it passes the group ID, SKEK ID, CRL version number, Group token, and GCs permissions over to the selected net member. all of that is sensitive, so it has to be protected ๐ซฃ that's why it gets encrypted. if there's an appropriate pairwise key already available, that key should be used. if not, the KEK we just made could be used to encrypt the message instead ๐ง
4.9 Negotiate Session Keys_2: ๐
this one identifies the group, the SKEK, the CRL version number, and the member permissions. it can also be sensitive, so it needs protection too ๐ก๏ธ๐
4.10 Download Grp Keys: ๐
this message carries a GRP ID and the Encrypted Grp Keys data items โจ
4.11 Key download ack: ๐ซถ
this is the receipt ๐งพ it contains the GRP ID and the Confirmation_decryption data items. it confirms that the GTEK and GKEK were received and verified as decrypted. no cap, very important ๐ฏ
4.12 Rekey _Multicast: ๐
this message holds the Grp ID, GTEK ID, GKEK ID, Group token, and Controller permissions ๐ the rekey message gets encrypted in the GKEK that's already sitting in all the group member sites. that means one single message can be accepted by every group member at once ๐ iconic efficiency
4.13 Request_Group_Join: ๐ฆ
this message contains Request, Grp ID, Member Signature, and Member Public ๐
4.14 Delete_Group_Keys: ๐
this message contains grp ID, Request, Member delete list, Controller signature, and Controllers public ๐๏ธ
4.15 Grp_Keys_Deleted_Ack: โจ
this message contains (grp ID, member ID, member signature, member public. ๐
4.16 Delete_Group_Keys: ๐
this message contains (grp ID, request, member delete list, controller signature, controller public). it's a repeat of 4.14 with lowercase vibes ๐
4.17 Grp_Keys_Deleted_Ack: โจ
this message contains (grp ID, member ID, member signature, member public) ๐ธ same as 4.15, just the mirror image ๐ช
5 State definitions ๐ง
there are thirteen separate states in the protocol. here's the breakdown, bestie ๐
5.1 State 1: ๐ท
- the source address is checked to make sure it's not on the CRL ๐ซ
- the token field gets validated with the public key of the source ๐
- the token version number is checked to make sure this token is current โฐ
- the group ID is checked to see if this group exists ๐
- the controller ID field is then read. if the receiver is listed as the GC, the receiver takes on the role of controller ๐. if not, the role assumed is that of receiver
- the GC reads the group permission field in the group token. then it verifies that its personnel permissions exceed or equal those of the group ๐ช
- the GC creates its portion of the key creation message ๐งฉ
- the Create Grp Keys_1 message is completed and transmitted ๐จ slay
5.2 State 2: ๐ฆข
- the source signature field is validated using the public key of the source โ๏ธ
- the source ID field is compared against the local CRL. if the source is on the CRL, the association is terminated โ
- the request field is read. the local contributions to the group keys are created ๐ง
- the group keys are created and stored pending negotiation ๐ฆ
- the key table is updated to show the group key pending negotiation ๐
5.3 State 3: ๐บ
- the permission certificate is retrieved and validated using the security managers public key. the permissions of the message source are checked to verify they meet or exceed those of the group ๐
- the group token is retrieved and validated using the appropriate public key ๐
- the token version number is checked to make sure the token is current โฐ
- the group ID specified in the token is compared with the actual group ID. if they're different, the exchange is terminated ๐ช
- the controller ID specified in the token is compared with the GC ID. if they don't match, the exchange is terminated ๐ โโ๏ธ
- the local permissions are compared to the permissions specified for the group. if they don't meet or exceed the group permissions, the exchange is terminated and a report is generated ๐
- the rekey interval specified in the token is stored locally โฑ๏ธ
- the key table is updated to reflect the key permissions, rekey interval, group ID, and current time ๐๏ธ
5.4 State 4: ๐
- the permission certificate is retrieved and validated using the security members public key. the permissions of the message source are checked to verify they meet or exceed those of the group ๐
- the key table is updated to reflect the key permissions, rekey interval, group ID, and current time ๐๏ธ
5.5 State 5: ๐
- the source signature field is validated using the public key of the source โ๏ธ
- the source ID field is compared against the local CRL. if the source is on the CRL, the association is terminated โ
- the request field is read. the local contribution to the SKEK is created. the SKEK is created and stored pending negotiation ๐ฅก
- the key table is updated to show the SKEK pending negotiation ๐
5.6 State 6: ๐ซง
- the permission certificate is retrieved and validated using the security managers public key. the permissions of the message source are checked to verify they meet or exceed those of the group ๐
- the group token is retrieved and validated using the appropriate public key ๐
- the token version number is checked to make sure the token is current โฐ
- the group ID specified in the token is stored ๐พ
- the controller ID specified in the token is compared with the GC ID. if they don't match, the exchange is terminated ๐ โโ๏ธ
- the local permissions are compared to the permissions specified for the group. if they don't meet or exceed the group permissions, the exchange is terminated and a report is generated ๐
- the rekey interval specified in the token is stored locally โฑ๏ธ
- the key table is updated to reflect the key permissions, rekey interval, group ID, and current time ๐๏ธ
5.7 State 7: ๐ผ
- the permission certificate is retrieved and validated using the security managers public key. the permissions of the message source are checked to verify they meet or exceed those of the group ๐
- the key table is updated ๐๏ธ
5.8 State 8: ๐ฆ
- the group ID is checked ๐
- the group keys are decrypted using the SKEK. data integrity checks are validated to make sure decryption went right โ
- the key table is updated to reflect the new group keys, key permissions, rekey interval, group ID, and current time ๐๏ธ
5.9 State 9: ๐
- update the group management log ๐
5.10 State 10: ๐
- the permission certificate is retrieved and validated using the security managers public key. the permissions of the message source are checked to verify they meet or exceed those of the group ๐
- the group token is retrieved and validated using the appropriate public key ๐
- the token version number is checked to make sure the token is current โฐ
- the group ID specified in the token is checked ๐
- the controller ID specified in the token is compared with the GC ID. if they don't match, the exchange is terminated ๐ โโ๏ธ
- the local permissions are compared to the permissions specified for the group. if they don't meet or exceed the group permissions, the exchange is terminated and a report is generated ๐
- the rekey interval specified in the token is stored locally โฑ๏ธ
- the new group keys are decrypted with the current GKEK. the data integrity field is checked to make sure decryption went right โ
- the key table is updated to reflect the key permissions, rekey interval, group ID, and current time ๐๏ธ
5.11 State 11: ๐
- validate the signature using the source's public key โ๏ธ
- check to see if a member initiated group join is available. if not, ignore it. if so, begin distribution of group keys ๐
5.12 State 12: ๐งธ
- validate the signature using the GCs public key โ๏ธ
- retrieve the delete list. check to see if you're on it. if so, continue ๐
- create Grp_Keys_Deleted_Ack ๐จ
- delete the group keys ๐๏ธ
5.13 State 13: ๐ซ
- validate the signature using the GCs public key โ๏ธ
- retrieve the delete list. if the list is a global delete, verify the alternative key ๐
- switch group operations to the alternative key ๐
- create Grp_Keys_Deleted_Ack ๐จ
- delete the group keys ๐๏ธ
6 Functional Definitions--Group Key Management Protocol ๐ฆ
the GKMP is made up of multiple functions that work together to create, distribute, rekey, and manage groups of symmetric keys ๐ these functions are:
- Group creation (sender initiated group)
- Create Group keys
- Distribute Group keys
- Group rekey
- Create Group keys
- Rekey Group
- Member initiated join
- Group member delete
the following sections describe each function, including the data primitives and message constructs. the associated diagrams show the specifics (sequence, location, and communication sources and destinations) of the messages and processes needed ๐บ๏ธ
6.1 Group creation ๐
member initialization is a three-step function ๐ช it involves commanding the creation of the group, creating the group keys, and then distributing those keys to "other" group members ๐ messages between the GC and the first member generate two keys for future group actions: the group traffic encryption key (GTEK) and the group key encryption key (GKEK) ๐ messages between the GC and the other members are for distributing the keys. these functions are described in the following sections โจ
6.1.1 Group command ๐ฃ
the very first action is for some entity to command the group. this command is sent to the GC ๐
6.1.2 Create group keys โจ
Okay so the first member has to team up with the GC to make the future group keys ๐ Bestie, using two separate hosts is the move because it gives the best odds that the final key ends up with the right cryptographic properties ๐ One host could make the key solo IF its randomization function were robust AND trusted, but that usually needs specialized hardware that most host sites don't have ๐ This protocol was built to run on generic hardware so it stays extendable, which is why cooperative key generation is the way ๐ซถ
To keep group creation organized, the controller and the group members have to pass management info back and forth ๐ That info covers the GC's identity, its permissions, its authorization to create keys, the future group's permissions, the current state of the compromise list, and management info about the keys being made. All of it is protected from forgery with asymmetric signature tech ๐ The public key for verifying net-wide parameters (like individual host permissions) is widely held. The public key for verifying locally generated info (like peer identity) gets sent along with the messages, so hosts don't have to store as many keys ๐ง
The goals of the key creation process are:
- cooperatively generate a GTEK and GKEK,
- allow the key creators to verify the identity of the key creation partner by verifying the messages' signatures,
- share public keys,
- allow validation of the GC, by signing the group identification, GC identification, and group permissions,
- send the group identity, GC identity, group member identities, group permissions, and group rekey interval to the first member, signed by the group commander (when the group was remotely commanded).
This function is four messages between the GC and the first member ๐ First up, the GC sends a signed Create_Group_Keys_1 message to the first member. It carries two random values needed to generate the GTEK and GKEK, plus the GC's public key ๐
The first member checks the signed Create_Group_Keys_1 message, then builds and sends a signed Create_Group_Keys_2 message back to the GC. They generate the GTEK and GKEK and store the GC's public key. The Create_Group_Keys_2 message holds the random values the GC needs to generate the GTEK and GKEK, plus the first member's public key โจ
The GC validates the signed Create_Group_Keys_2 message, generates the GTEK and GKEK, builds the Negotiate_Group_Keys_1 message for the first member, and stores the received public key ๐
The GC sends the Negotiate_Group_Keys_1 message to the first member encrypted in the GTEK that was just generated ๐
|___Net_Controller___|__________Messages__________|____Net_Member_B____|
|The Create Group |<---- Command-Create Group | |
|command is | | |
|received by net | | |
|member A. | | |
|State 1 | | |
| |Create Grp Keys_1----> | |
| | |State 2 |
| |<-----Create Grp Keys_2 | |
|State 2 | | |
| |Negotiate Grp Keys_1------> | |
| | |State 3 |
| |<-----Negotiate Grp Keys_2 | |
|State 4 | | |
Figure 1: State Diagram: Create Group Keys
The first member decrypts the Negotiate_Group_Keys_1 message and pulls out the group identification, GC identification, group members, group permissions, key rekey interval, CRL version number, and certifying authority signature ๐งพ The group identification, GC identification, and group permissions fields get checked against the group commander's signature (if the group was remotely commanded, that signature identifies the remote host). If everything checks out, the first member's internal structures get updated ๐
6.1.3 Distributing Group Keys to Other Members ๐
The other group members have to get the group keys before the group is fully operational, and this step is what makes that happen ๐ฆ It does four jobs:
- cooperatively generate a session key encryption key (SKEK) for the transmission of the GTEK and GKEK from the GC,
- allow each member to verify the identity of the controller and vice versa,
- allow each member to verify the controller's authorization to create the group,
- send the key packet (KP) (consisting of the GTEK, GKEK), group identity, GC identity, group member identities, group permissions, and group rekey interval to the other members.
This function is six messages between the GC and the other members ๐ The first few set up the SKEK. The GC sends a signed Create_Session_KEK_1 message to the other member. It carries the random value the other member needs to generate the SKEK, plus the GC's public key ๐ธ
The other member checks the Create_Session_KEK_1 message, then builds and sends a Create_Session_KEK_2 message to the GC, generates the SKEK, and stores the GC's public key. The Create_Session_KEK_2 message has the random value the GC needs to generate the SKEK, plus the other member's public key ๐ง
The GC validates the Create_Session_KEK_2 message, generates the SKEK, builds the Negotiate_Session_ KEK_1 message for the other member, and stores the received public key ๐
The GC sends the Negotiate_Session_KEK_1 message to the other member encrypted in the SKEK that was just generated. This message includes the group ID, group token, controller permissions, and CRL version number ๐
The other member decrypts the Negotiate_Session_KEK_1 message, verifies the controller's authority and identification, makes sure the local CRL is up to date, and builds a Negotiate_Session_KEK_2 message for the GC ๐ซถ
The GC receives the Negotiate_Session_KEK_2 message and builds a Download_Grp_Keys message for the other member ๐
The GC sends the Download_Grp_Keys message to the other member encrypted in the SKEK that was just generated. (note: the key used to encrypt the negotiation messages can be combined differently to create the KEK.) ๐
The other member decrypts the Download_Grp_Keys message and extracts the KP, group identification, GC identification, group members, group permissions, key rekey interval, and group commander's signature. The group identification, GC identification, and group permissions fields get validated against the signature. If they validate, the other member's internal key storage tables get updated with the new keys ๐
6.2 Group Rekey ๐ธ
Rekey is a two-step function that involves message exchange between the GC and a "first member" and "other members" ๐ Messages between the GC and the first member work exactly the same as they do for group creation. Messages between the GC and the other members are for distributing the new GTEK and the new GKEK. These functions are described in the following sections โจ
|___Net_Controller___|__________Messages________|Net_members,individual|
| |Create Session KEK_1----> | |
| | |State 5 |
| |<-----Create Session KEK_2 | |
|State 5 | | |
| |Negotiate ess. Keys_1----->| |
| | |State 6 |
| |<-----NegotiateSess. Keys_2| |
|State 7 | | |
| |Download Grp Keys--------> | |
| | |State 8 |
| |<----- Key download ack | |
|State 9 | | |
Figure 2: State Diagram: Distribute Keys
6.2.1 Create Group Keys ๐
The first member function for a rekey operation is the same as the one for key initialization. Please refer to the group creation section entitled "2.1 Create group keys".
6.2.2 Rekey ๐ฆ
The purpose of rekey is as follows:
- send the new GTEK and new GKEK to the other members,
- allow each member to verify the identity of the controller,
- allow each member to verify the controller's authorization to rekey the group, group identification, and GC identification,
- send the group identity, GC identity, group member identities, group permissions, and group rekey interval to the other members.
The messages that create and negotiate the group keys are the same as the ones used during group creation, so they've been left out here ๐
The rekey portion of this function is one message between the GC and the other members. The GC builds a signed Rekey_Multicast message for the other member. As the name implies, this message can be multicast to the entire group ๐ฃ
|___Net_Controller___|__________Messages________|Net_members,individual|
|The Create Group |<---- Command-Create Group | |
|command is | | |
|received by net | | |
|member A. | | |
|State 1 | | |
| |Create Grp Keys_1----> | |
| | |State 2 |
| |<-----Create Grp Keys_2 | |
|State 2 | | |
| |Negotiate Grp Keys_1------>| |
| | |State 3 |
| |<-----Negotiate Grp Keys_2 | |
|State 4 | | |
| |Rekey _Multicast-------> | |
| | |State 10 |
Figure 3: State Diagram: Rekey
The GC sends the signed Rekey_Multicast message to the other members encrypted in the current GKEK ๐
The other members decrypt and validate the signed Rekey_Multicast message and extract the new KP, group identification, GC identification, group members, group permissions, key rekey interval, and rekey command signature ๐งพ The group identification, GC identification, and group permissions fields get validated against the extracted rekey command signature. If they validate, the key database tables get updated ๐
6.3 Member Initiated Join ๐
okay so the GKMP totally supports member initiated joins to the group ๐ซถ this is most giving when the group initiator doesn't need to control who's in the group, and just needs to check that everyone follows some rules that were agreed on ahead of time.
one example is corporation job vacancies ๐ผ a corporation wants its openings kept private, so it encrypts the announcements ๐ the group creator literally doesn't care who grabs them, as long as they're in the corporation. when an employee tries to get in, the GC checks their permissions (signed by some higher authority ๐). if those permissions say they're part of the corporation, the controller lets them into the group. iykyk ๐ญ
before a potential group member can join group operations, they have to request the key from the GC, identify themselves unambiguously, pass their permissions, and receive the keys. that's several messages going back and forth between the GC and the joining member ๐ฆ the purpose of these messages is:
- Request group join from the controller ๐โโ๏ธ
- cooperatively generate a SKEK for the transmission of the group traffic encryption and GKEK from the GC,
- allow each member to verify the identity of the controller and vice versa,
- allow each member to verify the controller's authorization to create the group,
- send the KP, group identity, GC identity, group member identities, group permissions, and group rekey interval to the other members,
the series of messages for a member initiated join is very similar to the series of messages used to distribute group keys during group creation. honestly they're identical except for one extra piece: a request to join message sent from the joining member to the controller when the join is member initiated ๐ this message should not require encryption, since it probably doesn't contain sensitive info. however, in some military systems, the fact that a member wants to join a group maybe sensitive from a traffic analysis viewpoint ๐ต๏ธโโ๏ธ in those specialized cases, a pairwise TEK may be created (if one doesn't already exist) to hide the service request ๐คซ
this function is made up of seven messages between the GC and the joining member โจ the first message is created by the joining member and sent to the GC. it simply requests membership in the group from the controller. the controller decides whether to respond based on the group parameters: membership limits and membership lists ๐
the next messages set up a SKEK ๐ the GC sends a signed Create_Session_KEK_1 message to the other member. this message has the random value the other member needs to generate the SKEK, and it also carries the public key of the GC.
the other member validates the Create_Session_KEK_1 message, builds and sends a Create_Session_KEK_2 message to the GC, generates the SKEK, and stores the received public key ๐ง the Create_Session_KEK_2 message contains the random value the GC needs to generate the SKEK, and it also carries the public key of the other member.
the GC validates the Create_Session_KEK_2 message, generates the SKEK, builds the Negotiate_Session_ KEK_1 message for the other member, and stores the received public key ๐ซง
the GC sends the Negotiate_Session_KEK_1 message to the other member, encrypted in the SKEK that was just generated ๐
the other member decrypts the Negotiate_Session_KEK_1 message and builds a Negotiate_Session_KEK_2 message to send back to the GC ๐
the GC receives the Negotiate_Session_KEK_2 message and builds a Download_Grp_Keys message for the other member ๐
the GC sends the Download_Grp_Keys message to the other member, encrypted in the SKEK that was just generated. (note: the key used to encrypt the negotiation messages can be combined differently to create the KEK.) ๐ธ
the other members decrypt the Download_Grp_Keys message and extract the KP, group identification, GC identification, group members, group permissions, key rekey interval, and group commander's signature ๐๏ธ the group identification, GC identification, and group permissions fields are validated based on the signature. if those fields validate, the other members' internal key storage tables get updated with the new keys โจ
|___Net_Controller___|__________Messages________|Net_Members,individual|
| |<------ Request_Group_Join | |
|State 11 | | |
| |Create Session KEK_1----> | |
| | |State 5 |
| |<-----Create Session KEK_2 | |
|State 5 | | |
| |NegotiateSess. Keys_1----->| |
| | |State 6 |
| |<-----NegotiateSess. Keys_2| |
|State 7 | | |
| |Download Grp Keys--------> | |
| | |State 8 |
| |<----- Key download ack | |
|State 9 | | |
Figure 4: State Diagram: Member Join
6.4 Member Deletion ๐งน
okay so there are two kinds of member deletion: cooperative and hostile ๐ซถ cooperative deletion is removing a trusted group member for some management reason (i.e., reducing group size, or getting the member ready for a move). hostile deletion usually ends in a loss of secure state at the member's site (i.e., compromise, or equipment breakage) ๐ฌ
|___Net_Controller___|__________Messages__________|_____Net_Members_____|
| |Delete_Group_Keys ------> | |
| | |State 12 |
| |<------ Grp_Keys_Deleted_Ack| |
|State 9 | | |
Figure 5: State Diagram: Cooperative Delete
the two scenarios are super different challenges for the network ๐ธ๏ธ in the cooperative case, minimizing network impact is paramount ๐ we want to keep the key group intact and be confident that removing the cooperative member has no impact on the security of future group operations. in the hostile case, the goal is to get back to a secure operating state as fast as possible ๐โโ๏ธ and ngl there's a real trade-off here. we could kill the compromised group the moment the compromise is discovered, but that might cripple an important asset. so security concerns have to be balanced with operational concerns โ๏ธ
6.4.1 Cooperative Deletion
the cooperative deletion function happens between a trusted member and the GC ๐ค it results in a reliable deletion of the group key encryption keys and GTEKs at the deleted member. this deletion is meant to be an administrative function.
this function is two messages between the GC and the member. the GC sends the Delete_Group_Keys message to the group, encrypted in the GTEK. the message identifies the member(s) that need to delete the group keys. the member(s) decrypt the Delete_Group_Keys message, extract the group identification, check the deleted member list, delete the group traffic and key encryption keys for that group, and build the Group_Keys_Deleted_Ack message to send to the GC ๐
the Grp_Keys_Deleted_Ack message is encrypted in the group traffic key. the GC receives the Grp_Keys_Deleted_Ack message, decrypts it, and updates the group definition ๐ฉท
|___Net_Controller___|__________Messages____________|_____Net_Members__|
| |Delete_Group_Keys ------> | |
| | |State 13 |
Figure 6: State Diagram: Hostile Delete
6.4.2 Hostile Deletion (Compromise)
hostile deletion happens when the group loses trust in a member ๐ we assume all the keys at the member's site have been lost, and we assume the member won't cooperate. therefore, we basically have to create another group, minus the untrusted member, and move group operations over to that new group ๐ if the group loses trust in the controller, another controller has to be appointed first, and then the hostile deletion process can go ahead.
there are some serious security and operational issues around compromise recovery ๐ญ the core of it is a tradeoff between operational continuity and security vulnerability. if a member is found to be bad, then from a security point of view, all traffic on the network should stop. but if that traffic is supporting a critical operation, the group may prefer to live with the security leak rather than interrupt the group communication ๐ซ
the GKMP gives us two mechanisms to help restrict access by compromised members ๐ก๏ธ first, it implements a Certificate Revocation List (CRL), which is checked during the group creation process, so it won't let a compromised member into a new group. second, the GKMP makes it possible to create another group (minus the compromised member(s)). however, it does not dictate whether or not the group may keep operating with a compromised member.
the mechanism the GKMP uses to remove a compromised member is to key that member out ๐ this means creating a new group without the compromised member and switching group operations over to it. the old group gets canceled through several multicasts of a group delete message ๐ฃ
this function is one message from the GC to all members. the GC sends the Delete_Group message to all members, encrypted in the GTEK. this results in the deletion of the group traffic and key encryption keys in all group members. all members decrypt the received Delete_Group message, validate the authorization, extract the group identification, and delete the group traffic and key encryption keys ๐๏ธโจ
7 Security Conditions ๐
this document, in its entirety, is all about security ๐ฅ
8 Addresses of Authors ๐
meet the brilliant minds behind it ๐ง ๐
Hugh Harney
SPARTA, Inc.
Secure Systems Engineering Division
9861 Broken Land Parkway, Suite 300
Columbia, MD 21046-1170
United States
Phone: +1 410 381 9400 (ext. 203)
EMail: hh@columbia.sparta.com
Carl Muckenhirn
SPARTA, Inc.
Secure Systems Engineering Division
9861 Broken Land Parkway, Suite 300
Columbia, MD 21046-1170
United States
Phone: +1 410 381 9400 (ext. 208)
EMail: cfm@columbia.sparta.com
๐ฆ where this page comes from
- ietf: rfc2093 1997-07
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms