Part 6 · Threats, Attacks, and Operator Protection
26
5G Security Monitoring and KPIs
You cannot defend what you cannot see — building the telemetry
"The standard tells you what should happen. Monitoring tells you what is happening. The gap between them is where every incident lives."
— WHY SECURITY TELEMETRY MATTERS
A perfectly configured 5G network still needs eyes. Authentication failures, registration anomalies, API abuse, roaming attacks, and misconfiguration drift all show up first in telemetry — if you collect it. This chapter builds the 5G security telemetry stack: which events to log from which NFs, the KPIs that reveal attacks, and how NWDAF can assist anomaly detection.
🎯 Learning objectives
Design a 5G security telemetry architecture.
Identify key events from AMF, AUSF/UDM, NRF, SEPP.
Analyze the authentication funnel and failure taxonomy.
Build a 5G security KPI dashboard.
Use NWDAF for security analytics.
📘 Standards reference box — Chapter 26
Reference
Title
Note
TS 33.501
5G security (event sources)
Rel-18, v18.11.0 (2026-04)
TS 23.288
NWDAF — network data analytics
Rel-18/19 edition
TS 28.5xx
Management & performance (logs/KPIs)
Rel-18 edition
Checked June 2026 — verify against the latest 3GPP version.
26.1 The Telemetry Architecture
FIGURE 26.1Security Telemetry Architecture — Sources to SIEM
Purpose: the pipeline. NFs emit events; collection normalizes and contextualizes them (NF, slice, partner); SIEM and NWDAF analyze; the SOC acts. Context tagging is what makes detection precise.
FIGURE 26.2AMF Event Catalog Worth Collecting
Purpose: the AMF is the richest security source. These events feed the authentication funnel, drift alarms, and anomaly detection — collect them all.
FIGURE 26.3The Authentication Funnel and Failure Taxonomy
Purpose: the single most valuable security view. A failure spike's cause (Chapter 6) determines the response — MAC failures suggest a rogue gNB; sync failures suggest a database issue.
FIGURE 26.4AUSF / UDM Analytics
Purpose: the home network's privileged view. AUSF/UDM see the authoritative authentication outcome and SUCI handling — including the null-scheme KPI from Chapter 4.
FIGURE 26.5NRF Log Goldmine — Discovery and Token Patterns
Purpose: the NRF as a sensor, not just a target. Its discovery and token logs reveal SBA reconnaissance and lateral-movement attempts (Chapter 24).
FIGURE 26.6SBA API Logging Pipeline
Purpose: log the SBA like the web platform it is. Structured per-call logs are both the detection feed and the forensic record for the core.
FIGURE 26.7SEPP / Roaming Log Analysis
Purpose: the roaming sensor. Per-partner baselines turn the SEPP's filtering into a detection feed — a partner's behavior change is an early attack signal (Chapter 13).
FIGURE 26.8NAS Security Failure Decision Tree
Purpose: route NAS failures correctly. Each type points to a different cause and investigation — integrity failures to tampering, capability mismatches to bidding-down or config (Chapters 5, 8).
FIGURE 26.9Suspicious Registration Patterns
Purpose: the early-warning gallery. These registration patterns precede many incidents; each deserves a standing alert.
FIGURE 26.10The 5G Security KPI Dashboard
Purpose: the standing dashboard. These KPIs operationalize the whole book — each maps to a mechanism chapter and a misconfiguration (Chapter 25).
FIGURE 26.11NWDAF-Assisted Anomaly Detection Loop
Purpose: the 3GPP-native analytics function. NWDAF models normal behavior and flags anomalies — a complement to rules, with its own risks (Chapter 31).
FIGURE 26.12Alert Severity and Routing
Purpose: turn telemetry into action without drowning the SOC. Severity-based routing connects KPIs to the playbooks of Chapter 27 — and avoids alert fatigue.
26.2 The Practical Operator View
Collect AMF, AUSF/UDM, NRF, SEPP events with NF/slice/partner context tags.
Split the authentication funnel by failure cause — it's the highest-value security view (Chapter 6).
Build the KPI dashboard (26.10) and alarm on drift (null crypto, SEPP filtering, UP integrity).
Use NWDAF to complement rules, not replace them (Chapter 31).
Route alerts by severity to the right responder; tune to avoid fatigue.
26.3 Threats Detected by KPI
KPI / signal
Detects
Chapter
MAC-failure cluster (geo)
rogue gNB
6,24
Sync-failure spike
SQN/DB issue (usually not attack)
6
Null-scheme/null-crypto %
privacy/config drift
4,8,25
SEPP filtering drops / partner anomaly
interconnect attack
13
API rate/quota breaches
scraping/abuse
12
NRF token anomalies
recon/lateral movement
10,24
Registration burst
FBS or signaling storm
23,24
26.4 Terminology
Term
Meaning
SIEM
Security Information and Event Management (correlation/alerting)
NWDAF
Network Data Analytics Function (3GPP-native analytics)
authentication funnel
Attempts → success, with failure-cause breakdown
drift alarm
Alert when config/behavior deviates from baseline
Real network example. A SOC analyst noticed the authentication-success KPI dip by 2% in one region — small enough that an aggregate "auth success rate" alarm never fired. Because the operator had split the funnel by failure cause, the analyst saw the dip was entirely MAC failures, clustered in a few adjacent cells, starting at 2 a.m. That signature — MAC failures (not sync), geographically clustered, off-hours — is the fingerprint of a false base station (Chapter 6). A field team found a rogue gNB in a parked van. Had the operator only tracked aggregate success rate, the attack would have hidden inside normal variance. The cause breakdown, not the headline number, is what catches the attack.
★ Chapter Summary
Build a telemetry pipeline from AMF, AUSF/UDM, NRF, SEPP into SIEM + NWDAF, with NF/slice/partner context tags.
The authentication funnel split by failure cause is the highest-value security view.
Each NF is also a sensor: NRF logs reveal SBA recon; SEPP logs reveal roaming attacks; UDM sees the authoritative auth picture.
The KPI dashboard operationalizes the book — null-crypto %, failure causes, SEPP drops, API quotas, mapped-context share, cert expiry.
NWDAF complements rules; route alerts by severity to avoid fatigue.
? Review Questions
Why tag every security event with NF/slice/partner context?
Why split the authentication funnel by failure cause, and what does a MAC-failure cluster indicate?
How is the NRF a security sensor, not just a target?
What roaming-attack signal appears in SEPP logs?
Name five KPIs in the security dashboard and what each detects.
How does NWDAF complement rule-based detection?
Why is alert severity routing important?
An aggregate auth-success KPI looks fine but an attack is underway. How could the cause breakdown reveal it?
🧪 Mini lab — build the funnel
In Open5GS, enable verbose AMF/AUSF logging and run several UERANSIM registrations including induced failures (wrong key → MAC failure; stale SQN → sync failure). (1) Build the authentication funnel: attempts → success, with failures bucketed by cause. (2) Inject a cluster of MAC failures and confirm your funnel highlights the cause, not just a dip in success. (3) Add a null-scheme/null-crypto KPI from the security-mode events. (4) Define the severity and routing for each: which is a dashboard trend, which pages on-call? You've now built the detection layer that turns the configured protections of this book into observable security.