← Book home
Part 2 · Authentication and Access Security
4

5G Identity and Subscription Security

SUPI, SUCI, and the end of 25 years of identity leakage

“The most private thing you own is not your messages. It is the fact of where you are — and your identity is the key to it.” — WHY SUCI EXISTS

For a quarter of a century, mobile networks had a dirty secret: your permanent identity regularly crossed the air in cleartext, and anyone with a fake base station could harvest it. 5G is the generation that finally fixed this — with public-key cryptography on the SIM card. This chapter dissects the 5G identity family, the SUCI concealment machinery, and the hardware root of trust beneath it all.

🎯 Learning objectives
📘 Standards reference box — Chapter 4
SpecificationTitleRelease / version verified
TS 33.5015G security — identity privacy clauses + Annex C (ECIES profiles)Rel-18, v18.11.0 (2026-04)
TS 23.003Numbering, addressing and identification (SUPI/SUCI/GUTI formats)Rel-18/19 edition
TS 23.501System architecture (identity usage)Rel-19, v19.6.0
TS 31.102USIM application characteristicsRel-18 edition

Checked June 2026 — verify against the latest 3GPP version.

4.1 The 5G Identity Family

5G gives a subscriber and a device a small family of identifiers, each with a precise privacy job:

FIGURE 4.1The 5G Identity Family Tree
WHO IS TALKING? two branches: subscription vs equipment SUPI — permanent subscription ID IMSI-based or NAI-based · lives in USIM + UDM SUCI — concealed form SUPI encrypted to home public key ✓ may cross the air 5G-GUTI — temporary alias assigned by AMF, reallocated often ✓ everyday signaling + paging PEI — equipment identity usually IMEI · the device, not the person requested only AFTER NAS security is established (stolen-device checks, EIR) THE GOLDEN RULE OF 5G IDENTITY the SUPI itself NEVER crosses the air in cleartext — only SUCI (at registration) or 5G-GUTI (everyday) do
Purpose: the cast of characters for Part 2. If you remember one thing: cleartext SUPI on the radio is always a misconfiguration or an attack.

SUPI formats

Two formats exist (TS 23.003): the IMSI-based SUPI (MCC + MNC + MSIN — the classic 15-digit structure, used by public operators) and the NAI-based SUPI (Network Access Identifier, e.g. [email protected] — used by private networks/SNPN with non-IMSI credentials).

FIGURE 4.2SUPI Formats — IMSI-Based and NAI-Based
IMSI-based SUPI (public PLMN) 404 45 617890123 MCC — country MNC — operator MSIN — the subscriber (404 = India) the part SUCI encrypts NAI-based SUPI (SNPN / private) [email protected] username @ realm — Chapter 21 (NPN) PRIVACY INSIGHT SUCI conceals only the subscriber-specific part (MSIN / username). MCC+MNC / realm stay readable — the network must know WHERE to route, without knowing WHO is asking.
Purpose: what exactly gets hidden. Routing information stays visible by design; the personal part is encrypted.

4.2 The Problem SUCI Had to Solve

Recall Chapter 1’s IMSI catcher: a fake cell sends an unauthenticated Identity Request, and a 4G phone obediently answers with its IMSI — because at first contact, no security context exists yet. That is the chicken-and-egg of mobile identity: the network must learn who you are before it can authenticate you, but anything sent before authentication is readable and spoofable.

5G’s answer is elegant: asymmetric cryptography. The UE carries the home operator’s public key. It encrypts its identity so that only the home operator’s private key — held in the SIDF, deep in the home core — can recover it. The fake base station receives a blob that is different every time (fresh ephemeral key per concealment) and useless for tracking.

FIGURE 4.3The Identity Harvest — 4G vs 5G at First Contact
4G AND BEFORE UE Identity Request (no auth needed) IMSI: 404456178901234 ATTACKER GETS: ✓ permanent identity — track for life ✓ presence proof — “target is HERE, NOW” ✓ linkability — same answer every time 5G SA UE Identity Request SUCI: 0x8f3a…c2 (fresh blob) ATTACKER GETS: ✗ ciphertext only — needs home private key ✗ different blob every attempt — no linking ✗ cannot even confirm WHICH subscriber
Purpose: the before/after that justifies all the machinery below. Note the freshness property — even the same subscriber produces a different SUCI every time.

