Cloudflare Workers Used to Steal MFA Sessions

Securelist · High sophistication
Last updated August 4, 2026

A real multi-stage phishing campaign abused trusted cloud platforms (notably Cloudflare Workers) to make fake login flows look legitimate and to bypass MFA. The attack chained a phishing email, a fake CAPTCHA page on a compromised site, and a browser “pop-up” spoof that captured both credentials and MFA-backed session tokens, then redirected victims to a generic error to reduce suspicion.

Key findings

  • Attackers hosted phishing infrastructure on reputable cloud platforms (Cloudflare Workers, Vercel, Netlify, GitHub Pages) to benefit from domain trust, free tiers, and CDN shielding.
  • The campaign used a multi-stage flow: phishing email → fake CAPTCHA on a compromised site → Cloudflare Workers subdomain with a real CAPTCHA and a service worker → browser-in-the-browser (BitB) fake window wrapping a proxied Microsoft login.
  • The first stage harvested the victim’s email and filtered bots, then redirected to a Cloudflare Workers subdomain.
  • The victim’s email address was passed via the URL hash (after “#”) to avoid being sent in normal network requests and reduce detection.
  • A service worker was registered to intercept and rewrite traffic, routing Microsoft login requests through an attacker-controlled proxy (AitM).
  • The BitB technique displayed a spoofed address bar with a trusted Microsoft URL while intercepting credentials, MFA codes, and session tokens.
  • After successful login, the victim was redirected to a generic error (example: “SessionExpired”) to minimize suspicion.
  • Telemetry (Aug 2025–Jul 2026) showed heavy abuse of cloud domains, led by pages.dev (24.9%), vercel.app (13.8%), github.io (13.7%), and netlify.app (10.0%).

Who’s being targeted

  • Commonly targeted roles: All employees, Executives, Finance, HR, Anyone using Microsoft 365 / webmail / SSO.
  • Affected industries: Cross-industry (any organization using cloud-hosted apps and Microsoft login pages).
  • Attack channels: email, website.
  • Impersonated: Coworker / internal colleague, Cloud-hosted verification page (Cloudflare Workers-hosted content), Microsoft login window (browser-in-the-browser spoof).

Awareness takeaways

  • Don’t trust a link just because it’s HTTPS or hosted on a well-known cloud domain; verify the context and destination.
  • Treat CAPTCHAs that ask you to type personal data (like your email) as suspicious and stop the flow.
  • If a login prompt appears in an unexpected pop-up, close it and navigate to the service manually (type the address yourself).
  • For suspected ‘browser-in-the-browser’ tricks, check the real browser address bar at the top of the window (not the pop-up’s fake address bar).

Red flags to watch for

  • Unexpected document-review request pushing you to click a link
  • CAPTCHA page asks for an email address (unusual for real CAPTCHAs)
  • Redirect chain through unrelated domains before showing any real content
  • You land on an unexpected *.workers.dev page
  • The page carries your email in the URL after a “#” (hash)
  • Unusual background activity that precedes a login prompt
  • Login appears inside a page-rendered pop-up rather than a real browser sign-in flow
  • The pop-up shows a ‘trusted’ URL, but the real browser address bar still shows a different domain
  • After login, you are redirected to a generic error page (e.g., SessionExpired)
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo
Read the video transcript

You get an email from a coworker: “Please review these documents.” You click, and a CAPTCHA page pops up asking for your email. You type your email, hit Continue, and your browser quietly bounces through a compromised site to a Cloudflare Workers link, something like example.workers.dev with your email stuck after a # in the URL. Then a browser-in-the-browser fake Microsoft pop-up appears. It shows a perfect Microsoft login page and a trusted URL in its own little address bar, but it’s just a BitB overlay stealing your password, MFA, and session. If a CAPTCHA asks for your email or a login suddenly appears in a pop-up, stop. Close it, and instead open Microsoft by typing the address into a fresh tab yourself.

Categories

Similar attacks

Fake Recruiter Lure Drops NodeRabbit RAT

Fake Recruiter Lure Drops NodeRabbit RAT

Researchers tied Mirage Kitten to a job-recruiting scam that targets developers via LinkedIn and job platforms. Victims are sent a “technical assessment” ZIP file hosted on legitimate cloud storage; running the project silently installs a remote-access trojan (NodeRabbit) that lets attackers…

September 1, 2026
Chinese Spy Phish + Airmen BEC Sentenced

Chinese Spy Phish + Airmen BEC Sentenced

A China-aligned group (TA419) impersonated well-known U.S. figures to lure AI policy experts into a fake OneDrive/Microsoft 365 login that could steal session cookies even when MFA is enabled. Separately, two U.S. airmen were sentenced for a multi-year business email compromise scheme where they…

October 2, 2026
Device-Code Phishing Service Hit After 12K Breaches

Device-Code Phishing Service Hit After 12K Breaches

Microsoft and partners disrupted “EvilTokens,” a phishing-as-a-service platform Microsoft links to over 12,000 compromised inboxes across more than 10,000 organizations. The service used deceptive emails to trick people into pasting a “device code” into Microsoft’s real sign-in page…

September 22, 2026
EvilTokens Uses Device Codes to Bypass MFA

EvilTokens Uses Device Codes to Bypass MFA

Microsoft reports that the EvilTokens phishing-as-a-service platform helped criminals compromise thousands of organizations by tricking users into completing a legitimate Microsoft “device code” login. The lure drives victims to enter a short code at microsoft.com/devicelogin, which unknowingly…

September 22, 2026
Brevo Hack Injects Fake Cloudflare “Verify” Prompts

Brevo Hack Injects Fake Cloudflare “Verify” Prompts

Attackers compromised Brevo’s Cloudflare setup using a long-lived API key found in source code, then altered website content at the CDN edge. Visitors were shown fake Cloudflare verification prompts to run Windows commands, and logged-in WordPress admins were targeted with a hidden backdoor plugin…

September 22, 2026
RMM Phish Uses Tax & UPS Lures in 46 Countries

RMM Phish Uses Tax & UPS Lures in 46 Countries

Researchers describe a real phishing operation that tricks people into installing legitimate remote monitoring and management (RMM) tools so attackers can remotely control devices. The campaign uses familiar-looking documents (tax forms, UPS/shipping notices, Adobe PDFs, invoices, and Social…

September 3, 2026