Skip to main content
Mallory
← Back to News
identity-authentication-vulnerabilityphishing-campaign-intelligencecredential-access-methodsearch-ad-manipulation

ConsentFix Attack Hijacks Microsoft Accounts via Azure CLI OAuth Abuse

Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Dec 12, 2025

ConsentFix Attack Hijacks Microsoft Accounts via Azure CLI OAuth Abuse

A new phishing technique called ConsentFix has emerged, targeting Microsoft account users by exploiting the Azure CLI OAuth authentication flow. Discovered by Push Security, this attack is a sophisticated evolution of the earlier ClickFix scam, leveraging social engineering to trick victims into providing OAuth 2.0 authorization codes. Attackers compromise legitimate websites that rank highly in Google search results, presenting visitors with a fake Cloudflare CAPTCHA widget that requests a business email address. If the email matches a target list, the victim is guided through a process that mimics legitimate Microsoft login procedures, ultimately leading them to open a real Microsoft URL and copy a URL containing an OAuth token.

Unlike previous ClickFix attacks that required users to execute malicious commands on their devices, ConsentFix operates entirely within the browser, making it harder for traditional endpoint security tools to detect. By capturing the OAuth token, attackers gain full access to the victim's Microsoft account via the Azure CLI, bypassing both passwords and multi-factor authentication (MFA). This method circumvents email-based anti-phishing controls and highlights the growing sophistication of consent phishing attacks targeting cloud authentication mechanisms.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Dec 11, 2025 – Jun 29, 2026
  1. Jun 29, 20265mo ago

    ConsentFix playbook appears on Russian cybercrime forum

    By early March 2026, a public Russian cybercrime forum had posted a step-by-step ConsentFix playbook including code, screenshots, and a video walkthrough. The publication lowered the barrier for other criminals to replicate the Microsoft OAuth account hijacking technique.

    The Hacker's 2026 Playbook: Dark Web Tactics Targeting You | Huntress
  2. Dec 11, 202511mo ago

    Defenders are advised to monitor Azure CLI and legacy Graph activity

    Following disclosure of ConsentFix, defenders were urged to watch for unusual Azure CLI login activity and use of legacy Microsoft Graph scopes as possible indicators of compromise. This guidance was published alongside the initial reporting on the attack.

  3. Dec 11, 202511mo ago

    Technical details of ConsentFix are publicly disclosed

    On publication of the research, details emerged showing victims are lured to compromised websites, asked for a business email, guided through a legitimate-looking Azure CLI OAuth flow, and then tricked into pasting back a URL containing the authorization code. The reporting also noted the campaign is highly targeted, filters out non-targets, and triggers only once per victim IP.

  4. Dec 11, 202511mo ago

    Push Security discovers the ConsentFix account hijacking technique

    Researchers at Push Security identified a new phishing variant dubbed ConsentFix that abuses the Azure CLI OAuth application to take over Microsoft accounts without stealing passwords or bypassing MFA directly. The attack relies on social engineering to obtain an OAuth 2.0 authorization code from the victim.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Microsoft 365

Organizations

1 linked
Microsoft Corporation

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.