With the widespread rollout of standalone 5G (5G SA) networks across enterprise fleets and mobile workforces, professionals routinely use smartphones as primary connectivity hubs via mobile hotspot tethering (Wi-Fi, USB, and Bluetooth PAN). Modern cellular chipsets handle data transmissions alongside Voice over New Radio (VoNR) and Voice over LTE (VoLTE)—both built on the IP Multimedia Subsystem (IMS) architecture.

Rather than operating on isolated radio hardware, 5G SA handsets multiplex general internet data and carrier telephony over concurrent Packet Data Unit (PDU) sessions. When mobile hotspot mode is engaged, the host operating system establishes internal IP forwarding bridges between the local tethered subnet (192.168.43.0/24 or 172.20.10.0/24) and cellular baseband interfaces.

Under typical default configurations, this shared multi-interface stack creates a subtle yet critical security exposure: Cellular IMS Telemetry and Signaling Leaks over Tethered Networks. Weak kernel policy routing and unsegmented network namespaces allow tethered client devices—or rogue software running on them—to probe, intercept, and leak unencrypted Session Initiation Protocol (SIP) messages, exposing subscriber identities, call states, and cellular tower telemetry.

+-------------------------------------------------------------------------+
|     5G DUAL-BEARER TETHERING EXPOSURE VS. WIREGUARD NAMESPACE ISOLATION |
+-------------------------------------------------------------------------+
|                                                                         |
|  [ CONVENTIONAL 5G HOTSPOT - UNSEGMENTED ROUTING TABLE VULNERABILITY ]  |
|                                                                         |
|  Tethered Laptop / Client              Host 5G Smartphone    gNodeB     |
|  [ Work Laptop (192.168.43.15) ]       (Qualcomm / Exynos)   (Tower)    |
|  - Sends web traffic --------------> [ iptables Masquerade ]            |
|  - Probes local bridge (192.168.43.1)       |                           |
|  - Scans adjacent rmnet_ims0 <------+       v                           |
|    "Captures SIP INVITE / REGISTER"  [ rmnet_data0 ] ----> 5QI 9 (Data) |
|    - IMSI / MSISDN / IMEI-SV         [ rmnet_ims0  ] ----> 5QI 5 (SIP)  |
|    - Cell ID / Tower coordinates            |              5QI 1 (Voice)|
|                                             v                           |
|                                 Unencrypted Local Leakage               |
|                                 Subscriber Identity Disclosed           |
|                                                                         |
|  =====================================================================  |
|      CRYPTOGRAPHIC HARDENING: STRICT NAMESPACE SEPARATION & WIREGUARD   |
|                                                                         |
|  Tethered Endpoint                     5G Host Gateway       Core Net   |
|  [ End-to-End Encrypted wg0 ] ------> [ Isolated VRF Table ] -> [ 5G SA ]
|  - ChaCha20-Poly1305 Overlay          [ nftables Drop rule ]    [ Core  ]
|  - Clamped MTU = 1360 (No Frag)       - Blocks all ingress      - Zero  |
|  - No local IMS interface visibility    to rmnet_ims0 from       Bridge |
|                                         tethered subnet          Leaks  |
+-------------------------------------------------------------------------+

The Multi-Bearer Architecture of 5G Standalone Handsets

To understand how IMS signaling leaks occur during tethering, engineers must examine how mobile operating systems interact with 5G cellular modems.

1. Dual-APN Multiplexing and 5G QoS Identifiers (5QI)

Under 3GPP specifications, a 5G smartphone maintains multiple concurrent PDU sessions across distinct Access Point Names (APNs):

  • Internet APN (rmnet_data0 / pdp0): Assigned 5G QoS Identifier 9 (5QI 9), operating as a standard best-effort data pipe for browsing, background apps, and tethered traffic.
  • IMS APN (rmnet_ims0 / ims): Assigned high-priority QoS channels—5QI 5 for SIP signaling (guaranteed low latency, non-GBR) and 5QI 1 for real-time voice packets (Guaranteed Bit Rate).

The smartphone operating system exposes both APNs as distinct virtual network interfaces. While external cellular carriers isolate these PDU sessions across separate GPRS Tunneling Protocol (GTP-U) tunnels on the radio access network, the host smartphone's Linux kernel manages both interfaces within the same network namespace by default.

