Guides

Stopping Artificial Inflation of Traffic (AIT): Carrier-Grade Telemetry to Detect and Block SMS Pumping

Botnets drain OTP budgets in hours. This forensic teardown shows exactly how AIT attacks unfold and the velocity telemetry that stops them before the second segment bills.

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

At 01:12 UTC a B2C SaaS platform's signup endpoint began receiving "new user" requests at 40 per second β€” each one legitimate-looking, each from a different IP, each eager to receive an OTP. By 07:30 the fraud team had woken up to $31,400 of consumed SMS credits: 1.9 million messages fired at number ranges across seven countries, zero completed registrations, and a verification endpoint that had never thrown an error. The bots did not hack anything. They used the product exactly as designed, thousands of times per minute, and the bill belonged to the founder.

That is Artificial Inflation of Traffic in its purest form: attackers monetize your willingness to send. Every free OTP field on the internet is a printing press for someone else's revenue β€” because SMS pumping affiliates and grey-route operators earn per message delivered to ranges they control. The question is not whether your endpoint is "secure." It is whether your endpoint is economically defended.

What is Artificial Inflation of Traffic (AIT)?

Key Takeaway / Direct Answer

AIT β€” also called SMS pumping or artificially inflated messaging β€” is fraud where botnets submit massive volumes of fake signups, password resets, or referral actions to trigger SMS one-time passwords to phone-number ranges the attacker controls or profits from. The inflating traffic looks human, the API behaves correctly, and the loss lands on your SMS balance: the traffic was manufactured to make your gateway send.

The word "artificial" is doing the legal work. Carriers describe it in abuse filings as traffic that has no corresponding user intent β€” originations generated by scripts, SIM farms, or compromised devices solely to originate messages. Unlike credential stuffing, which hunts for account access, AIT hunts for your send API, and the attacker's success metric is bytes submitted, not accounts owned.

Carriers noticed years ago: T-Mobile, AT&T, and Verizon all publish AIT policies that let them terminate traffic patterns and hold senders liable for pumped volumes, which is why platform-level defense is now a compliance requirement and not just a cost-control feature. The next section takes one real incident apart minute by minute β€” the anatomy is startlingly consistent across every AIT event we have dissected.

How does an SMS pumping attack actually unfold?

Key Takeaway / Direct Answer

A pumping campaign runs in four phases: reconnaissance (scrape the signup endpoint, confirm OTP fires without CAPTCHA), warm-up (slow requests from residential proxies to seed "normal" baselines), flood (distributed burst against sequential number ranges in specific MCC/MNCs), and cash-out (the affiliate collects per-message revenue while your delivery receipts quietly report success).

Timestamp (UTC) Observed Event Telemetry Signature
01:12 First signup burst: 40 req/s, unique emails ASN diversity spikes 4 β†’ 380 in 6 min
01:19 Destinations cluster: +234-803xxxx, +234-806xxxx Sequential MSISDN density 92% (MCC 621)
01:47 Delivery receipts: 100% DELIVRD in 40–80 ms Receipt variance 6 ms β€” radio-impossible
03:05 Zero OTP verifications despite "successful" sends OTP completion 0.003% (baseline 61%)
07:30 Spend alert fires; team halts the endpoint 1,942,311 segments, $31,400 consumed

Three rows in that timeline should shape your monitoring forever. The sequential MSISDN density (row two) is the fingerprint of range-targeted pumping β€” humans scatter across arbitrary numbers; bots walk blocks. The radio-impossible receipt variance (row three) marks the grey upstream that terminates traffic without delivering it. And row four is the ground truth that outclasses every receipt: if a million codes went out and forty people typed one in, the traffic was manufactured.

Equally instructive is what did not happen. No SQL injection, no admin credential abuse, no WAF alert. The attackers never touched data β€” they touched economics. Which means the defense has to sit partly upstream of security engineering: in rate design, telemetry, and the contractual relationship with whoever pays for the segments.

Why is SMS pumping profitable despite carrier controls?

