5G NAS - Authentication Request Explained
Authentication Request is the NAS message the network sends to challenge the UE during the 5G authentication procedure. It is one of the most important messages in any registration trace because it marks the point where the AMF starts verifying that the UE is a legitimate subscriber.
For beginners, the simple meaning is: the network is asking the UE to prove who it is.
For engineers, this message is the start of the challenge-response branch that decides whether the procedure continues toward security mode and registration success.
What is Authentication Request in simple terms?
The UE asked to register or update context. Before allowing that procedure to continue, the AMF sends a challenge. The UE must process that challenge and respond correctly.
Why Authentication Request matters
This message matters because it sits at the boundary between:
- identity handling
- subscriber verification
- later NAS security activation
If this step fails, the UE never reaches a clean authenticated registration path.
Where Authentication Request appears in the call flow
UE gNB / AMF
|--- Registration Request ------>|
|<-- Identity Request (opt) -----|
|--- Identity Response (opt) ---->|
|<-- Authentication Request -----|
|--- Authentication Response ---->|
It usually appears during initial registration, but it can also appear in update procedures depending on context.
Transport characteristics
- Direction: AMF to UE
- Interface: N1
- Transport on access side: commonly via
DL Information Transfer - Security expectation: often still plain NAS in early registration, though exact protection depends on the procedure branch
What Authentication Request means operationally
Operationally, this message tells engineers that the AMF has enough identity context to start subscriber authentication. From this point on, the trace should be interpreted as a challenge-response exchange rather than just access or identity handling.
The most useful first checks are:
- whether the challenge values are present and well formed
- whether the UE answers with
Authentication ResponseorAuthentication Failure - whether the procedure is 5G AKA or EAP based
Important Information Elements
| IE | Why it matters |
|---|---|
ngKSI | Tells you which NAS security key set context is associated with the procedure. |
ABBA | Helps protect against bidding-down between architectures and should be decoded correctly. |
RAND | Main random challenge value used by the UE to compute its response. |
AUTN | Lets the UE verify the network and derive authentication context. |
EAP message | Indicates EAP-based authentication when present. |
Example message dump
Authentication Request
Extended Protocol Discriminator: 5G Mobility Management
Security Header Type: Plain NAS
Message Type: Authentication Request
ngKSI: 3
ABBA: 0x0000
RAND: 9f76b5c4a102f6d1557a4f2cb9d0e841
AUTN: 8d34fe2210ca7f118e4c22aa119b55f0
How to read this dump
- Start with
RANDandAUTNbecause they define the challenge. - Check
ngKSIto understand expected security context. - Then decide whether the next useful branch is
Authentication Response,Authentication Failure, or an EAP-specific result path.
What to check in logs
- verify that the message appears after the correct registration or identity stage
- inspect
RAND,AUTN, andABBAif authentication repeatedly fails - check whether the UE answers or silently stalls
- correlate the exchange with the later
Authentication ResultorSecurity Mode Command
Related message pages
- 5G NAS - Registration Request
- 5G NAS - Authentication Response
- 5G NAS - Authentication Failure
- 5G Authentication Procedure
FAQ
What does Authentication Request do in 5G?
It challenges the UE so the network can verify subscriber identity before allowing registration to continue.
Summary
Authentication Request is the NAS message the AMF uses to challenge the UE and start the 5G primary authentication procedure.