Device-code phishing campaigns abuse genuine Microsoft login pages with fake SharePoint payment lures to hijack Microsoft 365 accounts
Hornetsecurity reported on November 19 that several payment-themed phishing campaigns abuse the OAuth device-code flow to hijack Microsoft 365 accounts. Victims receive emails with ZIP attachments (e.g., SpwcinBillPaymentReports.zip) containing HTML/SVG loaders. These redirect to a fake SharePoint workspace that shows a verification code and sends the victim to the genuine Microsoft sign-in page. Once the victim approves the request, Microsoft issues OAuth tokens to the attacker-controlled client. MFA still works normally but authenticates a request the attacker started. This article is a news report; the research was not independently verified against primary sources.
Detalhes técnicos
- One email used a single period as its subject, with a personalized ZIP name as the pretext. A second campaign mimicked a scheduled electronic payment, and its displayed sender did not match the Irving Oil name in the disclaimer.
- The HTML loader rebuilt its page from 475 obfuscated fragments. The page sent heartbeat and status requests to its backend.
- A visitor-screening step precedes the fake SharePoint page.
- Observed host: ngjedt0xrv.promtateusachorloadscorp[.]sbs.
- Microsoft separately demonstrated the risk with GitHub Copilot CLI on November 17, in a controlled simulation only, with no in-the-wild observation.
Remediação
- Block device-code flow in Conditional Access (Authentication flows > Device code flow > Block access). Start in report-only mode and audit exclusions.
- In Entra sign-in logs, filter Authentication Protocol for Device code and investigate successful events with no business justification. Use the Original transfer method field to trace sessions.
- Inspect HTML and SVG files inside archives.
- Enter device codes only for sign-ins you started.
- If a code was approved, investigate the authorization and revoke active sessions.
Linha do tempo
-
Device-code phishing campaigns abuse genuine Microsoft login pages with fake SharePoint payment lures to hijack Microsoft 365 accounts
ler a análise desta fonte ocultar
Hornetsecurity reported on November 19 that several payment-themed phishing campaigns abuse the OAuth device-code flow to hijack Microsoft 365 accounts. Victims receive emails with ZIP attachments (e.g., SpwcinBillPaymentReports.zip) containing HTML/SVG loaders. These redirect to a fake SharePoint workspace that shows a verification code and sends the victim to the genuine Microsoft sign-in page. Once the victim approves the request, Microsoft issues OAuth tokens to the attacker-controlled client. MFA still works normally but authenticates a request the attacker started. This article is a news report; the research was not independently verified against primary sources.
Technical Details
- One email used a single period as its subject, with a personalized ZIP name as the pretext. A second campaign mimicked a scheduled electronic payment, and its displayed sender did not match the Irving Oil name in the disclaimer.
- The HTML loader rebuilt its page from 475 obfuscated fragments. The page sent heartbeat and status requests to its backend.
- A visitor-screening step precedes the fake SharePoint page.
- Observed host: ngjedt0xrv.promtateusachorloadscorp[.]sbs.
- Microsoft separately demonstrated the risk with GitHub Copilot CLI on November 17, in a controlled simulation only, with no in-the-wild observation.
Remediation
- Block device-code flow in Conditional Access (Authentication flows > Device code flow > Block access). Start in report-only mode and audit exclusions.
- In Entra sign-in logs, filter Authentication Protocol for Device code and investigate successful events with no business justification. Use the Original transfer method field to trace sessions.
- Inspect HTML and SVG files inside archives.
- Enter device codes only for sign-ins you started.
- If a code was approved, investigate the authorization and revoke active sessions.