Russian actors see higher success using Microsoft Device Code phishing
Volexity claims that Russian threat actors’ Device Code authentication phishing campaigns are more effective at compromising M365 accounts than other targeted spear-phishing attacks.
Security & privacy Volexity 13 Feb 2025 Measurement Real-world evidence
Published as “Multiple Russian Threat Actors Targeting Microsoft Device Code Authentication”
Why it matters
Organizations should monitor Entra ID sign-in logs for deviceCode flows and consider blocking the Device Code authentication flow to mitigate a highly effective phishing vector.
Summary
Volexity investigated several spear-phishing campaigns in Jan-Feb 2025 where Russian groups used Microsoft Device Code authentication links to steal M365 credentials. They observed that this method yielded a higher compromise rate than other phishing attempts, noting multiple actors (CozyLarch, UTA0304, UTA0307) employing the technique. The blog provides detection guidance using Entra ID sign-in log fields and recommends blocking the deviceCode flow via Conditional Access. Evidence is based on real incidents across several customers, but confidence levels vary and the 15-minute code window limits success.
What they found 4
- All observed campaigns used Device Code Authentication as the common attack vector.
“Volexity found the attacks had one thing in common: they were all Device Code Authentication attacks.”
- The authors state the method is far more effective than years of other social-engineering attacks.
“Volexity’s visibility into targeted attacks indicates this particular method has been far more effective than the combined effort of years of other social-engineering and spear-phishing attacks conducted by the same (or similar) threat actors.”
- Device Code authentications can be identified by a specific log field.
“Device Code Authentications result in the authenticationProtocol field being set with the value deviceCode”
- The campaigns are attributed to Russian threat actors with high confidence.
“Volexity assesses with high confidence that the series of attacks described in this blog post are from Russia-based threat actors.”
Caveats 6
- However, it is worth noting that this campaign was sent out of the blue, with no precursor or build up to the emails, so users would not be expecting these messages. Even if they were to fall for the campaign, they would have to have done it within 15 minutes of receiving the email. This dramatically decreased the likelihood that this attack would be successful.
- It is possible that all the activity described in this blog post is a single threat actor, but despite the similar targeting, timing, and attack method, other observed components of the operations are different enough to be tracked separately, for now.
- Volexity assesses with medium confidence the attribution to specific groups (CozyLarch, UTA0304, UTA0307).
- Attribution could be a single actor; the authors note uncertainty.
- Blocking Device Code authentication may impact legitimate use cases.
- Detection relies on log fields that may also appear in legitimate activity.
What’s new here 4
- Identification of multiple Russian threat actors leveraging Microsoft Device Code OAuth phishing.
- Observation that Device Code phishing achieves higher compromise rates than other spear-phishing campaigns.
- Detection guidance using Entra ID sign-in log fields (authenticationProtocol=deviceCode, originalTransferMethod=deviceCodeFlow).
- Recommendation to block the Device Code flow with Conditional Access policies.