Skip to main content
Mallory
Malware1 associated actor

CodeStorm

Tracked since Jun 23, 2026 · Updated 5 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK33Techniques
IOCs318Tracked
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Storm-1167

CodeStorm is a previously undocumented Microsoft 365 AiTM phishing kit used to capture credentials, intercept MFA, and obtain authenticated session material.

via hexastrike bloghexastrike.com
MITRE ATT&CK

Techniques & procedures

33 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

3 techniques
T1583.001DomainsEvidence1

Operators used attacker-controlled apex domains and subdomains for lure and harvester infrastructure.

T1583.006Web ServicesEvidence1

Tencent COS was used to host CodeStorm stage-two JavaScript payloads.

T1586.002Email AccountsEvidence1

CodeStorm operators used previously compromised Microsoft 365 mailboxes to send phishing emails.

Initial Access

6 techniques
T1078Valid AccountsEvidence1

Instead of building fake infrastructure from scratch, attackers are hijacking real M365 accounts and using them as trusted launching pads. This approach lets malicious emails slip past filters that would normally flag suspicious senders.

T1078.004Cloud AccountsEvidence1

Operators used compromised Microsoft 365 accounts and stolen authenticated session material to access victim tenants.

T1566PhishingEvidence1

The attack begins with a deceptively convincing voicemail notification email. The message mimics a genuine Microsoft communication, complete with a well-formatted layout, a call duration, a reference ID, and an “OPEN VOICEMAIL PORTAL” button branded with the Microsoft logo.

T1566.001Spearphishing AttachmentEvidence1

Operators sent credential-harvesting HTML attachments directly to victim inboxes.

T1566.002Spearphishing LinkEvidence1

Emails contained links pointing directly to attacker-controlled domains hosting CodeStorm credential-harvesting pages.

T1566.003Spearphishing via ServiceEvidence1

Lures were delivered through trusted SaaS platforms including SharePoint, Microsoft Sway, allo.io, youengage.me, mixpanel.com, and gamma.app.

Execution

2 techniques
T1059.007JavaScriptEvidence1

CodeStorm executed client-side JavaScript in the victim browser to render the phishing UI and drive credential-harvesting logic.

T1204.001Malicious LinkEvidence1

Victims were required to open lure links or QR-code destinations to reach CodeStorm phishing pages.

Persistence

3 techniques
T1078Valid AccountsEvidence1

Instead of building fake infrastructure from scratch, attackers are hijacking real M365 accounts and using them as trusted launching pads. This approach lets malicious emails slip past filters that would normally flag suspicious senders.

T1078.004Cloud AccountsEvidence1

Operators used compromised Microsoft 365 accounts and stolen authenticated session material to access victim tenants.

T1098Account ManipulationEvidence1

Operators modified compromised mailboxes by creating or changing inbox rules after successful account access.

Privilege Escalation

3 techniques
T1078Valid AccountsEvidence1

Instead of building fake infrastructure from scratch, attackers are hijacking real M365 accounts and using them as trusted launching pads. This approach lets malicious emails slip past filters that would normally flag suspicious senders.

T1078.004Cloud AccountsEvidence1

Operators used compromised Microsoft 365 accounts and stolen authenticated session material to access victim tenants.

T1098Account ManipulationEvidence1

Operators modified compromised mailboxes by creating or changing inbox rules after successful account access.

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence1

CodeStorm used encrypted and obfuscated JavaScript payloads, runtime decoding, string reconstruction, and obfuscated stage-two JavaScript.

T1078Valid AccountsEvidence1

Instead of building fake infrastructure from scratch, attackers are hijacking real M365 accounts and using them as trusted launching pads. This approach lets malicious emails slip past filters that would normally flag suspicious senders.

T1078.004Cloud AccountsEvidence1

Operators used compromised Microsoft 365 accounts and stolen authenticated session material to access victim tenants.

T1140Deobfuscate/Decode Files or InformationEvidence1

CodeStorm decoded runtime payloads using LCG/Caesar/XOR logic in one variant and AES-256-CBC with CryptoJS in another.

T1497Virtualization/Sandbox EvasionEvidence1

Once a victim clicks the link, they land on a page protected by a Cloudflare Turnstile challenge that filters out automated scanners. The landing page also probes for browser developer tools and automation signals, and even measures how long a debugger statement takes to execute. If anything suspicious is detected, the page redirects to a legitimate Microsoft URL, appearing completely harmless.

T1497.001System ChecksEvidence1

The runtime payload checks for automation and inspection indicators including navigator.webdriver, window.callPhantom, window._phantom, and user-agent strings containing Burp.

T1564.008Email Hiding RulesEvidence1

Operators consistently created an Outlook inbox rule named LinkedIn that moved messages from the phishing sender into RSS Feeds and marked them read.

T1620Reflective Code LoadingEvidence1

CodeStorm reconstructed and executed decoded JavaScript payloads at runtime and dynamically loaded stage-two scripts.

Credential Access

5 techniques
T1056.003Web Portal CaptureEvidence1

The fake Microsoft 365 login interface captured email addresses, passwords, and MFA artifacts.

