How legitimate cloud platforms enable phishers to bypass MFA
A phishing campaign hosted its pages on legitimate cloud platforms and used a service worker to run a reverse proxy, so victims' Microsoft credentials and MFA session tokens passed through the attacker's server. The attacker could then take over the victim's authenticated session despite multi-factor authentication.
Published on securelist.com
Threat actors are increasingly exploiting legitimate cloud services to evade detection and streamline the deployment of their scam infrastructure. Cloud hosting services and decentralized networks have become primary platforms for hosting phishing pages and sites.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the attack abused trusted cloud hosting and a browser service worker to proxy the genuine login page, so nothing on the victim's side could tell the page apart from the real service.
Impact
Attackers could capture credentials and live MFA sessions, giving them full access to the victim's account, and the use of reputable cloud domains and free subdomains made blocking hard without collateral damage.
What the attacker needed
Victim clicks a phishing link; victim enters email on fake CAPTCHA; victim completes a real CAPTCHA; browser supports service workers over HTTPS
How it was found
- The victim receives a phishing email with a pretext and clicks the link.
- The link leads to a fake CAPTCHA page on a compromised legitimate website, which collects the email address and redirects to a cloud-hosted subdomain.
- The cloud page shows a genuine CAPTCHA, then registers a service worker that proxies all requests through the attacker's server.
- A spoofed browser pop-up with a fake address bar loads the real login form through the proxy.
- The victim enters credentials and the MFA code, which the proxy captures along with the session tokens.
- The pop-up closes and the victim is sent to a generic error page to reduce suspicion.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Multi-factor authentication (MFA) is a second proof of identity, such as a one-time code, on top of a password. Here the fake login page sat in front of the real Microsoft login and quietly relayed everything the victim typed, including the code, then kept the resulting logged-in session for itself. That means the second factor did not help, because the attacker captured the session after login rather than guessing the code.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.