The Problem

Signaling System 7 (SS7) is a suite of telephony protocols developed in 1975. It is the backbone of global telecommunications — responsible for routing calls, delivering SMS messages, enabling roaming, and coordinating handoffs between carriers worldwide. Every phone call you make, every text you send, and every time your phone connects to a tower while traveling — SS7 is involved.

The critical flaw: SS7 was designed in an era when only a handful of trusted national telecoms had access to the network. Authentication was never built in. If you have access to the SS7 network — which can be purchased through dozens of gray-market providers for under $1,000 — you can query location data, intercept SMS messages, and reroute calls for any phone number on earth, with no technical barriers.

Diameter is SS7's successor protocol, developed for 4G LTE and 5G networks. It was designed to be more secure — but it inherits many of the same architectural weaknesses, and the transition means that attackers who understand both protocols can often downgrade victims from Diameter to SS7, bypassing the newer protections entirely.

These vulnerabilities are not theoretical. They are being actively exploited — by nation-state intelligence services, private surveillance firms selling to governments, stalkerware operators, and criminal enterprises targeting high-value individuals for financial fraud and identity theft.

How SS7 and Diameter Attacks Work

// EXAMPLE: SMS Interception
An attacker with SS7 access sends a crafted "Send Routing Info for SM" request to the victim's home carrier, masquerading as another legitimate carrier doing a routine lookup. The home network returns the mobile subscriber's routing address — and the attacker silently redirects all incoming SMS to a number they control. The victim's phone shows no indication. Every SMS one-time password (OTP), bank code, and authentication text is now delivered to the attacker.
// EXAMPLE: Call Forwarding Hijack
Using SS7's "Register SS" operation, an attacker registers a supplementary service that unconditionally forwards the victim's calls to an attacker-controlled number. The victim continues to receive calls normally (in some configurations) while the attacker silently receives a parallel copy of every call. This technique has been used to intercept attorney-client communications and monitor business negotiations.
// EXAMPLE: Real-Time Location Tracking
SS7's "Provide Subscriber Info" and "Any Time Interrogation" operations can be abused to query a target's current serving cell tower without the victim's knowledge or any carrier authorization. This produces accurate geolocation data — often within 200–500 meters in urban areas — that updates in near real time. No warrant. No notification. No visible trace on the device. This capability is actively sold by commercial surveillance vendors to law enforcement and intelligence services worldwide, and is also available on criminal markets.
// EXAMPLE: Diameter Protocol Attacks on 4G/5G
Diameter attacks exploit the same class of design flaws in 4G and 5G networks. Researchers have demonstrated the ability to track subscriber location, intercept SMS, and cause denial-of-service to specific devices via crafted Diameter messages. The 3GPP standards bodies have published mitigation frameworks, but deployment is inconsistent — many carriers continue to run Diameter with minimal filtering on inter-carrier interfaces, leaving the same window of exposure that SS7 attacks exploit.
// EXAMPLE: SIM Swap Enabled by SS7 Access
SS7 interception of SMS is the technical foundation that makes SIM swapping devastating. Once an attacker controls the victim's incoming SMS, they can receive OTPs and bypass SMS-based two-factor authentication on any account — banking, email, crypto exchanges, social media. SS7 interception is the silent, infrastructure-level version of a SIM swap: the attacker doesn't need to social-engineer the carrier — they bypass the carrier entirely.

SIM Swapping: Social Engineering the Carrier

SIM swapping is a separate but related attack that achieves a similar outcome — taking over your phone number — through social engineering rather than SS7 exploitation. The attacker calls your carrier's customer service line, impersonates you using personal information gathered from data breaches and social media, and convinces the agent to transfer your phone number to a SIM card the attacker controls.

Once the swap is complete, your phone loses all signal. Every call and SMS now routes to the attacker's device. They immediately use this access to trigger "forgot password" flows on your email, banking, and cryptocurrency accounts — resetting credentials via the SMS codes that are now going to them.

// EXAMPLE: The Michael Terpin Case
In 2018, Michael Terpin lost $23.8 million in cryptocurrency in a SIM swap attack. The attacker, a teenager, bribed a carrier insider to perform the swap. Terpin sued AT&T for $224 million. The case established a legal framework for carrier liability in SIM swap attacks that is still being litigated in courts today.
// EXAMPLE: Crypto Exchange Targeting
Criminal groups have executed coordinated SIM swap campaigns targeting high-value cryptocurrency holders. Attackers research targets on Twitter and LinkedIn to identify individuals publicly discussing large crypto holdings, then systematically attack their phone numbers. The FBI reported over $68 million in losses attributed to SIM swapping in 2021 alone — a figure widely considered a significant undercount.
// EXAMPLE: Insider Threat at Carriers
A persistent threat vector in SIM swapping is the bribed or compromised carrier employee. T-Mobile, AT&T, and Verizon have all had documented insider-assisted SIM swaps. Criminal networks actively recruit customer service agents with offers of $100–$500 per successful swap — a trivial cost when the target holds significant assets.

Who Is Actively Exploiting These Vulnerabilities

The SS7/Diameter threat landscape is not monolithic — it encompasses several distinct actor categories with different capabilities, targets, and motivations:

