IMSI and authentication vector harvesting over SS7 and Diameter
How SendIMSI, SendAuthenticationInfo and S6a AIR are abused to obtain subscriber identities and authentication vectors, what an attacker can (and cannot) do with them, and how to detect harvesting.
What this attack class is
Retrieval of IMSI or authentication vectors, enabling network impersonation (fake base stations), decryption of captured radio traffic and subscriber tracking. SignalsGuard rates this class critical: it affects a live subscriber directly and is a known technique of commercial surveillance platforms.
Signalling operations involved
These are the messages an attacker sends. Severity is the rating of a single message before correlation; a message that is part of a detected attack chain is raised.
| Operation | Protocol | Code | What it does and why it matters | GSMA FS.11 | Severity |
|---|---|---|---|---|---|
| MAP-SAI | SS7 | 56 | SendAuthenticationInfo — retrieves authentication vectors from the HLR. Only valid from the VLR currently serving the subscriber. | Cat 3 | High |
| MAP-SendIMSI | SS7 | 58 | SendIMSI — resolves an MSISDN to its IMSI. Intra-network only. | Cat 1 | Critical |
| MAP-SendParameters | SS7 | 9 | SendParameters — legacy (MAP phase 1) request for subscriber and authentication data. Rare on modern interconnects, so any use deserves review. | Cat 3 | Medium |
| MAP-RestoreData | SS7 | 57 | RestoreData — a VLR asks the HLR to restore a subscriber record after a restart. Abused to obtain the MSISDN behind an IMSI, for example one captured by an IMSI catcher. | Cat 3 | Medium |
| S6a-AIR | Diameter | 318 | S6a Authentication-Information-Request — retrieves EPS authentication vectors from the HSS. Only valid from the serving MME. | – | High |
| Nudm-UEAU-Get | 5G-SBA | – | Nudm_UEAU_Get generates authentication vectors in the UDM. Only the home AUSF calls it; it is never valid across N32. | – | Critical |
| Nausf-UEAuthentication | 5G-SBA | – | Nausf_UEAuthentication_Authenticate is sent by the visited AMF (SEAF) to the home AUSF to authenticate an outbound roamer. Valid only from the network actually serving the subscriber. From elsewhere it hands out authentication challenges that are useful for impersonating the network. | – | High |
| Namf-Comm-UEContextTransfer | 5G-SBA | – | Namf_Communication_UEContextTransfer asks the old AMF to hand over a UE's context, including its security context, during mobility. Across PLMNs it is valid only between networks with an inter-PLMN mobility agreement; otherwise it is an attempt to obtain the subscriber's keys. | – | Critical |
Multi-step attacks we detect
Single messages are often ambiguous. These sequences are what make an attack unmistakable:
- Authentication vector harvesting — Authentication vectors (SAI / S6a AIR) requested by one source for subscribers of many home networks. Vectors allow network impersonation and decryption of captured radio traffic; the subscriber key Ki is never exposed.
Detected when: MAP-SAI / S6a-AIR for 3+ home networks (IMSI MCC+MNC); 10+ requests when no IMSI prefix is supplied.
How to defend against it
- Accept MAP SAI / Diameter AIR only from the VLR/MME currently serving the subscriber (FS.11 Category 3)
- Block MAP SendIMSI at the interconnect
- Alert on bulk vector requests per source
- At the SEPP, never forward Nudm_UEAU or Namf_Communication_UEContextTransfer from a foreign PLMN
How SignalsGuard detects it
Every event in your signalling data is classified by operation and checked against your own GT, Diameter realm and IP ranges and your roaming partners’ IR.21 data. Messages that should have been blocked, attack chains, coordinated sources and evasion techniques (for example global opcodes or MAP disguised as CAMEL) are flagged, and the compliance view shows which GSMA FS.11, FS.19 and FS.20 controls are working. See GSMA FS.11 filtering categories and the full threat library.
SignalsGuard analyses your signalling firewall exports or raw signalling metadata for every technique on this page and shows which controls are working. No installation in your network. Request access or ask for a free 5-day pilot.