Fraud & Security

The Anatomy of SMS Pumping Fraud: Forensic Log Analysis and Real-Time Mitigation Strategies

A forensic walkthrough of an SMS pumping (AIT) attack: the log signatures, the carrier range patterns, the cost curve, and the rate-limiting and HLR checks that stop it.

JH
Jacky Hossein
β€’ Principal Telecommunications Architect β€’ Published Oct 15, 2026 β€’ 13 min read

The Slack message arrived at 07:14 on a Tuesday: "why is our SMS spend at $41,000 today?" By the time an engineer opened the billing dashboard, the number had climbed again. No campaign had launched. No marketing email had gone out. The product's only SMS surface was a phone-verification step on signup, and signups had "risen" overnight by a factor of nine. The team's first instinct β€” celebrate β€” lasted about ninety seconds, until someone compared the signup graph against the graph of completed verifications and saw a shape that no growth chart should ever have: sends up and to the right, verifications flat.

That divergence is the signature of SMS pumping, also called artificially inflated traffic (AIT), SMS toll fraud, or international revenue share fraud (IRSF) when cross-border routes are involved. It is not an account takeover and it is not a spam campaign. It is a billing attack that turns your verification endpoint into someone else's revenue stream. This article reconstructs the attack from raw logs and lays out the controls that stop it without breaking legitimate signup.

What is SMS pumping fraud?

Key Takeaway / Direct Answer

SMS pumping is abuse of a message-sending endpoint β€” almost always an OTP flow β€” in which bots trigger codes to phone numbers on a network where the attacker or a partner shares in the termination fee. The code is never used; the send is the payout. It is detected by the divergence between send volume and completed verifications, and by the concentration of traffic into a narrow set of number ranges, prefixes, and carrier codes. It is mitigated with layered rate limits (number, prefix, IP, device, country), carrier-type checks, spend caps, and channel fallbacks such as passkeys and non-SMS verification.

The mechanics are simple, which is why the attack is so common. A fraudster controls, rents, or has a revenue-share relationship with a block of numbers on a specific mobile network. They point a bot at your verification form and submit thousands of those numbers. Every message you send terminates on that network, generating a termination fee; a portion of that fee flows back to the attacker or their partner. Your application did exactly what it was designed to do, and you paid for it.

Two structural conditions make this possible. The first is that OTP endpoints are usually unauthenticated by necessity β€” anyone with a phone number may request a code. The second is that the A2P supply chain is a stack of aggregators, each taking a margin, with mobile operators at the bottom whose commercial models have historically rewarded inbound international volume. Ericsson's analysis of AIT attributes the phenomenon precisely to this stacked supply chain and to operator business models β€” exclusivity agreements, high initial volume commitments β€” that inadvertently reward inflated traffic. Fixing the root cause is a supply-chain and operator-policy problem; defending your endpoint is an engineering problem you can solve today.

Anatomy of an attack: the forensic timeline

Attacks are rarely a single spike. They ramp, they test your limits, and they adapt when you respond. The timeline below is reconstructed from a real incident review and shows the phases you should expect to see in your own logs.

PhaseObservable signalWindowCost trajectory
ReconnaissanceLow-volume probes from a handful of IPs, all to one prefixminutesnegligible
RampSequential numbers within a range, ~1 request/second per IP10–40 minlinear climb
PlateauSustained thousands/hour, verifications near zerohourssteepest slope
EvasionIP rotation, header spoofing after you deploy a blockon your fixpartial recovery
RetargetNew prefix, same behaviour patternhours–daysrenewed climb

Timeline reconstructed from a single incident. The window lengths vary widely; the phase order is consistent, which is what makes the log signatures predictable.

The reconnaissance phase is the gift most teams overlook. During the ramp, traffic is small enough that a well-tuned alert would have caught it while the cost was still in the low hundreds of dollars. The reason it is usually missed is that volume-based alerts are calibrated to marketing campaigns, not to verification endpoints, so a rise from ten to a hundred requests per hour reads as noise. It is not noise when the completion rate is zero.

Log signatures that give it away

You do not need a fraud vendor to find a pumping attack in your own data. Six fields carry almost all the signal: the destination number, the originating IP, the device fingerprint or session token, the user agent, the request timestamp, and the verification outcome. Join them and the attack becomes visible.