2. The Mechanics of Tethering Routing Table Bleed

When an Android or iOS user toggles on "Mobile Hotspot", the system triggers several network modifications:

  1. It assigns a static IP to the tethering Wi-Fi interface (e.g., wlan1 or softap0 at 192.168.43.1).
  2. It launches a local DHCP and DNS daemon (such as dnsmasq) to hand out IP leases to connected client devices.
  3. It enables global kernel packet forwarding:
    sysctl -w net.ipv4.ip_forward=1
    
  4. It installs a general NAT rule using iptables or nftables to masquerade client traffic egressing through the default WAN interface:
    iptables -t nat -A POSTROUTING -o rmnet_data0 -j MASQUERADE
    

Because kernel forwarding is enabled globally rather than restricted to a point-to-point interface pair, any client device connected to the mobile hotspot can route packets toward any interface present in the smartphone's routing table—including rmnet_ims0.

Attack Vectors: SIP Sniffing and Identity Harvest

In corporate environments where field devices, BYOD laptops, or guest hardware connect to a supervisor's 5G mobile hotspot, unsegmented tethering exposes multiple attack surfaces.

+-------------------------------------------------------------------------+
|                    IMS SIP TELEMETRY HARVEST VECTOR                     |
|                                                                         |
|  Tethered Device (192.168.43.88) ------------> Phone Bridge (wlan1)     |
|                                                      |                  |
|  [ Eavesdropper or Compromised App on Laptop ]       |                  |
|  1. Sends SYN scan across 192.168.43.1/24 subnet     |                  |
|  2. Detects local IMS SIP daemon listening on        v                  |
|     internal baseband interface (port 5060)   [ Kernel Routing Table ]  |
|  3. Captures raw SIP dialogs during call:            |                  |
|     - INVITE sip:+12025550199@ims.mnc410.mcc310.3gppnetwork.org         |
|     - P-Preferred-Identity: "Alice" <tel:+12025550144>                  |
|     - P-Access-Network-Info: 3GPP-NR-FDD; utran-cell-id-3gpp=...        |
|     - User-Agent: Smartphone-Model/OS-Build-ID                          |
+-------------------------------------------------------------------------+

Vector 1: Exposure of Cleartext SIP Signaling

While carrier voice audio (RTP) is typically secured with SRTP over cellular radio, carrier IMS signaling (SIP over UDP/TCP port 5060) is frequently transmitted without IPSec or TLS within the private carrier APN.

When an incoming or outgoing VoNR call occurs:

  • The baseband daemon exchanges SIP INVITE, RINGING, and OK control packets.
  • Because these control packets contain headers like P-Asserted-Identity, From, To, and Contact, an attacker on the tethered Wi-Fi subnet can capture raw telephone numbers, subscriber IMSI identifiers, and device IMEI numbers.
  • Cellular location metadata embedded in P-Access-Network-Info discloses the exact Cell Global Identity (CGI) and Tracking Area Code (TAC) of the radio tower serving the phone.

Vector 2: VPN Tunnel Omission and Tethering Blind Spots

A common misconception among remote workers is that running a commercial VPN on a laptop secures mobile hotspot usage, or conversely, running a VPN on the smartphone protects connected laptops.

  • Client-Side VPN: When a VPN is active only on the tethered laptop, it protects the laptop's payloads. However, the smartphone host's IMS signaling, carrier telemetry, and local APN interactions remain completely exposed.
  • Host-Side VPN: In mobile operating systems like Android, the standard VpnService API specifically isolates tethered traffic from the tunnel unless explicitly configured via low-level routing rules. Consequently, tethered laptop traffic often routes outside the phone's VPN tunnel entirely, leaking directly onto the public internet via cleartext cellular NAT.

Engineering Architecture: Complete Mobile WireGuard Isolation

To eliminate IMS signaling leaks and ensure deterministic security for all tethered clients over 5G networks, administrators must deploy strict policy routing and kernel-level WireGuard tunneling.