4.3 SUCI Structure and the Concealment Pipeline

A SUCI is not just an encrypted IMSI — it is a structured object that tells the home network how to decrypt it:

FIGURE 4.4SUCI Structure — Fields and Scheme Output
SUPI typeIMSI / NAI Home network IDMCC + MNC (clear) Routing indicator→ which UDM/SIDF Protection schemenull / A / B Home key IDwhich public key SCHEME OUTPUTthe encrypted part ↓ UE ephemeral public key fresh per concealment → unlinkability Ciphertext encrypted MSIN / username MAC tag integrity of the blob WHY THE CLEAR FIELDS EXIST a roaming AMF in another country must route the SUCI to the right home UDM — without ever learning who is inside it
Purpose: SUCI as a routable envelope. Clear fields say where to send it; the scheme output hides who it is.

ECIES: how the encryption works

The protection schemes use ECIES (Elliptic Curve Integrated Encryption Scheme) — a standard hybrid construction. TS 33.501 Annex C defines two profiles:

ProfileCurveCrypto suiteNotes
Profile ACurve25519 (X25519)AES-128-CTR + HMAC-SHA-256modern Montgomery curve
Profile Bsecp256r1 (P-256)AES-128-CTR + HMAC-SHA-256NIST curve, common in HSMs
nullnone — SUPI passes visibleemergency / test only
FIGURE 4.5ECIES Concealment Inside the UE — Step by Step
① generate EPHEMERAL key pair fresh (eSK, ePK) for THIS concealment only ② ECDH key agreement eSK × home network PUBLIC key → shared secret ③ KDF expands secret → AES key + MAC key (+ ICB) ④ AES-128-CTR encrypts the MSIN only the personal part — MCC/MNC stay clear ⑤ HMAC-SHA-256 over ciphertext MAC tag — SIDF rejects tampered blobs ⑥ SUCI = ePK ∥ ciphertext ∥ MAC + clear routing fields → sent in Registration Request FRESHNESS = UNLINKABILITY step ① runs anew every time → two SUCIs of the same subscriber are computationally unlinkable to anyone without the home private key
Purpose: the six steps your SIM (or ME) executes before any registration. The ephemeral key in step ① is the unsung hero — it makes every SUCI a one-time pseudonym.
FIGURE 4.6The Home Network Public Key — Provisioning and Trust
HOME OPERATOR generates key pair (per routing group) PUBLIC key → USIM provisioned at personalization or updated OTA — millions of copies, fine PRIVATE key → SIDF only in the UDM/HSM, home core ONE copy — leak = privacy game over Serving network holds NEITHER key — by design
Purpose: the asymmetry that makes roaming privacy work. A visited network can route your SUCI but can never open it.

4.4 De-concealment at the SIDF

When the registration reaches the home network, the SIDF (Subscription Identifier De-concealing Function, co-located with UDM) reverses the pipeline: ECDH with its private key and the UE’s ephemeral public key → same shared secret → verify MAC → decrypt → SUPI. Authentication then proceeds against the real subscription, and crucially — the AUSF later binds the recovered SUPI to the authentication result, so a UE cannot register with someone else’s concealed identity.

FIGURE 4.7SIDF De-concealment — Message Sequence
UE AMF (serving) UDM + SIDF (home) ① Registration Request ( SUCI ) ② Nudm_UEAuthentication_Get ( SUCI ) — via AUSF SIDF (private key): ③ ECDH(privKey, ePK) → secret ④ verify MAC — reject if tampered ⑤ decrypt → SUPI ✓ ⑥ auth method + vector for THIS SUPI ⑦ … authentication proceeds (Ch 5–6); the result is cryptographically bound to the de-concealed SUPI the AMF learns the SUPI only AFTER successful authentication (in the Nausf response) — never from the air
Purpose: who learns what, when. The visited AMF routes a blob; the identity materializes only inside the home core, and only as authentication succeeds.

When is SUCI actually sent?

Rarely — and that is the design. The UE sends a SUCI only when it has no valid 5G-GUTI: first-ever registration, after a USIM swap, when the network cannot resolve the GUTI it presented, or after explicit identity re-request (which in 5G is only honored for SUCI, never cleartext SUPI). Everyday traffic runs on the GUTI.