SignatureWhat it looks like in logsStrength
Sequential rangesDestinations increment by 1–3 within one prefix, e.g. +2348010001001, …002, …003Very high
Prefix concentrationOne MCC-MNC receives 60–95% of all OTP traffic in a burstHigh
Verification divergenceSends up 9x, completed verifications flat or downVery high
Duplicate destinationsSame number requested dozens of times, no successful code entryMedium
Headless clientsIdentical user agents, no JS execution, no referrerMedium
IP fan-outHundreds of IPs, each sending a small burst, from cloud ASNsMedium

Signature strength is contextual. Any one signal can have an innocent explanation; three or more firing together is an attack with very high confidence.

The single most reliable detector is the divergence ratio. Compute verifications_completed / otp_sends over a rolling hour, segmented by destination prefix. Legitimate traffic sits in a stable band β€” often 40–75% depending on your funnel. Pumping traffic drives the ratio toward zero on one prefix while the rest of the world stays normal. Alert on the per-prefix ratio, not on global volume, and you will catch attacks during the ramp instead of the plateau.

Carrier-range analysis: MCC-MNC is your best filter

An E.164 number encodes its country and network. The leading digits give you the country calling code; the next two to three digits are the mobile country code (MCC) and mobile network code (MNC), which identify the operator. Resolving MCC-MNC before you send lets you make routing and policy decisions that no amount of after-the-fact blocking can match.

Three checks are worth wiring into the send path. First, a carrier-type check: an HLR or number-intelligence lookup tells you whether the destination is a real mobile subscriber or a VoIP or non-mobile range, and pumping ranges are disproportionately non-mobile or freshly allocated. Second, a range allow-list: if you serve three markets, you have no reason to accept OTP requests to two hundred. Third, a per-prefix velocity ceiling: cap the number of messages per minute to any single MCC-MNC, which throttles the attacker's payout rate even when individual requests look legitimate.

Real-time mitigation: layered rate limiting

Effective mitigation is layered, because any single control has a bypass. A per-IP limit falls to IP rotation; a per-number limit falls to a large number pool; a global limit throttles your own users. Stack them so that the cheapest bypass still leaves a second, third, and fourth wall standing. The middleware below applies four independent ceilings β€” per number, per prefix, per IP, and per country β€” and records the decision so you can audit it later.

otp-guard.mjs
Node.js / Express
import { RateLimiterMemory } from "rate-limiter-flexible";

// Independent ceilings. Points = allowed events per duration.
const perNumber = new RateLimiterMemory({ points: 3,  duration: 900 }); // 3 / 15 min
const perPrefix = new RateLimiterMemory({ points: 60, duration: 60 });  // 60 / min / MNC
const perIp     = new RateLimiterMemory({ points: 8,  duration: 60 });  // 8 / min
const perGeo    = new RateLimiterMemory({ points: 500, duration: 3600 });// 500 / hr / country

// Allow-list of the markets you actually serve. Everything else is rejected
// before a single message is billed.
const ALLOWED_MCC = new Set(["234", "254", "55", "63", "62", "91"]);

function prefixOf(e164) {
  // First 3 digits after the country code approximate the operator prefix.
  return e164.replace(/\D/g, "").slice(0, 6);
}

export async function otpGuard(req, res, next) {
  const to = String(req.body?.to ?? "");
  const mcc = to.replace(/\D/g, "").slice(0, 3);
  const prefix = prefixOf(to);
  const ip = req.ip;

  if (!ALLOWED_MCC.has(mcc)) {
    return res.status(403).json({ error: "destination_country_not_supported" });
  }

  const keys = [
    [perNumber, `n:${to}`,       "number_rate_limited"],
    [perPrefix, `p:${prefix}`,   "prefix_rate_limited"],
    [perIp,     `i:${ip}`,       "ip_rate_limited"],
    [perGeo,    `g:${mcc}`,      "country_velocity_limited"],
  ];

  for (const [limiter, key, reason] of keys) {
    try {
      await limiter.consume(key);
    } catch {
      // Log the decision: which wall stopped it, and for whom.
      req.log?.warn({ reason, key, to: to.slice(0, 6) + "***" }, "otp_blocked");
      return res.status(429).json({ error: reason });
    }
  }

  return next();
}

