Skip to content
.ca
5 minhigh

Inside Wazza: A Newly Observed Device Code Phishing Kit Targeting Microsoft 365 Accounts

Wazza phishing kit uses multi-stage infrastructure and Microsoft OAuth device code flow to steal Microsoft 365 account tokens via PDF lures delivered from compromised email accounts. The kit deploys 19 configurable phishing themes and routes victims through Google Sites, .EU domains, and Cloudflare Workers before presenting a device code disguised as a document verification code. Backend sessions poll Microsoft authentication status every two seconds, capturing OAuth tokens when the victim completes sign-in. Two waves observed since July 2026 show evolving TTPs including rotated subdomains, updated API endpoints, and new service templates.

Sens:▲ 24hConf:highAnalyzed:2026-11-05Z.ai

Authors: Cris Tomboc, Kevin Adriano

ActorsWazza

Source:SpiderLabs

Indicators of Compromise45
37domain8url
Improve this report

Send corrections, useful missing information, or quality feedback. It is private and will not appear as a comment.

Feedback type

Detection / HunterZ.ai

Immediate Actions

  • Disable device code flow in Entra ID where not operationally required
  • Apply Conditional Access policies restricting device code grant to managed devices
  • Block known Wazza domains and workers.dev subdomains at web proxy

Key Takeaways

  • Kit active since July 2026 across two waves; second wave removed routing checks and decoy sites.
  • 19 predefined phishing themes cover file sharing, banking, HR, cloud, and e-signature impersonations.
  • Six decoy corporate websites rotate hourly to divert non-targeted traffic from the phishing workflow.
  • Browser interrogation encrypts collected data with PBKDF2-SHA256 and AES-256-GCM to evade automation.
  • Cloudflare Turnstile site key 0x4AAAAAADe_teYi5k058t2b gates session initialization on phishing pages.

Attack Chain

  1. Initial Access: Compromised email accounts deliver business-themed PDF lures with embedded hyperlinks
  2. Staging: Google Sites or direct .EU domain links route to Wazza preloader script
  3. Traffic Gating: Wazza validates subdomain, displays decoy sites for failed checks, generates routing token
  4. Protection: Client-side browser interrogation and KPSDK anti-automation checks gate access to phishing page
  5. Credential Theft: Device code displayed as document verification code; backend polls Microsoft auth status
  6. Persistence: Attacker captures OAuth token upon victim completing Microsoft sign-in

Affected Systems

  • Microsoft 365 user accounts and associated cloud resources
  • Microsoft Entra ID tenants with device code flow enabled
  • Email users receiving business-themed PDF attachments

Detection Engineering Assessment

Hunting Hypotheses

copy:
HypothesisTelemetryStageFP Risk
Users accessing Microsoft OAuth device code endpoints (T1528) after opening PDF attachments from external sendersEntra ID sign-in logs, email gateway, proxyCredential AccessLow — device code flow from external PDF is rare
Traffic to workers.dev subdomains with security-related keyword patterns (T1102) in redirect chainsWeb proxy and DNS logsCommand and ControlLow — multi-segment security keywords are unusual
Requests to Wazza API endpoints on non-corporate .EU domains (T1621) during multi-stage redirectsWeb proxy URL logsDefense EvasionLow — specific API paths on external domains
Sequential /r?key= and /meline requests on same domain (T1621) indicating Wazza redirect chainWeb proxy URL logsDefense EvasionLow — paired path pattern is distinctive

Required Log Sources

  • Web proxy logs
  • Email gateway logs
  • Entra ID sign-in logs
  • DNS query logs
  • Cloudflare Workers logs

Control Gaps

  • Email content scanning may not extract embedded links from PDFs
  • URL filtering allows traffic to legitimate Google Sites and workers.dev
  • Conditional Access may not restrict device code grant type
  • Web proxy may not flag multi-stage redirect chains

Recommendations

Infrastructure Hardening

  • Inspect PDF attachments for embedded external links at email gateway
  • Block or sandbox PDFs with embedded hyperlinks from external senders
  • Monitor for Microsoft OAuth device code flow from non-managed networks
  • Alert on sequential /r?key= and /meline requests to .EU domains

User Protection

  • Train users to treat unexpected device code prompts as suspicious
  • Warn users that entering verification codes can grant account access

MITRE ATT&CK Mapping

IOCs · 45
.txt.json
Showing defanged values