ConsentFix v3 Automates OAuth Phishing Against Azure Accounts

· Original article ↗

Summary

ConsentFix v3 automates OAuth authorization-code phishing using pre-consented Microsoft apps and Pipedream to capture refresh tokens; the article says the variant's uptake among cybercriminals remains unclear.

Key points

  • The technique targets pre-trusted Microsoft first-party apps and tricks victims into returning an OAuth authorization code from a localhost URL.
  • Attackers reportedly verify Azure tenant IDs and collect employee names, roles, and email addresses for personalized phishing.
  • Phishing pages hosted on Cloudflare Pages mimic Microsoft/Azure login flows; attackers may embed links in DocSend-hosted PDFs.
  • Pipedream receives captured authorization codes and automates their exchange for refresh tokens, which it also collects.
  • Tokens can be imported into Specter Portal to access account resources such as email and files, subject to token permissions.
  • Push Security says its testing used personal Microsoft accounts, so impact in organizational tenants may vary with permissions, services, and settings.
  • Suggested mitigations include token binding to trusted devices, behavioral detection, and app-authentication restrictions; the article says ConsentFix v3's criminal uptake is unclear.

Article Details

Attack Vectors
  • ConsentFix v3 uses personalized phishing pages hosted on Cloudflare Pages to initiate a real Microsoft OAuth flow. Victims are tricked into pasting or dragging a localhost URL containing an authorization code back into the page.
  • Phishing emails use harvested employee names, roles, and email addresses, with malicious links embedded in a PDF hosted on DocSend.
  • A Pipedream webhook collects the submitted authorization code; automation exchanges it for refresh tokens, which are then imported into Specter Portal to access resources available to the compromised account.
Defensive Notes
  • Apply token binding to trusted devices.
  • Set up behavioral detection rules.
  • Apply app authentication restrictions.

MITRE ATT&CK

People

Vendors

Products

Tools

Related Articles