Note what this middleware deliberately does not do: it does not challenge the user with a CAPTCHA on the first request. A CAPTCHA on every verification degrades a funnel that is mostly legitimate. The right posture is to let the first request through, then escalate β€” a silent challenge, then a proof-of-work, then a hard block β€” only when a ceiling trips. The same principle applies to channel selection: route returning users to passkeys or app push, keep SMS for new-device and recovery flows, and the pumping surface shrinks to a fraction of its original size.

The economics: why your OTP endpoint is the target

Pumping is profitable because termination fees are real money and verification endpoints are cheap to abuse. If a route costs you $0.04 per message and the attacker's network recovers a fraction of that, a bot generating 5,000 messages an hour is printing revenue. Multiply by the number of targets a single operator scans and the incentive is obvious. This is why the attack is opportunistic and automated rather than targeted: the bot does not care which company it hits, only that the endpoint sends.

Two controls change the economics directly. A spend cap limits the blast radius β€” it will not stop an attack, but it converts a $41,000 night into a $400 alert. A velocity ceiling per prefix reduces the attacker's yield per hour below the cost of running the bot, which is often enough to make you an unattractive target. Add per-number and per-IP limits and the attacker must rotate infrastructure faster than the attack earns. Defence is not a single clever check; it is making your endpoint expensive to farm.

A mitigation stack that holds up

The strongest defences share the same shape. Passkeys or app push handle returning users so SMS leaves the routine login path. A non-SMS channel (WhatsApp, email, or silent network authentication) covers signups in higher-risk markets. Rate limits run at the number, prefix, IP, device, and country level. Runtime rules choose the channel based on risk. Provider-side fraud detection, spend caps, alerts, and geo-permissions catch whatever slips through the application layer. Get your messaging provider involved early: ask what pumping patterns they detect automatically, how fast blocks apply, and whether blocked traffic appears in reporting. A provider that is only a billing pipe leaves you holding the entire defence. If you are comparing routes and settlement options as part of the fix, see carrier surcharges and direct routing.

Frequently asked questions

How do I know if I am being pumped right now?

Compare OTP sends against completed verifications on a rolling hour, segmented by destination prefix. If one prefix carries a disproportionate share of sends while its completion rate collapses toward zero, you are being pumped. A second confirmation is destination concentration: a single MCC-MNC receiving most of the burst.

Will a CAPTCHA stop SMS pumping?

It raises the cost of the attack, but it is not sufficient on its own and it damages legitimate conversion if applied bluntly. Cheap CAPTCHA farms and headless solvers defeat basic challenges. Use it as one escalation step inside a layered policy, not as the first line of defence, and never on the majority of your traffic.

Should I block entire countries?

Only if you do not serve them. An allow-list of the markets you actually support is the single highest-value control you can ship, because it eliminates whole attack surfaces without touching legitimate users. Review the list regularly as you expand, and pair it with per-country velocity ceilings so a supported market cannot be flooded.

What does an SMS pumping attack actually cost?

It depends on the destination rate and how long the attack runs undetected, which is why early detection matters more than perfect blocking. An endpoint sending 5,000 messages an hour to a premium international route can accrue thousands of dollars in a single night, while the same volume to a cheap domestic route is a nuisance. The point of the divergence alert is to cut the exposure window from hours to minutes, because the cost scales linearly with time.

Does switching providers stop pumping?

No. Pumping is an abuse of your endpoint, not a provider defect. A provider with strong fraud detection and spend caps reduces your exposure, but the attacker follows the endpoint, not the vendor. Fix the application layer first, then choose a provider whose controls complement it.

JH

Jacky Hossein

Verified Author

Principal Telecommunications & Cryptographic Systems Architect at SMSRoute. Specializes in carrier-grade SS7/SMPP routing protocols, non-custodial cryptocurrency billing rails, and zero-knowledge telecommunications privacy.

Send Global SMS in Under 60 Seconds Without KYC

Sign up with email only. Top up with Bitcoin, USDT, Monero, or Ethereum. Instant carrier interconnects to 149 countries from $0.004/msg.