ConsentFix — OAuth authorization-code phishing via Azure CLI and other first-party Microsoft apps
ConsentFix is a ClickFix-style account takeover with no credential form. The lure page (often behind a fake Cloudflare Turnstile or 'verify you are human' step) sends the victim to the genuine Microsoft sign-in page for a pre-consented first-party public application, most often Microsoft Azure CLI (04b07795-8ddb-461a-bbee-02f9e1bf7b46) or Azure PowerShell (1950a258-227b-4e31-a9cf-717495945fc2), with a redirect_uri of http://localhost. A victim who is already signed in is bounced straight to a localhost URL carrying an OAuth authorization code, and the page asks them to copy that URL back into it (v1) or drag it across from a pop-up window (v2). Public clients have no secret, so the code alone is exchanged for access and refresh tokens on the attacker's machine, bypassing most Conditional Access policies. The same technique has been linked to APT29 and has since been packaged into a criminal toolkit (v3). This hunt matches the lure page itself: Microsoft authorize URL + loopback or nativeclient redirect + a first-party public client id + code that reads the resulting URL back from the victim (paste or drop handler, or code= extraction).
Anchors
Provenance
Sightings (0)
No sightings recorded yet.