Key Takeaway / Direct Answer

Because the margins invert the risk: an affiliate pays nothing to originate traffic on compromised apps or SIM farms, earns roughly $0.01–$0.05 per delivered message on underground revenue-sharing deals, and the victim's fraud detection typically fires hours later. At 50 messages per second the attacker nets more in one night than a month of their own hosting β€” while your provider's only signal is a spike in perfectly-formatted API calls.

Role Per-Message Economics Cost if Unchecked
Attacker / affiliate + $0.01 – $0.05 revenue share Hosts: ~$40/month (bots + proxies)
Victim SaaS βˆ’ $0.004 – $0.02 per segment $5k–$50k per incident, often unrecoverable
Grey upstream + termination spread on undelivered traffic Regulatory exposure only after carrier audit
Carrier Pass-through fees still collected Brand-damage risk, AIT policy enforcement

Read the asymmetry: the only party guaranteed to lose is the party whose endpoint triggered the send. That is why carrier AIT policies exist β€” they shift liability back toward senders who fail to implement rate governance, letting an operator terminate traffic patterns without refunding your consumed balance. Prevention is not just fraud defense; it is invoice defense.

It also explains why pure blocklists fail. Attack surfaces rotate across ASNs, proxy pools, and number ranges faster than any static list updates β€” the durable defense is behavioral: measure the shape of request streams, destination entropy, and completion rates in real time, then gate the send itself. That is the rate-limiting design in the next section.

What rate-limiting formulas stop bots without blocking real users?

Key Takeaway / Direct Answer

Layer four independent limits β€” per-IP token bucket, per-account cooldown, per-destination-range velocity, and global spend ceiling β€” then add a destination-entropy score: when the ratio of unique destination prefixes to requests exceeds 0.8 within a 60-second window, throttle regardless of IP diversity. Bots scatter IPs but cannot scatter destinations without abandoning their revenue model.

Control Formula / Threshold Catches
Per-IP token bucket capacity 3, refill 0.5/s, burst 3 Naive single-source floods
Per-account cooldown 1 OTP / 60 s, 5 / 15 min (exponential) Reset-loop abuse on one victim
Destination entropy gate H = βˆ’Ξ£ pΒ·log(p); flag if H > 3.2 bits/window Distributed bots hitting many ranges
Sequential-range detector Ξ”MSISDN ≀ 9 within 100 msgs β†’ challenge Block-walking number generators
Spend ceiling hard stop at 3Γ— trailing 24 h mean Any residual pattern, blast radius cap
Completion feedback if OTP-completion < 5% over 10 min β†’ halt Pumping even when every gate passed

The design principle behind the table: never let a single signal carry the decision. Per-IP limits alone fall to proxy rotation within minutes; destination entropy alone can false-positive on a legitimate viral launch in one country β€” which is why the gates combine (AND-challenges, OR-alarms) and why the last row, completion feedback, is the unspoofable backstop. A botnet can imitate human IPs and scatter destinations, but it cannot produce users who type codes into your login form.

Thresholds should be learned, not typed: seed each window from the trailing 30-day hour-of-week baseline, alert on deviation multiples instead of absolute numbers, and let legitimate growth re-baseline within a day. Static constants always become wrong β€” usually during your best week.

How do you enforce velocity limits in Express?

Key Takeaway / Direct Answer

Implement a middleware that keeps three counters in Redis β€” per-IP, per-account, and per-destination-prefix β€” increments them atomically before the handler runs, and returns 429 with jittered backoff the moment any counter breaches its window. The critical detail is the destination-prefix counter keyed on country+carrier: that is the counter bots trip first, regardless of how many IPs they rotate through.

ait-guard.js
Express 5 / Redis rate gates
import Redis from "ioredis";
const redis = new Redis(process.env.REDIS_URL);

const LIMITS = {
  ip:      { window: 60,   max: 3  },   // 3 OTP requests / minute / IP
  account: { window: 900,  max: 5  },   // 5 OTP requests / 15 min / account
  prefix:  { window: 60,   max: 25 },   // 25 / min to one country+carrier prefix
};

