Russian actors steal Microsoft 365 OAuth codes via targeted phishing of NGOs
Russian threat actors have pivoted to abusing legitimate Microsoft 365 OAuth workflows to steal authorization codes from targeted NGO personnel.
Security & privacy Volexity 22 Apr 2025 Attack Real-world evidence
Published as “Phishing for Codes: Russian Threat Actors Target Microsoft 365 OAuth Workflows”
Why it matters
Organizations should alert users that any request to share a Microsoft login URL or code, even from seemingly legitimate Microsoft pages, may lead to full account compromise.
Summary
Volexity observed Russian-linked groups UTA0352 and UTA0355 using legitimate Microsoft 365 OAuth login URLs in targeted phishing campaigns against NGOs and human-rights workers, delivered via Signal, WhatsApp, and compromised email accounts. Victims are tricked into clicking the link and then sending back the OAuth authorization code that appears in the redirect URL or page. The stolen code is used to obtain access tokens, register a device in the victim’s Entra ID, and ultimately gain email access after a forced 2FA approval. The evidence consists of multiple campaign samples collected March-April 2025, with detailed URL formats and logs showing successful device registration and email exfiltration.
What they found 1
- Victims who click malicious Microsoft login links can have an authorization token generated and sent back to the attacker.
“The supplied links would redirect to official Microsoft URLs and, in the process, generate a Microsoft Authorization Token that would then appear as part of the URI, and in some cases, within the body of the redirect page. This code could then be used to generate an Access Token, which would grant the holder with access to the account for which it was generated.”
Caveats 2
- It is unclear if they are working in coordination or have overlaps with Volexity’s previous reporting.
- Volexity assesses with medium confidence that both UTA0352 and UTA0355 are Russian threat actors.
What’s new here 4
- Phishing attacks now abuse first-party Microsoft OAuth flows (e.g., VS Code redirect) instead of Device Code Authentication.
- Stolen OAuth codes are used to register a permanent device in the victim’s Entra ID before extracting email data.
- Attackers combine Microsoft login URLs with social engineering over Signal/WhatsApp, avoiding any attacker-hosted infrastructure.
- The technique leverages legitimate Microsoft consent, making traditional app-consent blocks ineffective.