🚨 Detect It Early: #Mir0Auth Uses Obfuscated Network Logic for M365 Token Acces...
ANY.RUN @anyrun_app@infosec.exchange
🚨 Detect It Early: #Mir0Auth Uses Obfuscated Network Logic for M365 Token Access.
We identified a new phishkit targeting M365 auth tokens, with primary activity observed against US organizations. A business email lure with an attached PDF leads to a DocuSign-themed page, then to legitimate Microsoft Device Code authentication, allowing the attacker to obtain M365 tokens.
❗️ Mir0Auth uses source-code-like endpoints, including /task_queue.cs, /context.go, and /window.rs, to manage the flow and session state.
👨💻 Review the decoded network logic in hashtag#ANYRUN Sandbox: https://app.any.run/tasks/a1553640-c0f5-4d33-a535-36e13dd22f5f/?utm_source=mastodon&utm_medium=post&utm_campaign=mir0auth_phishkit&utm_content=linktoservice&utm_term=300926
Network chain:
Phishing page ➡️ POST /task_queue.cs beacon ➡️ POST /context.go returns a device code ➡️ the code is copied to the clipboard, and the legitimate Microsoft sign-in page at microsoft[.]com/devicelogin opens in a popup ➡️ /window.rs session polling every 3s ➡️ victim signs in ➡️ attacker session receives M365 tokens
Traffic obfuscation:
– C2 URLs are hex strings XORed with Mir0Auth
– C2 bodies are JSON XORed with M1r0AuthBinProT0c0l_2024!
– Data is sent as raw application/octet-stream; responses use the same key
🔍 Pivot from hashtag#IOCs and subscribe to query updates to proactively track evolving activity: https://intelligence.any.run/analysis/lookup?utm_source=mastodon&utm_medium=post&utm_campaign=mir0auth_phishkit&utm_content=linktotilookup&utm_term=300926#{%22query%22:%22threatName:%5C%22mir0auth%5C%22%22,%22dateRange%22:180}
⚡️ Strengthen phishing detection in your SOC with #ANYRUN: https://any.run/use-case/phishing/?utm_source=mastodon&utm_medium=post&utm_campaign=mir0auth_phishkit&utm_content=linktophishinglanding&utm_term=300926