T1539Steal Web Session CookieEvidence1

On successful replay, the operator obtains authenticated Microsoft 365 session material, including session cookies and tokens issued during the web authentication flow.

T1557Adversary-in-the-MiddleEvidence2

CodeStorm proxied Microsoft 365 authentication in real time to intercept credentials, MFA artifacts, and session material.

T1621Multi-Factor Authentication Request GenerationEvidence1

The kit communicates through a series of actions, do=check for identity discovery, do=login for credential submission, and do=verify to trigger MFA. This design supports the full Microsoft MFA workflow including Authenticator push, SMS one-time codes, voice calls, and Hotmail recovery codes.

T1649Steal or Forge Authentication CertificatesEvidence1

ZeroBEC identified and documented how the CodeStorm phishing kit has evolved with a powerful new capability: tenant-aware Microsoft 365 credential replay.

Discovery

4 techniques
T1087.003Email AccountEvidence1

Operators harvested contacts from compromised users' Outlook address books.

T1087.004Cloud AccountEvidence1

Operators used compromised Microsoft 365 context to identify tenant users, contacts, and cloud-account relationships.

T1497Virtualization/Sandbox EvasionEvidence1

Once a victim clicks the link, they land on a page protected by a Cloudflare Turnstile challenge that filters out automated scanners. The landing page also probes for browser developer tools and automation signals, and even measures how long a debugger statement takes to execute. If anything suspicious is detected, the page redirects to a legitimate Microsoft URL, appearing completely harmless.

T1497.001System ChecksEvidence1

The runtime payload checks for automation and inspection indicators including navigator.webdriver, window.callPhantom, window._phantom, and user-agent strings containing Burp.

Lateral Movement

2 techniques
T1534Internal SpearphishingEvidence1

After gaining mailbox access, operators sent phishing messages to other recipients within the same tenant.

T1550.004Web Session CookieEvidence1

Operators reused stolen Microsoft 365 session cookies or tokens after successful MFA.

Collection

6 techniques
T1056.003Web Portal CaptureEvidence1

The fake Microsoft 365 login interface captured email addresses, passwords, and MFA artifacts.

T1114.002Remote Email CollectionEvidence1

Operators accessed Microsoft 365 mailbox content after compromise.

T1114.003Email Forwarding RuleEvidence1

Follow-on signs of compromise include new inbox rules, unusual OAuth grants, MFA prompts from unfamiliar locations, and successful sign-ins from IPs previously tied to failure events.

T1213.002SharepointEvidence1

Operators conducted keyword-driven reconnaissance against SharePoint (payment, credentials).

T1530Data from Cloud StorageEvidence1

Operators accessed SharePoint-hosted cloud content after compromise.

T1557Adversary-in-the-MiddleEvidence2

CodeStorm proxied Microsoft 365 authentication in real time to intercept credentials, MFA artifacts, and session material.

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence1

CodeStorm used HTTPS web traffic for Tencent COS stage-two payload retrieval and communication with harvester endpoints such as /google.php and /next.php.

T1102Web ServiceEvidence1

Tencent COS / myqcloud.com was used as a web service for hosting stage-two payloads.

Indicators of compromise

Observables

318 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
zerobec blogNews · Aug 4, 2026Why Email Security Needs a Second Brain | ZeroBECPhishing kit that uses compromised Microsoft 365 accounts and conversation stuffing to deliver convincing, authenticated messages. Its capabilities include tenant-aware credential replay and multiple paths for collecting MFA responses.Read more ↗zerobec blogNews · Jun 21, 2026CodeStorm Phishing Kit Evolves With Tenant-Aware M365 Replay | ZeroBECMicrosoft 365 phishing kit using voicemail lures, dummy email-thread stuffing, rotating infrastructure, and anti-analysis checks. Its stable /google.php controller discovers account and tenant configurations, adapts phishing screens for managed, federated, and GoDaddy-managed accounts, and replays submitted credentials against Microsoft. Controlled testing confirmed credential replay through OfficeHome authentication failures in Entra logs. Static analysis identified support for Authenticator push, OTP, SMS, voice-call, and Hotmail recovery workflows; not every supported MFA flow was observed executing.Read more ↗hexastrike blogNews · May 20, 2026CodeStorm - A Microsoft 365 AiTM Phishing Kit with Storm-1167 Overlap - Hexastrike CybersecurityMicrosoft 365 phishing kit used in campaigns active since at least January 2025. Its PHP backend gates access with Cloudflare Turnstile, serves encrypted JavaScript, and loads a Tencent COS-hosted second stage that proxies authentication and captures passwords, MFA responses, cookies, and tokens. It supports authenticator OTP, push number matching, and SMS/email code interception, with browser anti-analysis and debugger checks. Operators reuse stolen sessions, conceal phishing-related mail through inbox rules, conduct SharePoint reconnaissance, and propagate phishing from compromised accounts. The report links more than 100 confirmed tenant compromises to CodeStorm and identifies approximately 600 targeted organizations. Attribution to Storm-1167 is assessed with moderate confidence, not established as exclusive actor control. Public release of the research occurred on May 20, 2026.Read more ↗
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching318Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping33Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.