// EXAMPLE: Nation-State Intelligence Services
Signals intelligence agencies including the NSA, GCHQ, and foreign equivalents have been documented using SS7 access as part of surveillance programs. The 2013 Snowden disclosures revealed that SS7 infrastructure was used for location tracking of targets worldwide. This capability is assumed to be standard across major intelligence services globally.
// EXAMPLE: Commercial Surveillance Vendors
Companies including NSO Group, Circles (now acquired by Enea), and others have sold SS7-based surveillance capabilities as commercial products to governments, intelligence services, and law enforcement agencies. These products are marketed as "lawful intercept" tools but have been documented being used against journalists, activists, and political opposition figures.
// EXAMPLE: Criminal Enterprises
Criminal groups purchase SS7 access through gray-market telecommunications providers — sometimes through chains of carrier resellers that obscure the ultimate buyer. Primary use cases include intercepting banking OTPs to drain accounts, SIM-swap-enabling crypto theft, and corporate espionage targeting executives.
// EXAMPLE: Private Investigators and Stalkerware Operators
SS7-based location tracking services are advertised openly on the dark web and in gray-market "people finder" communities, marketed to private investigators, jealous partners, and stalkers. These services typically cost $50–$500 per target query and are completely invisible to the victim.

Protecting Against SS7 and Diameter Exploitation

The most important protective reality to understand: you cannot fix SS7 at the individual user level. These are infrastructure-level vulnerabilities that require carrier-side remediation. What you can do is eliminate the attack surface that SS7 exploitation is most commonly weaponized against — your authentication and account security posture.

Eliminate SMS-based two-factor authentication wherever possible. SMS OTPs are the primary reason SS7 interception is financially valuable to attackers. Replace SMS 2FA with hardware security keys (YubiKey) or authenticator apps (Google Authenticator, Authy, or preferably a hardware-based TOTP generator). These generate codes locally — SS7 interception cannot access them because they are never transmitted over the phone network.
Use passkeys and hardware authentication for high-value accounts. FIDO2 passkeys and hardware security keys provide phishing-resistant authentication that cannot be intercepted via SS7, SIM swap, or any network-level attack. Platforms including Google, Apple, Microsoft, GitHub, and major banks now support passkeys — migrate to them as your primary authentication method.
Contact your carrier and enable a SIM lock (also called a "port freeze," "SIM PIN," or "NOPORT" flag depending on your carrier). This adds a requirement that any SIM swap request must be confirmed with a secondary PIN that is not on file in the standard customer service system — specifically designed to defeat social engineering attacks on carrier agents.
Use a Google Voice or virtual number for services that require SMS verification but don't have alternatives. This doesn't protect against SS7 interception at the VoIP layer, but it removes your primary mobile number from the attack surface for lower-sophistication SIM swap attempts.
For executives, high-net-worth individuals, attorneys, journalists, and others at elevated risk: consider using end-to-end encrypted communications platforms — Signal, WhatsApp (with disappearing messages enabled), or Wire — for all sensitive communications. SS7 interception captures the phone network layer; it cannot intercept end-to-end encrypted application-layer messages.
Monitor your phone for sudden loss of service. If your phone loses signal unexpectedly and cannot make calls or send texts — especially after any period of unusual activity on financial accounts — immediately call your carrier from another device to check for unauthorized SIM changes. Act within minutes; attackers move fast once a swap is complete.
If you believe you have been targeted by a SS7 attack or SIM swap: immediately contact your carrier to lock and re-issue your SIM, change all account passwords from a clean device not connected to your number, revoke all active sessions on your email and financial accounts, and contact your bank's fraud team. File a report with the FBI's IC3 at ic3.gov. For high-value targets or suspected state-sponsored surveillance, contact a specialized telecom security firm — standard incident response processes are not equipped to investigate SS7-layer attacks.

What the Industry Is Doing — and What Isn't Working

The telecommunications industry has acknowledged SS7 vulnerabilities for over a decade. The GSMA (Global System for Mobile Communications Association) has published SS7 Security Recommendations and the GSMA FS.11 document outlining firewall and filtering requirements for SS7 interconnect. Progress has been slow.

The core problem is economic: SS7 roaming and interconnect generates billions in carrier revenue. Implementing strict filtering blocks not just attacks but some legitimate inter-carrier operations. Carriers have been reluctant to deploy aggressive filtering that risks disrupting revenue-generating roaming services. As a result, most SS7 firewalls are permissive by default.

5G standalone architecture (5G SA) introduces a new security framework called the Security Edge Protection Proxy (SEPP) — designed specifically to authenticate and filter inter-carrier signaling and close the class of vulnerabilities that SS7 and Diameter expose. However, 5G SA deployment is still in early stages globally, and most "5G" networks are actually 5G Non-Standalone (NSA) — still relying on 4G LTE core infrastructure and its associated Diameter vulnerabilities. Full protection will require complete migration to 5G SA architecture, which is years away for most carriers.

The realistic protective posture for individuals and organizations today is to treat the phone network as an untrusted medium for authentication and sensitive communication — regardless of what generation of network you are connected to — and to architect your security posture accordingly.