FIGURE 4.8When SUCI Is Sent — the Identity Decision Flow
UE must register valid 5G-GUTI on hand? (and network can resolve it) YES (normal case) NO register with 5G-GUTI temporary alias — no permanent ID on air AMF maps GUTI → stored context compute FRESH SUCI first registration · USIM swap · GUTI unresolvable · identity re-request cleartext SUPI on the air: NOT A PATH in 5G SA
Purpose: identity traffic discipline. SUCI is the exception, GUTI is the rule — and cleartext SUPI is never an option.

4.5 5G-GUTI: the Everyday Alias

The 5G-GUTI is the workhorse identity: assigned by the AMF over protected NAS, used for service requests, paging, and re-registration. Its structure embeds which AMF holds your context (so any gNB can route you back) plus the 5G-TMSI, your short temporary number.

Privacy depends on reallocation discipline — TS 33.501 requires a fresh GUTI after key events. A GUTI that never changes becomes a de-facto permanent identifier and resurrects the tracking problem SUCI solved.

FIGURE 4.95G-GUTI Structure and Reallocation Discipline
5G-GUTI = GUAMI (which AMF) + 5G-TMSI (which UE) PLMN IDMCC + MNC AMF Region ID8 bits AMF Set ID10 bits AMF Pointer6 bits 5G-TMSI32 bits — “you, for now” GUAMI — routes any gNB back to the AMF holding your context REALLOCATION TRIGGERS (TS 33.501 — “should be reallocated frequently”) ✓ every initial registration ✓ every mobility registration update ✓ periodic registration update ✓ after Service Request triggered by paging ✗ a never-changing GUTI = a permanent identifier = trackable subscriber
Purpose: structure plus discipline. Chapter 19 shows real attacks on networks that assigned GUTIs and kept them for days.

4.6 The UICC/USIM: Hardware Root of Trust

Everything above rests on the UICC — a tamper-resistant smart card (or embedded eUICC/iUICC) running the USIM application. It stores K and the home public key, executes MILENAGE/TUAK and (typically) the ECIES concealment, and enforces PIN/ADM access control. The ME/USIM split means: malware in the phone OS can abuse the USIM as an oracle while present, but cannot extract K and clone the subscription.

FIGURE 4.10The Hardware Root of Trust — Layers and Risk Gradient
UICC hardware — tamper-resistant secure element K 🔑 · home public key · side-channel countermeasures · CC-evaluated USIM application MILENAGE/TUAK · SQN · SUCI computation · PIN/ADM ME baseband + NAS/AS stacks session keys only — replaceable state Phone OS · apps · user ⚠ assume compromised — design ceiling applies attack likelihood rises ↑ trust & secrecy rises ↓
Purpose: the inverse gradient that drives UE security design — the most attacked layers hold the least valuable secrets.
FIGURE 4.11USIM vs ME — Who Computes What
IN THE USIM (always) 🔑 stores K — never exports it ⚙ runs f1–f5 (MILENAGE/TUAK): MAC, RES, CK, IK, AK ⚙ verifies AUTN (network authenticity + SQN) ⚙ tracks SQN — replay defense 🔐 holds home network public key compromise ceiling: oracle abuse only IN THE ME 🔑 derives + holds session keys (K_AMF → AS) ⚙ computes RES* from RES (5G-specific step) ⚙ executes NAS + PDCP ciphering/integrity 📦 stores 5G-GUTI, security contexts ⚙ SUCI computation IF operator configures ME-based compromise ceiling: current sessions SUCI calculation placement (USIM vs ME) is an operator personalization choice — USIM-based keeps the public key usage inside the secure element
Purpose: the responsibility contract. Auditors: ask your USIM vendor where SUCI is computed and which profile is provisioned — both are configuration, not defaults.

4.7 The Null Scheme: the Hole You Must Close

The null protection scheme sends the SUPI essentially visible inside a SUCI wrapper. 3GPP keeps it for two legitimate cases: unauthenticated emergency calls and operator/lab configurations where concealment is not provisioned. The operational reality: null-scheme left enabled after integration testing is one of the most common 5G privacy failures in live networks (it featured in Chapter 1’s real example, and Chapter 26 builds a KPI to catch it).