async function hit(key, windowSec, max) {
  const k = `ait:${key}:${Math.floor(Date.now() / 1000 / windowSec)}`;
  const n = await redis.incr(k);
  if (n === 1) await redis.expire(k, windowSec + 1);
  return n <= max;
}

export async function aitGuard(req, res, next) {
  const ip = req.ip.replace("::ffff:", "");
  const account = req.body.account ?? ip;
  const prefix = String(req.body.to).slice(0, 5);   // e.g. +2348

  const [okIp, okAcct, okPrefix] = await Promise.all([
    hit(`ip:${ip}`, LIMITS.ip.window, LIMITS.ip.max),
    hit(`acct:${account}`, LIMITS.account.window, LIMITS.account.max),
    hit(`pfx:${prefix}`, LIMITS.prefix.window, LIMITS.prefix.max),
  ]);

  if (!okIp || !okAcct || !okPrefix) {
    await redis.incr("ait:alert:global");            // feeds the spend ceiling
    return res.status(429).json({
      error: "try_again_later",
      retry_after: 30 + Math.floor(Math.random() * 30), // jittered, no tight loop
    });
  }
  next();
}

Notice what the middleware refuses to do: inspect User-Agent strings or trust device fingerprints as primary gates. Both rotate. Redis keys with second-granularity windows mean a distributed attack still collides on the shared prefix counter β€” the one dimension attackers cannot diversify without losing their targeting economics. Wire the global counter into the spend ceiling from the previous section so a coordinated multi-prefix campaign still trips the hard stop.

How do HLR carrier-type checks and bot reputation stop bots pre-send?

Key Takeaway / Direct Answer

An HLR/HSS lookup returns the recipient's current MCC/MNC, line type, and ported status in under 200 ms β€” enough to reject VoIP numbers masquerading as mobiles, flag ranges never seen in your organic traffic, and detect number-range patterns inconsistent with real user signups. Combined with IP/ASN reputation scoring, roughly 70% of pumping traffic dies before a single segment is billed.

Line-type discrimination is the cheapest filter in the toolkit. Legitimate mobile OTPs terminate on mobile network codes; pumping campaigns frequently spray VoIP and landline ranges because they are cheaper or because a grey upstream accepts anything. When your organic baseline says 97% mobile and a burst arrives at 40% VoIP, the delta alone justifies a challenge step β€” no machine learning required.

Reputation scoring works the same way from the origin side. Datacenter ASNs submitting "consumer" signups are anomalous by definition; residential proxy pools show up as consumer ASNs with sub-minute ASN-hopping velocity; and Tor exit nodes (ranges like 185.220.101.0/24) rarely appear in your organic cohort. Score each request's origin against three layers β€” ASN class, recent cross-tenant abuse history, and velocity of ASN transitions per session β€” and require a Turnstile challenge when the composite crosses threshold rather than blocking outright. Challenges convert bot traffic into wasted attacker compute while humans pass through untouched.

Both checks are pure reads: one HLR query, one Redis reputation lookup, tens of milliseconds total, fully cacheable per MSISDN prefix and per ASN for five minutes. The infrastructure already exists in every serious messaging stack β€” the failure is almost never missing capability; it is that the checks fire after the send instead of before it.

What platform-side controls protect the OTP form itself?

Key Takeaway / Direct Answer

Layer invisible defenses on the request path: a honeypot field bots always fill, a minimum human interaction time (3–8 s) from form render to submit, a Cloudflare Turnstile or equivalent silent challenge triggered only on velocity anomalies, and β€” most importantly β€” notify the real owner when an OTP is requested for their number so victims police the attack themselves.

The honeypot field is almost comically effective: render an input with autocomplete="off" and CSS-hidden, then reject any submission where it carries a value. Generic bot frameworks fill every input they find. The timing floor works similarly β€” scripts submit in 400 ms because they have no rendering pipeline to wait on; requiring a 3-second minimum eliminates dumb automation and costs nothing for genuine users who were reading your page anyway.

