UE (phone) Real gNB / core Rogue base station

5G SUPI/SUCI Identity Concealment (2D)

This simulator renders a phone attaching to a 5G radio network on a 2D canvas and runs a real ECIES pipeline — an ephemeral ECDH key exchange (P-256, via the browser's own SubtleCrypto) feeding an AES-256-GCM encryption of the subscriber's permanent identity — every time it sends an attach message. Switch to legacy 4G plaintext mode and toggle a rogue base station (an IMSI-catcher) on the path to see exactly what a passive attacker gains in each case: in 4G mode the raw identity is exposed on every attach, while in 5G mode the interceptor only ever captures ciphertext it cannot decrypt without the home network's private key, and a fresh ephemeral key pair each attach keeps even the ciphertext from being linkable across sessions.