Description
The Authentication Framework (AF) is the cornerstone of security in 3GPP networks, encompassing the protocols, algorithms, and procedures for authenticating users and network entities. At its core is the Authentication and Key Agreement (AKA) protocol, which performs mutual authentication between the User Equipment (UE) and the network's core, specifically the Home Subscriber Server (HSS) or Authentication Server Function (AUSF) in 5G. The process is based on a shared secret key (K) stored securely in the UE's Universal Subscriber Identity Module (USIM) and the network's authentication center (AuC). The framework generates session keys for ciphering and integrity protection of user data and signaling messages over the air interface.
Architecturally, the AF integrates several functional entities. The UE and its USIM are the client-side components. In the network, the HSS/AuC generates authentication vectors (AVs), each containing a random challenge (RAND), an expected response (XRES), a cipher key (CK), an integrity key (IK), and an authentication token (AUTN). These vectors are sent to the serving network's Mobility Management Entity (MME) in 4G or the Access and Mobility Management Function (AMF) in 5G. The serving network then challenges the UE with the RAND and AUTN. The UE's USIM verifies the AUTN to authenticate the network, computes its response (RES), and derives the same CK and IK. The serving network compares the RES with the XRES to authenticate the UE.
The framework's operation involves a precise sequence. First, the serving network requests authentication vectors from the home network. Upon receiving a vector, it sends the RAND and AUTN to the UE. The USIM checks the AUTN's freshness and authenticity using sequence numbers (SQN) and message authentication codes (MAC). If valid, the USIM computes the RES and the keys. The UE sends the RES back, and if it matches the XRES, mutual authentication is successful, and the derived keys (CK, IK) are installed for securing the subsequent communication session. In 5G, this evolved into the 5G AKA and EAP-AKA' protocols, introducing key separation and enhanced home network control.
The role of the AF extends beyond initial access. It supports security context management, enabling re-authentication and key refresh without full AKA runs for handovers. It also provides the foundation for securing network slices and enabling authentication for non-3GPP access (like Wi-Fi) via trusted or untrusted interfaces. The framework's robustness lies in its use of strong cryptographic algorithms (MILENAGE, TUAK), protection against replay attacks via sequence numbers, and the clear separation of the long-term secret from the operational session keys.
Purpose & Motivation
The Authentication Framework was created to solve the fundamental security problem in cellular networks: establishing a trusted relationship between a mobile device and a vast, distributed network operated by multiple entities. Prior to standardized authentication in digital cellular systems (like GSM), analog systems had virtually no security, making them vulnerable to cloning and eavesdropping. The initial framework in GSM introduced one-way authentication (network authenticating the subscriber) but was later found vulnerable to false base station attacks. The creation of the 3GPP AF with UMTS (Release 99/4) was motivated by the need for mutual authentication and stronger cryptographic algorithms to enable secure mobile data services, e-commerce, and corporate access.
The framework addresses critical limitations of previous approaches. GSM's A3/A8 algorithms were weak and provided only one-way authentication. The 3GPP AF introduced mutual authentication via the AUTN token, allowing the UE to verify the network's legitimacy, thus mitigating man-in-the-middle attacks. It also strengthened key derivation, increased key lengths, and introduced integrity protection (IK) alongside encryption (CK). This was essential as networks evolved from primarily voice to carrying sensitive data. The framework's design also solves the problem of secure roaming by defining how the serving (visited) network can authenticate a user using credentials and procedures controlled by the home network, establishing a global trust model.
Furthermore, its evolution is driven by new threats and service requirements. The move to all-IP networks (EPS in 4G) and cloud-native architectures (5GC in 5G) introduced new threat vectors. The AF adapted by enhancing key hierarchy (e.g., introducing the K_ASME in 4G and KAUSF in 5G for key separation between network layers), supporting new authentication protocols like EAP, and integrating with identity management frameworks. It provides the essential trust anchor for network slicing, IoT massive connectivity, and edge computing, ensuring that security scales and adapts with the network architecture.
Classification
Evolution Across Releases
Introduced the UMTS Authentication and Key Agreement (AKA) protocol as a core component of the 3GPP Authentication Framework. This established mutual authentication, a significant security upgrade from GSM. It defined the use of Authentication Vectors (AV) containing RAND, AUTN, XRES, CK, and IK, and specified the MILENAGE algorithm set as the standard example for cryptographic functions.
Explore further
Broader topics and technologies where AF plays a role.
Defining Specifications
3GPP specifications that define or reference AF, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 23.125 v1700 | Flow Based Charging Architecture | Rel-7 |
| TS 23.139 vj00 | 3GPP-Fixed Broadband Interworking Stage 2 | Rel-19 |
| TS 23.203 vk00 | Policy and Charging Control Architecture | Rel-20 |
| TS 23.207 vj00 | End-to-End QoS Framework for GPRS | Rel-19 |
| TS 23.222 vk00 | Common API Framework (CAPIF) for 3GPP Northbound APIs | Rel-20 |
| TS 23.287 vj10 | 5G V2X Architecture Enhancements | Rel-19 |
| TS 23.401 vk00 | Evolved 3GPP Packet Switched Domain - EPS | Rel-20 |
| TS 23.417 v1700 | IMS Core Component for NGN Architecture | Rel-7 |
| TS 23.433 vk30 | SEAL Data Delivery Enabler Architecture | Rel-20 |
| TS 23.501 vk20 | 5G System Architecture Stage 2 | Rel-20 |
| TS 23.517 v1800 | IMS Core Component for NGN Architecture | Rel-8 |
| TS 23.558 vk20 | Edge Computing Application Layer Architecture | Rel-20 |
| TS 23.700 vk10 | AI/ML Application Layer Support Phase 2 | Rel-20 |
| TS 23.701 vc00 | WebRTC Access to IMS Architecture Study | Rel-12 |
| TS 23.722 vf10 | Common API Framework (CAPIF) for 3GPP Northbound APIs | Rel-15 |
| TR 23.745 vh00 | Study on App Layer Support for Factories of the Future in 5G | Rel-17 |
| TR 23.758 vh00 | Study on Edge Application Architecture | Rel-17 |
| TR 23.799 ve00 | Study on Next Generation System Architecture | Rel-14 |
| TS 23.802 v1700 | Enhanced End-to-End QoS Architecture | Rel-7 |
| TS 23.803 v1700 | PCC Architecture Harmonization Study | Rel-7 |
| TR 23.923 v1300 | Mobile IP+ Feasibility Study for UMTS/GPRS | Rel-4 |
| TR 23.958 vj00 | EDGEAPP alignment with ETSI MEC and GSMA OP | Rel-19 |
| TS 24.519 vh10 | TSN AF to DS-TT/NW-TT Protocol Aspects | Rel-17 |
| TS 24.538 vj40 | MSGin5G Service Protocol Specification | Rel-19 |
| TS 24.539 vj30 | NW-TT Protocol Aspects | Rel-19 |
| TS 24.549 vj20 | SEAL Network Slice Capability Enablement Protocol | Rel-19 |
| TS 26.501 vj40 | 5G Media Streaming Architecture | Rel-19 |
| TS 26.510 vj20 | 5G Media Streaming and Real-Time Communication APIs | Rel-19 |
| TS 26.512 vj30 | 5G Media Streaming Protocols and APIs | Rel-19 |
| TS 26.531 vj00 | Data Collection & Reporting Architecture for 5G | Rel-19 |
| TS 26.532 vj10 | Data Collection and Reporting API Specification | Rel-19 |
| TS 26.565 vj00 | Split Rendering Media Service Enabler | Rel-19 |
| TR 26.803 vh00 | 5G Media Streaming Extensions for Edge Processing | Rel-17 |
| TR 26.919 vj00 | Study on 5G Conversational Media Handling | Rel-19 |
| TR 26.924 vj00 | MTSI QoS Improvement Study | Rel-19 |
| TR 26.927 vj00 | AI/ML in 5G Media Services Study | Rel-19 |
| TS 26.942 vk00 | Sustainable Media Metrics and Architectural Impacts for 5G | Rel-20 |
| TR 26.998 vj00 | 5G AR/MR Glasses Integration Study | Rel-19 |
| TS 28.802 vf00 | Management Study for 5G Network Architecture | Rel-15 |
| TR 28.816 vh00 | Charging for 5G Cellular IoT | Rel-17 |
| TR 28.833 vi01 | Technical Report on 5G LAN-type Service Management | Rel-18 |
| TS 29.122 vk00 | T8 Reference Point Protocol for SCEF and SCS/AS | Rel-20 |
| TS 29.201 vj00 | RESTful Rx Interface for AF-PC Communication | Rel-19 |
| TS 29.212 vj10 | Diameter-based Gx, Gxx, Sd, St Interfaces | Rel-19 |
| TS 29.213 vj30 | PCC Procedures and Flows | Rel-19 |
| TS 29.214 vj30 | Rx Reference Point Stage 3 Specification | Rel-19 |
| TS 29.215 vj00 | S9 Reference Point Stage 3 Specification | Rel-19 |
| TS 29.217 vj00 | Policy and Charging Control (PCC) for Np Interface | Rel-19 |
| TS 29.255 vk00 | UAS-specific NAF Service Based Interface | Rel-20 |
| TS 29.508 vk00 | Session Management Event Exposure Service | Rel-20 |
| TS 29.512 vk00 | Session Management Policy Control Service | Rel-20 |
| TS 29.513 vk00 | Policy and Charging Control in 5G System | Rel-20 |
| TS 29.514 vk00 | 3GPP TS 29514 vk00: Policy Authorization Service | Rel-20 |
| TS 29.517 vk00 | AF Event Exposure Service Stage 3 | Rel-20 |
| TS 29.520 vk00 | 5G Network Data Analytics Function Services | Rel-20 |
| TS 29.521 vk00 | BSF Binding Support Management Service | Rel-20 |
| TS 29.522 vk00 | NEF Northbound Interface Specification | Rel-20 |
| TS 29.523 vk00 | Policy Control Event Exposure Service | Rel-20 |
| TS 29.530 vk00 | AF AI/ML Services Stage 3 Protocol | Rel-20 |
| TS 29.534 vk00 | 5G Access and Mobility Policy Authorization | Rel-20 |
| TS 29.535 vk00 | AAnF AKMA Service Interface | Rel-20 |
| TS 29.536 vk00 | 3GPP TS 29536 vk00: Nnsacf Service Based Interface | Rel-20 |
| TS 29.543 vk01 | Data Transfer Policy Control Services | Rel-20 |
| TS 29.552 vk00 | Network Data Analytics Procedures and Data Collection | Rel-20 |
| TS 29.554 vk00 | BDT Policy Control Service (Npcf_BDTPolicyControl) | Rel-20 |
| TS 29.558 vj70 | Edge Applications over 3GPP Networks APIs | Rel-19 |
| TS 29.564 vk00 | UPF Service Based Interface (Nupf) Stage 3 | Rel-20 |
| TS 29.574 vk00 | Ndccf Service Based Interface (DCCF) | Rel-20 |
| TS 29.575 vk00 | 5G System; ADRF Service Based Interface; Stage 3 | Rel-20 |
| TS 29.576 vk00 | 3GPP Specification for MFAF Service Based Interface | Rel-20 |
| TS 29.581 vk00 | Nmbstf Service Based Interface Stage 3 | Rel-20 |
| TS 29.591 vk00 | Nnef Southbound SBI Stage 3 Protocol | Rel-20 |
| TS 29.675 vj20 | Nucmf Service Based Interface Protocol | Rel-19 |
| TS 29.816 va00 | PCRF Failure & Restoration Study | Rel-10 |
| TS 29.817 vc10 | Study on XML-based Rx interface for PCC | Rel-12 |
| TS 29.889 vj10 | Study on UPF data collection for AI/ML | Rel-19 |
| TS 29.890 vg00 | CT3 5G System Technical Report | Rel-16 |
| TS 32.240 vk00 | Charging Architecture and Principles in 3GPP | Rel-20 |
| TS 32.255 vk20 | 5G Data Connectivity Charging | Rel-20 |
| TS 32.272 vj00 | Charging for Push-to-Talk over Cellular (PoC) | Rel-19 |
| TS 32.273 vj00 | MBMS Charging Management | Rel-19 |
| TS 32.279 vj00 | 5G MBS Session Converged Charging | Rel-19 |
| TS 32.291 vk00 | 3GPP TS 32.291 vk00: Service Based Interface for Charging | Rel-20 |
| TS 32.820 v1801 | Charging Architecture Study for Evolved 3GPP | Rel-8 |
| TS 32.899 vf10 | 5G Charging Architecture Study | Rel-15 |
| TS 33.127 vj70 | Lawful Interception Architecture and Functions | Rel-19 |
| TS 33.310 vj50 | 3GPP Authentication Framework for Network Nodes | Rel-19 |
| TS 33.503 vk00 | 5G ProSe Security Specification | Rel-20 |
| TS 33.535 vj00 | 5G AKMA: Authentication and Key Management for Apps | Rel-19 |
| TR 33.739 vi10 | Study on security enhancement of support for | Rel-18 |
| TR 33.741 vi01 | Home Network Triggered Authentication | Rel-18 |
| TS 33.749 vj00 | Study on security aspects of edge computing enhancement | Rel-19 |
| TS 33.836 vg10 | Security Study for Advanced V2X Services | Rel-16 |
| TR 33.847 vh10 | 5G Proximity Services Security Study | Rel-17 |
| TR 33.866 vh00 | Security aspects of Network Automation enablers for 5GS | Rel-17 |
| TR 33.882 vi01 | Technical Report on 5G Security for Personal IoT Networks | Rel-18 |