The victim-notification control deserves separate emphasis because it flips the economics. When someone requests an OTP to +234 803 xxxx, that person's actual phone β€” wherever it is β€” receives a second message: "A login code was just requested for your number. If this wasn't you, no action needed; the code expires in 60 seconds." Bots cannot stop you from sending that notice, and the notice turns your unwitting message recipients into free anomaly detectors. Opt-out compliant, brand-building, and a fraud control in one template.

Finally, tie the loop to money: dashboard alerts at 1.5Γ— trailing daily spend, hard auto-pause at 3Γ—, SMS-to-owner alerts at 2Γ—, and a documented kill switch your on-call engineer can reach from a phone. In the incident above, the difference between a $31,400 loss and a $900 blip was not better AI β€” it was a spend ceiling configured before the attack, not during it.

How does gateway-level AIT shielding complement your application defenses?

Key Takeaway / Direct Answer

Even with perfect application controls, a leaked API key or compromised server bypasses everything you built client-side. Gateway-level shielding therefore runs independent telemetry: per-key velocity baselines, destination-range anomaly scoring, receipt-timing forensics, and automatic spend ceilings that halt the key itself β€” so a breached credential cannot drain your balance while your incident channel is still paging.

Defense in depth applies to messaging exactly as it applies to networks. Your Express guards protect the product surface; the gateway guards protect the balance. A key that historically sends 400 messages an hour to twelve countries suddenly pushing 90,000 to three prefixes is compromised or misconfigured β€” either way, the correct behavior is identical: freeze, alert, require key rotation, resume under watch. SMSRoute exposes these ceilings per API key with real-time webhooks on breach attempts, documented under /fraud-prevention.

Route-side forensics then close the receipt-forgery chapter we opened earlier: if a destination range returns radio-impossible DLR timing while OTP completion stays at zero, the traffic is being absorbed upstream regardless of what your application did right. Demote the route, keep the key, and the attack loses its revenue stream mid-campaign. By the time the affiliate checks their ledger, your spend ceiling already stopped billing.

Assemble the layers β€” form gates, velocity middleware, HLR checks, completion feedback, spend ceilings, gateway telemetry β€” and AIT shifts from existential to routine. Not "will we be pumped," but "which gate caught it, and how fast." That posture is what carriers expect senders to hold in 2026, and it is what keeps your OTP budget funding growth instead of someone else's hosting bill.

How fast does an AIT attack drain a balance?

Unprotected: thousands to tens of thousands of dollars per hour at high request rates, because the attacker controls concurrency and your API has no reason to refuse valid calls. Protected spend ceilings cap incidents at the alert threshold β€” typically 1.5–3Γ— your trailing daily mean.

Will rate limiting hurt real users during a launch spike?

Not if limits are layered: humans cluster on few destinations per session, so per-account and per-prefix windows stay quiet during viral growth while per-IP buckets absorb bursts. Baseline from trailing hour-of-week data and challenge β€” not block β€” on deviation, and legitimate traffic passes with a one-click Turnstile.

Can I detect pumping from delivery receipts alone?

No β€” receipts are the attacker-friendly signal, often forged on grey upstreams. Ground truth comes from downstream behavior: OTP completion rate, registration completion, and support complaints. Receipt forensics (variance, radio-plausibility) help accuse a route; only completion data proves the traffic was fake.

What is the single most effective first control?

A hard spend ceiling with automatic pause. Everything else reduces probability; the ceiling bounds severity. Configure it in ten minutes today, then build the entropy gates and HLR checks underneath it β€” worst case, an attack costs you an alert, not a quarter.

Take the incident timeline from the top of this guide and rewrite your detection targets against it: ASN diversification inside five minutes, sequential MSISDN density above 90%, receipt variance under 25 ms, completion under 5%. Four alarms, one spend ceiling, zero tolerance β€” then ship the checklist at /fraud-prevention and get back to building the product the bots were abusing.

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.