FIGURE 4.12Null-Scheme Risk — Legitimate Uses vs the Classic Failure
LEGITIMATE 🚑 unauthenticated emergency calls (no USIM / no key) 🧪 lab and integration testing 📡 operators not (yet) provisioning home keys — a policy choice bounded, conscious, documented THE CLASSIC FAILURE integration uses null scheme “for now” → launch day arrives, nobody flips it → subscribers send IMSI-equivalents in the clear for months SUCI’s entire purpose — silently OFF seen in real launches (Ch 1 example) THE DEFENSE 📊 KPI: % registrations using null scheme (alert > baseline) ✅ launch checklist item: scheme A/B enforced + verified 📋 audit: capture one registration, read the scheme ID field yourself → Chapters 26 & 28
Purpose: null scheme exists for reasons — and stays enabled by accident. One Wireshark capture of a Registration Request settles whether your network is exposed.

4.8 The Practical Operator View

Common misconfiguration risks

4.9 Threats and Mitigations

ThreatVectorMitigation
Identity harvestingfake cell identity requestSUCI — only concealed identity ever answered
Linkability / trackingrepeated registrations observedfresh ephemeral key per SUCI; GUTI reallocation
Home private key theftUDM/SIDF compromiseHSM custody, key rotation via key IDs, access audit
SUCI replay/tamperingmodified blob to SIDFMAC verification in ECIES; freshness
Downgrade to null schememisconfigurationenforcement policy + null-scheme KPI
SIM cloningphysical/side-channel on UICCtamper-resistant UICC, MILENAGE/TUAK with operator constants

4.10 Terminology, Example, Checklist

TermMeaning
SUPI / SUCIPermanent subscription ID / its concealed over-the-air form
MSINThe subscriber-specific digits inside an IMSI-based SUPI — the part that gets encrypted
ECIESElliptic Curve Integrated Encryption Scheme — the hybrid construction behind SUCI
SIDFSubscription Identifier De-concealing Function — holds the home private key
5G-GUTI / 5G-TMSI / GUAMITemporary identifier / its short UE part / its AMF-identifying part
PEI / IMEIPermanent Equipment Identifier — the device, not the subscription
UICC / eUICCThe smart card platform (removable / embedded) hosting the USIM

Real network example. A Gulf operator launched 5G SA with SUCI Profile A and a single routing indicator. Months later, their privacy team found VIP government SIMs had been provisioned with a distinct routing indicator “for priority UDM handling” — making every VIP registration recognizable on the air from the clear routing field alone, despite perfect encryption. Fix: VIPs re-personalized onto the common routing indicator; priority handling moved inside the core. Lesson: privacy leaks love metadata.

Chapter Summary

? Review Questions

  1. Why must the MCC/MNC (or NAI realm) remain readable in a SUCI, and why is that acceptable?
  2. Explain how the ephemeral key pair in ECIES delivers unlinkability. What could link two SUCIs if it were reused?
  3. A roaming subscriber registers in your network. List every entity that sees the SUCI and every entity that sees the SUPI, in order.
  4. Contrast the compromise ceilings of (a) phone OS malware, (b) a stolen UICC without PIN, (c) UDM/SIDF private-key theft.
  5. Your trace shows the same 5G-TMSI paging a UE for six days. What is wrong, what does an attacker gain, and which spec requirement is violated?
  6. Why does 5G refuse to honor a cleartext-SUPI identity request, and what legacy attack does that kill?
  7. Profile A vs Profile B: name the curves and one practical reason an operator might choose B.
  8. Design the alarm: which fields of which message would your KPI inspect to detect null-scheme creep?
🧪 Mini lab — read a SUCI with your own eyes

In the Open5GS + UERANSIM lab (Chapter 33 has full setup): (1) configure the UE profile with SUCI enabled (scheme 1, home key provisioned) and capture the Registration Request in Wireshark — expand the 5GS mobile identity IE and identify scheme ID, home network public key ID, ephemeral public key, and ciphertext. (2) Re-register and diff the two SUCIs — confirm every encrypted byte changed. (3) Now set scheme 0 (null) and capture again — watch your “IMSI” appear, readable. That last capture is the picture to show any manager who asks why SUCI configuration matters.