Glossary term · Security

KMF

Key Modification Function

Security →

KMF is a cryptographic function that derives a unique, cell-specific cipher key from a short-term key and cell identity data to enhance mobile network security.

Introduced
Rel-8
Where
Services
Specifications
3 specs

3GPP QuarterlyThe next issue by email, at most eight a year.

Category
Security
Introduced
Rel-8
Where
Services
Specifications
3 specs
KMF Description Purpose Related Specifications

Description

The Key Modification Function (KMF) is a security function defined in 3GPP specifications 23.782, 33.885, and 43.020. It is responsible for deriving a cipher key, V_Kc, which is valid for a specific cell. The derivation uses three inputs: a short-term key VSTK, the Cell Global Identity (CGI), and a CELL_GLOBAL_COUNT. The VSTK is a temporary key established during authentication, while the CGI uniquely identifies the cell, and the CELL_GLOBAL_COUNT is a counter that increments over time or per event to ensure key freshness. The KMF produces V_Kc, which is then used for ciphering user data and signalling on the radio interface within that cell. This cell-specific key derivation provides an additional layer of security by binding the cipher key to the cell identity, preventing key reuse across different cells and mitigating the impact of key compromise in one cell. The KMF is typically implemented in the mobile station (MS) and the network (e.g., in the Base Station Subsystem for GERAN). The function is part of the security architecture for GSM/EDGE and possibly other legacy systems, as indicated by the specifications. The use of CELL_GLOBAL_COUNT ensures that even if the same VSTK and CGI are used, the derived key changes over time, providing forward security. The KMF is an example of a key derivation function (KDF) that uses a cryptographic hash or similar primitive to combine the inputs. The exact algorithm is specified in the relevant 3GPP documents. The KMF's role is crucial in environments where cells may be compromised or where key separation is required. It allows the network to manage keys per cell, which is particularly useful in hierarchical cell structures or when frequent handovers occur. The definition has remained consistent from Rel-8 to Rel-19, indicating a stable and well-established function. Although the term is not widely used in modern 5G networks, it remains part of the legacy security framework and is referenced in specifications for backward compatibility and interworking.

Purpose & Motivation

The KMF was introduced to enhance the security of cipher keys in cellular networks by ensuring that each cell uses a unique cipher key derived from a common short-term key. In earlier systems, cipher keys might be reused across cells, which could allow an attacker who compromises one cell to decrypt traffic in another. The KMF solves this by binding the key to the cell identity and a counter, thus providing cryptographic separation between cells. This is particularly important in networks where cells are operated by different entities or where physical security of base stations cannot be guaranteed. The KMF also supports key freshness by incorporating the CELL_GLOBAL_COUNT, which changes over time, ensuring that even if a key is compromised, it cannot be used indefinitely. The function was defined in the context of GSM/EDGE security (as seen in 43.020) and later referenced in 3GPP studies on key management (23.782, 33.885). It addresses the limitations of earlier key management schemes that did not provide per-cell key separation. While modern networks like LTE and 5G use more advanced key hierarchies (e.g., KeNB, KgNB), the KMF represents an important step in the evolution of mobile security. Its principles of key derivation using cell identity and counters are echoed in later technologies. The KMF is a testament to the ongoing efforts in 3GPP to improve security through cryptographic key separation and freshness.

Release Timeline

Evolution Across Releases

Rel-8 Initial

Initial definition: 'Key Modification Function. KMF derives from the short term key VSTK, the CGI and the CELL_GLOBAL_COUNT the cipher key V_Kc which is valid for that specific cell.' This established the function's role in cell-specific key derivation.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8.

Definition carried over unchanged from Rel-8, though the formatting was slightly adjusted (line breaks removed) without altering the meaning.

Definition carried over unchanged from Rel-8, with the same formatting as Rel-17.

Definition carried over unchanged from Rel-8, reverting to the original line breaks.

Defining Specifications

3GPP specifications that define or reference KMF, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 23.782 vf00 Interworking between LTE MC and non-LTE MC systems Rel-15 read
TS 33.885 ve10 Security Study for V2X Services Rel-14 read
TS 43.020 vj00 Security Procedures for GSM Rel-19 read