Real-Time Bidirectional Sniffing of Commercial 5G NR Networks
A passive radio receiver that decodes both directions of 5G traffic (tower → phone and phone → tower) live. It also works for phones that were already connected before it started listening, and for configurations the network sends encrypted.
Demo
Sniffing an ongoing phone call, live
NRSniffer starts after the target phone is already in a call on a 100 MHz commercial 5G cell. It recovers the phone's radio identifier from ongoing traffic and decodes its uplink and downlink transport blocks in real time. Payloads remain encrypted.
In plain words
What is NRSniffer?
Your phone and the cell tower talk to each other over radio. Your messages, calls and web pages are encrypted, but only on the inside. Around them, the radio layer is not encrypted: control messages announce which phone is being served, when, and how, and are followed by the data blocks that carry the phone's actual traffic.
NRSniffer is a radio receiver built from an off-the-shelf software-defined radio and a regular PC. It decodes this whole radio layer, both the control messages and the downlink and uplink data blocks they schedule, for every phone in a cell, in real time. Each data block is recovered bit-exact and checked against its checksum, right up to where encryption begins. NRSniffer never transmits and does not break encryption.
What it can decode
- Control messages (DCI) that schedule every transmission
- Downlink (PDSCH) and uplink (PUSCH) data blocks, verified by checksum (CRC)
- Each phone's temporary radio identifier (C-RNTI), modulation, data size and timing
- Per-phone signal quality and channel estimates
What it does not do
- Decrypt your messages, calls or browsing (payloads stay encrypted)
- Transmit, jam or interfere with the network
- Need the phone's keys, the operator's equipment, or access to the target phone
Threat model
Learn once, then listen passively
Configuration profiling
Before sniffing, the observer connects its own open-source UE with a valid commercial SIM, replays commercial phone capabilities and mutated variants, and records the configurations the network assigns to that UE.
Traffic sniffing
SDRs and a commodity PC capture and decode over-the-air traffic. Nothing is transmitted, and there is no interaction with the observed phones or the base station, no access to network infrastructure, and no cryptographic keys.
How it works
Three challenges, three approaches
Unlike LTE, where a sniffer can try a handful of candidate settings, 5G NR decoding depends on many per-phone physical-layer settings that the network sends inside encrypted signaling. These settings decide even the size and layout of the control messages.
The network privately tells each phone how its messages are formatted, and that conversation is encrypted.
The gNB updates UE-dedicated PHY configurations via encrypted RRC Reconfiguration. A sniffer that keeps the old configuration searches for the wrong DCI size and misreads fields. Decoding the data also needs the right MCS tables and DMRS parameters.
Learn the formats by asking the network yourself, while pretending to be many different phone models.
The gNB assigns configurations based on the capabilities a UE reports, and phones with similar capabilities tend to get the same configuration. NRSniffer:
- Collects UE capabilities from 21 COTS phones (5 phone vendors, 5 baseband vendors).
- Mutates 57 PHY-relevant fields plus band combinations to produce 83 variants.
- Replays all 104 through an instrumented OpenAirInterface UE with a commercial SIM and reads its own decrypted RRC Reconfiguration.
- Groups the results into reusable profiles (21 in Network K, 14 in Network U). During sniffing, the profile whose data CRC passes is the right one.
If you start listening after a phone has connected, you missed the moment it was given its name tag.
A sniffer that misses initial access lacks session-specific parameters. The first is the C-RNTI, which is needed to check DCI CRCs and descramble data. In some networks the second is the PDSCH DMRS scrambling identity, which is needed for channel estimation. Without them, an already-connected UE cannot be decoded at all.
Work the name tag out from the phone's ongoing traffic, quickly ruling out impossible guesses.
- Syndrome-guided C-RNTI recovery: polar frozen-bit syndromes turn each RNTI hypothesis into an XOR and popcount over 215 precomputed signatures. The 16 closest candidates go to full soft-decision polar decoding with CRC validation.
- CCE-based pruning: the spec ties a C-RNTI to the PDCCH locations it may use, so hypotheses that don't fit the observed location are dropped. This prunes 22% (K) and 81% (U) of tested hypotheses.
- DMRS identity recovery: the received DMRS is correlated against candidate identities, and the PDSCH CRC confirms the match.
There is a huge amount of radio traffic, very little time, and phones constantly joining and leaving.
Heavy: 2,000 slots/s of 100 MHz, 4-antenna samples, with repeated DCI and RNTI searches. Time-critical: NR may schedule an uplink within 1 ms, and each UE needs its own uplink timing. Stateful: UEs connect, disconnect and get RNTIs reassigned.
Split the work: the graphics card tests thousands of guesses in parallel, and the CPU handles timing and bookkeeping.
- GPU: batched PDCCH candidate search, syndrome-based C-RNTI recovery, and DMRS identity correlation.
- CPU: 24 parallel slot workers, cross-slot scheduling, per-UE adaptive uplink synchronization, and an active-UE table.
- When all workers are busy, the newest slot is dropped instead of queued. This keeps latency bounded, at the cost of some coverage under heavy load.
System overview
Artifacts
Data behind configuration profiling
The phones whose capabilities were collected, the capability fields that were mutated, and the RRC Reconfiguration profiles found in each commercial network.
COTS UEs used to collect UE capabilities
Each capability was captured either from an open-source gNB in the target band or from the target network (with a commercial SIM) using an XCAL trace, then decoded to XML as a mutation baseline.
| # | Phone | Baseband | Baseband vendor | Profile (K) | Profile (U) |
|---|
Total: 21 UEs, 5 phone vendors (Apple, Google, Huawei, Samsung, Xiaomi), 5 baseband vendors (Apple, HiSilicon, MediaTek, Qualcomm, Samsung LSI). Profile columns come from the COTS rows of the profile tables below. Two phones were also checked against XCAL logs on live networks and received exactly the predicted configuration (marked “validated”).
Mutated UE capability fields
Of the 57 mutated fields, only 20 (plus band combinations) changed the RRC Reconfiguration, and only 14 selected distinct profiles. Fields were chosen using semantics from TS 38.306 / 38.331 (an LLM suggested candidates, and each was verified against the specification).
| Group | Capability field | Meaning | Mutation | Changes | Resulting RRC Reconfiguration change |
|---|
Fields with no change in either network
| Group | Fields |
|---|
Mutation: del = delete; add = insert with a value copied from a phone that has it; otherwise the value is changed. Changes = networks whose RRC Reconfiguration changed. Band combinations X/Y = DL/UL CA bandwidth class (TS 38.101-1): A = one carrier; C, D = two, three contiguous carriers; A+A = two non-contiguous carriers in the same band.
RRC Reconfiguration profiles in Networks K and U
Only 11 profiles (7 on K, 4 on U) came from unmodified phone capabilities. Mutations revealed the other 24. DCI 1_1 sizes range from 50 to 57 bits, yet profiles of equal size can still differ in field layout (K05/K06) or MCS table (K16/K01), which is why brute force over sizes is not enough.
| ID | Source | RRC change vs. reference | DCI 1_1 / 0_1 (bits) | Effect on decoding |
|---|
Responsible research
Ethics & disclosure
- Testbed experiments ran in an RF-shielded room with a test PLMN and test SIMs.
- On commercial networks, only phones and SIMs owned by the authors were targeted. Decoded packets were not stored and payload decryption was never attempted. Only aggregate statistics were kept for other UEs.
- Findings were reported to the GSMA Coordinated Vulnerability Disclosure programme. The report was acknowledged and the review is ongoing.
- We argue that 6G should set explicit lower-layer confidentiality requirements. Encrypting UE capabilities or RRC Reconfiguration alone is not enough, because configurations can be learned through legitimate connections.