
AI & Agent Security
https://hmmnm.com/twilio-0ktapus-phishing-campaign/
August 4, 2022: Twilio discloses that its internal systems were breached after a coordinated SMS phishing campaign — later tracked as “0ktapus” (also “Scatter Swine”) — tricked employees into entering credentials and real-time MFA codes on fake Okta-branded login pages. The campaign’s scale was the story’s second act: the same infrastructure, domains, and playbook hit more than a hundred organisations in the months around the Twilio intrusion, harvesting thousands of identities. Among the cascade’s targets were DoorDash (which disclosed a related breach), Mailchimp (a vendor breach via a social-engineered support employee), and Cloudflare — whose experience became the campaign’s defining lesson. Cloudflare’s staff received the same texts, and some entered credentials on the phishing page; but the attackers got nothing durable, because Cloudflare’s mandatory hardware security keys made the stolen session path irrelevant where it mattered. Twilio’s own investigation traced the intrusion to a handful of employees succumbing to well-crafted lures, enumerated the data touched, and reset trust across affected systems. For defenders, August 2022 delivered the modern phishing canon in a single case: SMS lures impersonating identity providers work at industrial scale; credential+MFA interception defeats OTP-based second factors; and the only structural answer is phishing-resistant MFA — hardware-bound passkeys/FIDO2 — plus the assumption that some users will always click, so architecture must survive credential loss.
The campaign’s delivery was pedestrian and effective: SMS messages to employees, impersonating corporate IT, warning of schedule changes or password expiries, with links to domains mimicking the target’s identity provider — often Okta-styled pages, since so many targets shared that SSO layer. The pages were not static spoofs; they were adversary-in-the-middle proxies. When an employee entered credentials and the OTP prompt appeared, the proxy relayed both to the real provider in real time, captured the minted session cookie, and handed the attacker a live authenticated session — defeating TOTP, SMS-OTP, and push-approval factors alike, because all of them reduce to phishable shared secrets or replayable approvals within that relay window.
Twilio’s August 4 disclosure was candid about the mechanics: a handful of employees fell for the lures; attackers used harvested credential+MFA pairs to access internal systems; Twilio contained, rotated, and notified. The Signal side-effect drew outsized attention — Twilio acted as Signal’s verification-code vendor, and the intruders could have re-registered ~1,900 Signal numbers, an impact Signal disclosed transparently while emphasising message content and contact lists were not exposed. DoorDash, Mailchimp (in a separate but campaign-linked social engineering of a support staffer), and over a hundred other organisations unfolded across the same window, mapping the campaign’s true fan-out.
Cloudflare’s write-up, published weeks later, completed the picture. Their employees received thousands of the same texts; some entered credentials. But Cloudflare’s authentication architecture required hardware security keys for all sensitive access: FIDO2 protocols cryptographically bind the authentication ceremony to the legitimate origin, so a proxy presenting a look-alike domain cannot exercise the key — the phishing page can ask, but the user’s key will only answer the genuine article. Attackers pivoted to target Cloudflare’s own employees’ personal accounts and provider relationships, and the company caught the campaign via those employee reports. Same adversary, same lures, radically different outcome: the difference was architecture, not awareness.
0ktapus kill chain (2022):
STAGE 1 - LURE (SMS/smishing)
"IT: your password expires /
schedule changed -- resolve
at sso-<company>-auth[.]com"
(fake Okta-styled portal)
STAGE 2 - HARVEST (AiTM proxy)
victim -> proxy (fake page)
proxy -> real IdP (relay)
victim enters creds+OTP
proxy relays both live
-> captures session cookie
(TOTP/SMS-OTP/push ALL
defeated: they are shared
secrets / replayable)
STAGE 3 - USE (live session)
attacker enters IdP as
victim (valid cookie)
-> email, SSO apps, internal
tools, vendor consoles
TARGETS (130+ orgs):
Twilio breached (Aug 4)
DoorDash disclosed related
Mailchimp support-engineered
Signal vendor-side impact
Cloudflare targeted -- UN-
SCATHED (hardware keys)
WHY KEYS WIN:
FIDO2 ceremony is bound to
true origin (TLS+domain)
proxy domain != real domain
-> key simply refuses
no shared secret exists
to relay or replay
| Metric | Value |
|---|---|
| Campaign window | June–August 2022 (peak July–August) |
| Organisations targeted | 130+ (per Group-IB/CrowdStrike-era reporting) |
| Identities harvested | ~10,000 credentials (per reporting) |
| Twilio disclosure | August 4, 2022 |
| Signal impact | Verification codes for ~1,900 users’ 93 phone numbers potentially exposed |
| Cloudflare outcome | Targeted at scale; no durable compromise (hardware FIDO keys) |
| Attribution | Single crew (“0ktapus”/Scatter Swine); financially motivated |
| Date | Event |
|---|---|
| 2022-06 | Campaign infrastructure spun up; earliest smishing waves |
| 2022-07 | Peak targeting; Twilio employees phished; intrusion begins |
| 2022-08-04 | Twilio discloses breach; Signal notifies affected users |
| 2022-08 | DoorDash discloses related breach; Mailchimp incident unfolds |
| 2022-08-30 | Group-IB’s “0ktapus” research lifts the curtain on 130+ orgs |
| 2022-09–10 | Cloudflare publishes its hardware-key counterpoint analysis |
Because every element of 0ktapus has become a permanent fixture of the threat landscape, and the case remains the cleanest A/B test of what actually works. The lure channel (SMS impersonating IT and identity providers) is now complemented by voice, Teams/Slack messages, and AI-personalised variants, but the mechanics are unchanged: urgency, authority, and a look-alike domain. The interception technique (adversary-in-the-middle relay of credentials plus second factor) remains the default phishing architecture precisely because it defeats every factor that reduces to a shared secret — TOTP codes, SMS codes, push approvals — and it will keep defeating them wherever those factors persist. Meanwhile the passkey/FIDO2 migration that 0ktapus accelerated has proven the structural answer at scale: origin-bound ceremonies cannot be proxied, which is why the industry’s 2023–2026 identity roadmaps treat phishing-resistant MFA as the terminal state for human authentication. The campaign’s second durable lesson is about vendor fan-out: one crew’s SMS blast became breaches at a communications provider, a delivery platform, a marketing vendor, and a near-miss at an internet backbone — because SSO credentials are keys to ecosystems, not just accounts. Modern supply-chain risk practice (vendor SSO isolation, least-privilege vendor consoles, verification-code metadata treated as sensitive) traces directly to this incident cluster. And the cultural note survived too: at both Twilio and Cloudflare, employees who received lures reported them, quickly, through frictionless channels — evidence that the “humans as sensors” model works when reporting is fast, blame-free, and visible in its effect. The 2026 synthesis is the one 2022 taught in a single campaign: train users, but build as if they will fail; authenticate with origin-bound keys; and assume your vendors are being phished the same week you are.
The Group-IB researchers who tracked the campaign named it for its signature: fake Okta-branded login pages across many targets — Okta plus octopus, reflecting the campaign’s reach into 130+ organisations. “Scatter Swine” was another tracker’s label for the same crew.
They relayed it. The phishing sites were reverse proxies of the real identity provider: victim submits credentials, proxy forwards them live, provider issues an OTP challenge, victim types the code, proxy forwards it, provider mints a session — which the proxy captures. Any factor that is a shared secret or replayable approval (TOTP, SMS codes, push) fails to this design; the session itself, not the factor, was the prize.
No — Signal’s own systems were not compromised. Twilio, Signal’s verification-code vendor, was; the attackers could access code-metadata for a small set of numbers (they attempted re-registration of 1,900 Signal users’ numbers per the disclosures, focused on ~93 accounts), so Signal warned affected users. Message content and contact lists were never at risk from this path.
Yes — Cloudflare is the canonical case: heavily targeted, employees phished, credentials entered on the proxy, and still no durable compromise because hardware security keys were mandatory for access that mattered. The campaign’s clearest lesson is architectural: origin-bound keys defeat the relay; awareness alone does not.