+-------------------------------------------------------------------------+
|                  ISOLATED 5G TETHERING ARCHITECTURE                     |
|                                                                         |
|  [ Tethered Client ]                 [ 5G Mobile Host ]                 |
|  Local IP: 192.168.43.10             wlan1: 192.168.43.1                |
|  WireGuard Overlay: 10.88.0.2        WireGuard wg0: 10.88.0.1           |
|         |                                    |                          |
|         | Encrypted ChaCha20-Poly1305 UDP    |                          |
|         +==================================> |                          |
|                                              | Forwarded strictly via   |
|                                              | isolated routing table:  |
|                                              | table 100 -> rmnet_data0 |
|                                              |                          |
|  [ Blocked Path ]                            x (nftables counter drop)  |
|  Client traffic attempting to reach ---------> rmnet_ims0 (Port 5060)   |
+-------------------------------------------------------------------------+

Step 1: Enforce nftables Firewall Isolation on the 5G Host

On rooted Android devices, Linux mobile gateways, or cellular routers, apply strict packet filtering rules to drop any communication between the tethering subnet and the IMS cellular interface.

Create or execute the following nftables ruleset in /etc/nftables.d/tethering-isolation.nft:

table inet tethering_guard {
    chain forward {
        type filter hook forward priority 0; policy drop;

        # Allow tethered clients to reach the external data APN only
        iifname "wlan1" oifname "rmnet_data0" accept
        iifname "rmnet_data0" oifname "wlan1" ct state established,related accept

        # Strictly block all tethered traffic from touching the IMS interface
        iifname "wlan1" oifname "rmnet_ims0" counter drop
        iifname "wlan1" ip daddr { 10.0.0.0/8, 172.16.0.0/12 } counter drop

        # Allow WireGuard tunnel traffic
        iifname "wlan1" oifname "wg0" accept
        iifname "wg0" oifname "wlan1" ct state established,related accept
    }
}

Apply the ruleset:

sudo nft -f /etc/nftables.d/tethering-isolation.nft

Step 2: Establish WireGuard Tunnel with Cellular MTU Clamping

Cellular 5G networks often restrict the physical MTU to 1420 bytes, especially when dual-stack IPv4/IPv6 translation (464XLAT / CLAT) is active. To prevent double fragmentation across the mobile hotspot bridge, clamp the WireGuard MTU to 1360 bytes.

Configure /etc/wireguard/wg0.conf on the tethered workstation:

[Interface]
Address = 10.88.0.2/24
PrivateKey = aAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEE=
ListenPort = 51820

# Clamped MTU: 1420 (Cellular WAN) - 40 (IPv6 Outer) - 8 (UDP) - 16 (WG Auth) = 1356 -> rounded to 1360
MTU = 1360

[Peer]
PublicKey = bBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBEE=
Endpoint = 198.51.100.25:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25

Bring up the tunnel on the client:

sudo wg-quick up wg0

To audit whether your public IP reflects the hardened tunnel rather than the mobile carrier's cellular CGNAT gateway, verify your network status with What is my IP.

Get VPNRice.

Security Diagnostic Verification Checklist

Execute the following commands to confirm that IMS signaling is insulated and tethered traffic cannot leak:

  1. Audit IMS Port Accessibility from Tethered Client: From the connected laptop, run:
    nc -z -v -u -w 2 192.168.43.1 5060
    
    Confirm that the connection times out and returns no active SIP service banners.
  2. Sniff for Raw SIP Packets: While initiating a VoNR voice call on the phone, run tcpdump on the tethered client interface:
    sudo tcpdump -i wlan0 -nn -s0 "port 5060 or port 5061"
    
    Verify that zero SIP control packets traverse the local Wi-Fi tethering link.
  3. Verify WireGuard Cellular Encapsulation: Inspect packet counters on the client tunnel:
    wg show wg0
    
    Ensure all upstream and downstream bytes increment uniformly through ChaCha20-Poly1305 encryption.
  4. Test MTU Integrity and Fragmentation: Execute an unfragmented ICMP probe:
    ping -M do -s 1332 1.1.1.1
    
    Confirm packets traverse the 5G cellular link without fragmentation or packet drops.

By deploying nftables interface isolation and clamping WireGuard tunnel MTU, remote professionals eliminate the risk of IMS telemetry leakage, ensuring safe and reliable tethering across 5G networks.