LIVE · cybersecurity feed
Live wire
phishinghigh

When checking the URL isn’t enough: a Device Code Phishing attack via a Microsoft website

Attackers are exploiting a legitimate Microsoft authentication feature, the Device Authorization Grant, to conduct phishing attacks. This method bypasses traditional URL checking by directing users to input codes on trusted Microsoft domains. The attack leverages the protocol designed for input-constrained devices, tricking users into authorizing malicious access.

zeroday.news · 26d ago

Researchers have identified a sophisticated phishing campaign that bypasses traditional URL-checking defenses by exploiting a legitimate Microsoft authentication feature. The attack leverages the Microsoft Identity Platform's Device Authorization Grant, a protocol designed for devices with limited input capabilities, such as smart TVs or IoT devices, to authenticate users.

The Device Authorization Grant flow allows a user to authorize an application on one device by using a separate device, like a smartphone or computer. The process typically involves the application generating a short code and a verification URL. The user then visits the URL on their second device, enters the code, and approves the application's access request. This flow is initiated by a request to `https://login.microsoftonline.com/{tenant}/oauth2/v2.0/devicecode`.

In the observed phishing attacks, attackers first trick victims into clicking a link that appears to lead to a legitimate Microsoft domain, specifically `https://microsoft.com/devicelogin`. However, the initial link is crafted with specific URL parameters that redirect the user to a phishing page. This page is designed to mimic a corporate legal portal and often employs CAPTCHAs to deter automated analysis.

Once past these initial defenses, victims are presented with a one-time code. The attackers, in parallel, have already used this code to query the Microsoft Identity Platform's device code endpoint and obtain the necessary authorization parameters. The phishing page instructs the victim to copy this code, which is conveniently placed on their clipboard, and then redirects them to the official Microsoft authentication page.

The victim then proceeds to authenticate directly on Microsoft's legitimate site, often completing multi-factor authentication. At this point, the attackers have successfully harvested critical tokens, including the access token, refresh token, and ID token. With these tokens, they can gain extensive access to the victim's account, including reading and sending emails, accessing files stored in OneDrive, and viewing Teams conversations.

One observed campaign ran from early April to mid-May 2026. The initial lure involved a password-protected PDF attachment. After the victim entered the password, a landing page displayed several documents, and clicking a link to view them initiated the attack chain.

Attackers are actively adapting this method. Recent variants have been detected targeting users in specific geographic regions, including Brazil. These newer campaigns may forgo PDF attachments, embedding the malicious link directly within the email body.

The core of the attack's success lies in its ability to direct victims to perform sensitive actions, like entering authentication codes and completing MFA, on trusted Microsoft domains. This circumvents the common security advice of scrutinizing unfamiliar URLs, as the final authentication steps occur on a seemingly legitimate platform.

The Device Authorization Grant flow, while convenient for its intended purpose, presents a potential attack vector when manipulated. The ability for attackers to intercept the authorization tokens after a user has successfully authenticated on a legitimate Microsoft service is the critical vulnerability exploited.

Microsoft's Device Authorization Grant specification is designed to facilitate authentication for devices lacking full browser or keyboard capabilities. The protocol involves a device requesting authorization, presenting a code and URL to the user, and then polling for confirmation after the user approves the request on a secondary device.

The attackers' ability to obtain refresh tokens is particularly concerning, as these tokens can be used to silently renew access tokens without further user interaction, potentially granting persistent access to compromised accounts.

phishingmicrosoftoauthdevice authorization grantauthentication
ShareXLinkedInWhatsAppFacebook

More News

view all →
vulnerabilitycritical

Rails patches critical Active Storage flaw with RCE potential

A critical vulnerability in the Active Storage framework can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE). [...]

malware

Russian Hackers Hijack Hotel Wi-Fi to Steal Microsoft 365 Tokens

Microsoft says Russian hackers hijacked hotel Wi-Fi portals to spread malware and steal Microsoft 365 tokens from travelers. Microsoft Threat Intelligence disclosed CaptiveCrunch, a campaign it attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard, the Russian SVR-linked group also known as APT29 and Cozy Bear. Since early May 2026, Storm-2945 has been manipulating DNS […]

CVE-2026-48449critical

Adobe fixed a maximum-severity vulnerability flaw in Campaign Classic

Adobe fixed a maximum severity vulnerability in Campaign Classic that could let attackers run code remotely without user interaction. Adobe has addressed a critical vulnerability, tracked as CVE-2026-48449 (CVSS score of 10.0), in Adobe Campaign Classic, the company’s enterprise marketing automation platform. The flaw is caused by incorrect authorization and could allow attackers to execute […]

security

Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments

The funding round was led by SYN Ventures, with participation from existing investors DataTribe and TEDCO. The post Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments appeared first on SecurityWeek.

vulnerabilitycritical

Ruby on Rails Patches Critical Vulnerability

The flaw can be exploited by unauthenticated attackers to read arbitrary files and potentially achieve remote code execution (RCE). The post Ruby on Rails Patches Critical Vulnerability appeared first on SecurityWeek.

ai

7 States’ Water Systems Hit by Cyberattacks Likely Tied to Iran

Plus: The FBI eyes AI-powered tech to detect future crimes, Russia charges Telegram’s founder, xAI sues to stop a state’s “nudification” ban, and the Democrats learn a lesson about getting scammed.