Payment Lures Trick Microsoft 365 Users Into Typing the Attacker’s Code
Hornetsecurity says November emails with payment-advice attachments led to fake SharePoint pages that ask recipients to enter a code on Microsoft's real sign-in page, handing their account tokens to the attacker.
Device code phishing against Microsoft 365 picked up again in November, and this wave hides behind payment paperwork. Hornetsecurity’s Threat Intelligence Lab says emails carrying “payment advice” and “scheduled payment” ZIP or HTML attachments led to fake SharePoint workspaces that show a code and tell the recipient to enter it on Microsoft’s real sign-in page. Anyone who does it hands their account tokens to the attacker’s client, with MFA already satisfied. No threat actor is named.
For defenders
The attachment: the first email had a subject that was a single period and a ZIP named after the recipient. Inside, an “HTML” file was really an SVG with a fake security check; a transparent rectangle covers the image, and clicking anywhere runs JavaScript that decodes the destination (fragment reversal, a swapped Base64 alphabet, then repeating-key XOR) and redirects the browser. A second campaign used SpwcinBillPaymentReports.zip with an Irving Oil disclaimer and rebuilt its page from 475 encoded fragments via document.write, T1027.006 (Obfuscated Files or Information: HTML Smuggling).
The lure: a gate scores mouse or touch activity and window properties and sends low-scoring visitors somewhere harmless, T1497.002 (Virtualization/Sandbox Evasion: User Activity Based Checks). Real visitors get a SharePoint-style page listing remittance reports, a verification code with a copy button, and instructions to sign in at login.microsoftonline.com/common/oauth2/deviceauth. While it’s open, the page polls /api/status/<id> every three seconds and /api/heartbeat/<id> every ten. Once the victim finishes, the attacker’s client holds the tokens, T1528 (Steal Application Access Token).
Fix: Hornetsecurity points to Microsoft’s Conditional Access policy that blocks the device code flow (Authentication flows → Device code flow → Block access); test it in report-only mode and keep narrow exceptions. In Entra sign-in logs, filter Authentication Protocol for “Device code” and check “Original transfer method” to catch sessions that started there.
9l2v3vupv5[.]synerghylnksloads[.]cfd (first sample: gate, fake SharePoint page, status/heartbeat endpoints)
hxxps://9l2v3vupv5[.]synerghylnksloads[.]cfd/l/CqCFCeikrUA (decoded redirect)
tgg5rqrdcb[.]synerghylnksloads[.]cfd (joint-check variant)
ngjedt0xrv[.]promtateusachorloadscorp[.]sbs (second sample lure host)
5txpm30dqe[.]krointechbillpaycheckingusalexingto[.]sbs (funds-transfer variant)
hxxps://base-hub-yw7q[.]p-xxorevv8[.]workers[.]dev/l/taaeR_gygko (payment-advice variant redirect)bbf9f563371d6afc449c69546a4ec39e831ca18d3bf3764b7b4c27f525426140 (first sample HTML/SVG redirector)
d12b56f405af7fb5d80d828ccd5514e045eb9bfb3428bf77f20deca31ba5c0f7 (SpwcinBillPaymentReports.zip)
81f35c4a218032f44f4681e3f409ee7e024506bffc4446f7a9e7b3ce2d0ee932 (second sample HTML lure)What it means for you
The scam never asks for your password on a fake page. It sends what looks like a payment notice, opens a page that looks like a shared SharePoint folder, and gives you a short code to type into Microsoft’s genuine login page “to view the documents”. That code was requested by the attacker, so typing it signs their software into your account, and your two-factor check doesn’t help because you’re the one completing it. If you didn’t start a sign-in on a TV, printer or command-line tool yourself, never enter a code someone else gave you.
Do this now
- Treat any email or page that hands you a sign-in code to “unlock” a document as phishing. Confirm the payment with the sender by phone.
- Microsoft 365 admins: block device code sign-in with Conditional Access for everyone who doesn’t need it, starting in report-only mode.
- Review Entra sign-ins with the Device code protocol over the last 30 days and check each one has a business reason.
- If someone entered a code, revoke their sessions and refresh tokens, and check their mailbox rules and registered devices.
Source article: Device Code Phishing Resurges in November Through Fake SharePoint Payment Documents
Publisher: Hornetsecurity (Threat Intelligence Lab)
Published: Nov. 19, 2026
URL: https://www.hornetsecurity.com/en/blog/microsoft-365-device-code-phishing/
Executive Summary
Hornetsecurity’s Threat Intelligence Lab reports a November 2026 resurgence of Microsoft 365 device code phishing delivered through payment-themed email. No threat actor or kit is named, and Hornetsecurity describes several campaigns sharing techniques and, in two cases, a parent domain (synerghylnksloads[.]cfd). The chain starts with a sparse email (one subject was a single period; another announced a scheduled electronic payment and carried an Irving Oil confidentiality disclaimer that didn’t match the sender) with a ZIP or HTML attachment named as payment advice, remittance or funds transfer. The attachment is an interactive SVG or an encoded HTML loader: the SVG covers its canvas with a transparent click target and decodes its destination through fragment reversal, a substituted Base64 alphabet and repeating-key XOR before setting window.location.href; another sample rebuilt its page from 475 hex fragments with a checksum and derived XOR keystream and wrote it out with document.write; one variant bounced through a Cloudflare Workers URL. The landing host runs a gate that scores mouse, touch and window properties and diverts low-scoring visits to a benign site, then redirects real visitors to a keyed fake SharePoint workspace listing remittance documents with a device code and instructions to sign in at Microsoft’s genuine device authorization page. The page requests the code from its backend and polls session status every three seconds with a ten-second heartbeat, then hides the lure or shows an “access granted” message once the code is used. The objective is token access to the victim’s Microsoft 365 account through the attacker-controlled client, bypassing MFA because the victim completes it. Hunt leads, false positive expectations and indicators are detailed below; no detection rules were published.
ATT&CK chain: Resource Development → Initial Access → Execution → Defense Evasion → Credential Access
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | Payment Lure Infrastructure and Attachment Hash Sweep | T1566.001 (Phishing: Spearphishing Attachment), T1583.001 (Acquire Infrastructure: Domains) | Low. The hostnames, the Workers subdomain and path, and the three SHA256 values are specific to these campaigns; the shared workers.dev and login.microsoftonline.com services are deliberately left out. |
| 2 (Pro) | Payment-Themed Archives Carrying Interactive SVG Redirectors | T1027.006 (Obfuscated Files or Information: HTML Smuggling), T1204.002 (User Execution: Malicious File) | Medium. Legitimate HTML invoices and SVG images are common in finance mail; the rule anchors on an SVG or HTML with script that both decodes a string (atob plus XOR or fragment reassembly) and assigns window.location or calls document.write, inside a payment-named archive from an external sender. |
| 3 (Elite) | Lure Page Polling Followed by a Device Code Sign-in | T1528 (Steal Application Access Token), T1078.004 (Valid Accounts: Cloud Accounts) | Low. Device code sign-ins happen legitimately on meeting-room devices and CLIs, and status or heartbeat paths exist on many sites, but a user’s browser polling /api/status/ and /api/heartbeat/ on a newly seen domain followed within minutes by a device code sign-in for that same user is rarely benign. |
Payment Lure Infrastructure and Attachment Hash Sweep
Hornetsecurity published the hosts each sample reached: 9l2v3vupv5[.]synerghylnksloads[.]cfd served the first sample’s gate, the fake SharePoint page and the session endpoints, with the decoded redirect hxxps://9l2v3vupv5[.]synerghylnksloads[.]cfd/l/CqCFCeikrUA; tgg5rqrdcb[.]synerghylnksloads[.]cfd was the joint-check variant’s destination; ngjedt0xrv[.]promtateusachorloadscorp[.]sbs hosted the second sample’s lure; 5txpm30dqe[.]krointechbillpaycheckingusalexingto[.]sbs received the funds-transfer variant; and the payment-advice variant’s click handler went through hxxps://base-hub-yw7q[.]p-xxorevv8[.]workers[.]dev/l/taaeR_gygko. The attachment names to search for are SpwcinBillPaymentReports.zip and ElectronicFundsTransferRemittanceAdvice.html, plus ZIPs whose names combine the recipient’s name with payment advice. The file hashes are in the appendix. The detection is a retrospective search of DNS and proxy logs for the hostnames (and for any other subdomain of synerghylnksloads[.]cfd, promtateusachorloadscorp[.]sbs and krointechbillpaycheckingusalexingto[.]sbs, since the subdomains look randomly generated per send), the exact Workers URL, and mail logs for the file names and hashes.
Use mail gateway or Microsoft Defender for Office attachment and URL logs, proxy and DNS logs, and EDR file events for the hashes. Sweep back to Nov. 1, 2026, since Hornetsecurity dates the resurgence to November. Block the three parent domains, which look purpose-registered, but don’t block workers.dev as a whole, which carries legitimate traffic; block only the p-xxorevv8 subdomain. Hash blocking is a weak control here because the first ZIP’s name was personalised per recipient and the redirectors decode a different destination per send, so treat the hashes as retrospective evidence rather than prevention. Any user whose browser reached one of these hosts should be checked against the device code lead below and asked whether they entered a code.
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Initial Access → T1566.001 (Phishing: Spearphishing Attachment); Resource Development → T1583.001 (Acquire Infrastructure: Domains) (our mapping; the source publishes no ATT&CK IDs)
Sources: “Device Code Phishing Resurges in November Through Fake SharePoint Payment Documents”, Hornetsecurity, Nov. 19, 2026, https://www.hornetsecurity.com/en/blog/microsoft-365-device-code-phishing/ (source article)
Payment-Themed Archives Carrying Interactive SVG Redirectors
Every variant Hornetsecurity analysed relied on an attachment that does nothing until clicked. In the first and funds-transfer samples, a file with an .html name was really an SVG/XML document showing a security check or “One tap to proceed” prompt; a transparent rectangle covered the whole canvas so any click ran the script, which split an encoded string into fragments, reversed alternating fragments, restored a substituted Base64 alphabet, Base64-decoded the result, XORed it with a repeating key and assigned the result to window.location.href. The second sample’s HTML concatenated 475 obfuscated fragments, kept only hex characters, verified a checksum, decoded with a derived XOR keystream and inserted the page with document.write. The detection logic is an inbound message from an external sender whose archive or direct attachment is an SVG, or an .html/.htm whose content starts with an svg or XML root, containing script that combines a decode step (atob or a custom alphabet table, a charCodeAt-based XOR loop, or large-scale string reassembly) with a navigation or write sink (window.location, location.href, document.write), with extra weight when the subject or file name mentions payment, remittance, check, EFT or statement, or the subject is a single character.
Use the mail gateway’s attachment content inspection or detonation results, which must open archives and parse SVG as script-capable content, and endpoint telemetry for browsers opening local .svg or .html files from a mail client’s temp or download folder. Expect noise from legitimate HTML remittance advices sent by payment platforms; allowlist by authenticated sender domain rather than by file name, because the lure names copy real remittance language. Don’t strip all SVG attachments outright if marketing or design teams rely on them; quarantine scripted SVGs from external senders instead. A user who opened one should be checked for a later device code sign-in. The detection generalises beyond this campaign, since click-triggered SVG redirectors are a common front end for many credential phishing kits.
Hunt Lead Level: 2 (Pro)
ATT&CK: Defense Evasion → T1027.006 (Obfuscated Files or Information: HTML Smuggling), T1140 (Deobfuscate/Decode Files or Information); Execution → T1204.002 (User Execution: Malicious File); Initial Access → T1566.001 (Phishing: Spearphishing Attachment) (our mapping)
Sources: “Device Code Phishing Resurges in November Through Fake SharePoint Payment Documents”, Hornetsecurity, Nov. 19, 2026 (source article)
Lure Page Polling Followed by a Device Code Sign-in
After the gate, which scores browser-window properties and mouse or touch interaction and diverts low scores to a benign destination, the visitor is redirected to a keyed fake SharePoint page that shows a device code and tells them to open Microsoft’s sign-in window (the genuine login.microsoftonline.com/common/oauth2/deviceauth page), enter the code and return to the document tab. While the page is open it requests its configuration and the device code from its backend, sends a heartbeat immediately and then every ten seconds to /api/heartbeat/ followed by a session number (28475 in the first sample), and polls /api/status/ with the same number every three seconds; when the status flips to captured, the page hides itself and redirects or shows an access-granted message. Meanwhile the attacker’s client polls Microsoft for tokens and receives them when the victim completes sign-in and MFA. The detection logic joins the two halves: a user’s browser making repeated requests to paths matching /api/status/<digits> and /api/heartbeat/<digits> on a domain first seen in the last 30 days, followed within 15 minutes by an Entra sign-in for that user with authentication protocol “deviceCode”, especially where the token is then used from an IP that is not the user’s.
Join proxy or secure web gateway logs (URL path, user and timestamp) with Entra ID sign-in logs, interactive and non-interactive, filtered on the authentication protocol, and use “Original transfer method” to follow refreshed sessions back to a device code start, as Hornetsecurity suggests. Build an allowlist of genuine device code users (meeting-room devices, admin CLIs) from 30 days of history before alerting. The strongest control is preventive: the Conditional Access policy that blocks the device code flow, rolled out in report-only mode first with documented exceptions and emergency-access accounts. Don’t try to block login.microsoftonline.com or the deviceauth page, which every user needs. Any match is a probable token theft: revoke the user’s sessions and refresh tokens immediately, then review mailbox rules, app consents and device registrations from the new IP before escalating to incident response. The lead generalises to other device code kits we’ve covered, such as NovaTokens and SkyW4lker, which also poll their backends while the victim signs in.
Hunt Lead Level: 3 (Elite)
ATT&CK: Credential Access → T1528 (Steal Application Access Token); Initial Access → T1078.004 (Valid Accounts: Cloud Accounts); Defense Evasion → T1497.002 (Virtualization/Sandbox Evasion: User Activity Based Checks) for the gate (our mapping)
Sources: “Device Code Phishing Resurges in November Through Fake SharePoint Payment Documents”, Hornetsecurity, Nov. 19, 2026 (source article)
Hash Appendix
Payment lure attachments
SHA256 values come from the source article. Hornetsecurity published no MD5 or SHA1 values, and OTX and VirusTotal were not queried in this run, so those are marked not available.
MD5s
(not available) # first sample: HTML/SVG redirector (inside recipient-named payment-advice ZIP)
(not available) # SpwcinBillPaymentReports.zip -> second sample attachment
(not available) # second sample: associated HTML lure (475-fragment loader)
SHA1s
(not available) # first sample: HTML/SVG redirector (inside recipient-named payment-advice ZIP)
(not available) # SpwcinBillPaymentReports.zip -> second sample attachment
(not available) # second sample: associated HTML lure (475-fragment loader)
SHA256s
bbf9f563371d6afc449c69546a4ec39e831ca18d3bf3764b7b4c27f525426140 # first sample: HTML/SVG redirector (inside recipient-named payment-advice ZIP)
d12b56f405af7fb5d80d828ccd5514e045eb9bfb3428bf77f20deca31ba5c0f7 # SpwcinBillPaymentReports.zip -> second sample attachment
81f35c4a218032f44f4681e3f409ee7e024506bffc4446f7a9e7b3ce2d0ee932 # second sample: associated HTML lure (475-fragment loader)
References Appendix
- “Device Code Phishing Resurges in November Through Fake SharePoint Payment Documents”, Hornetsecurity (Threat Intelligence Lab), Nov. 19, 2026, https://www.hornetsecurity.com/en/blog/microsoft-365-device-code-phishing/