Black friday Up to 3 extra licenses FOR FREE + Special offer for TI LOOKUP Get it now
Webinar
February 26
Better SOC with Interactive Sandbox Practical Use Cases
Register now

Mirage2FA

39
Global rank
18 infographic chevron month
Month rank
48 infographic chevron week
Week rank

Mirage2FA is a Phishing-as-a-Service toolkit designed to compromise Microsoft 365 accounts and bypass conventional MFA through Adversary-in-the-Middle attacks. It uses malicious HTML, XHTML, and SVG files to deliver JavaScript loaders that connect victims to attacker-controlled phishing infrastructure. The toolkit relays authentication in real time, capturing credentials, 2FA codes, and authenticated session cookies. It also uses browser fingerprinting, WebSockets, obfuscation, and rotating infrastructure to evade detection and maintain access to compromised accounts.

Phishingkit
Type
LinX Coders
Origin
23 September, 2024
First seen
16 October, 2026
Last seen

How to analyze Mirage2FA with ANY.RUN

Type
LinX Coders
Origin
23 September, 2024
First seen
16 October, 2026
Last seen

IOCs

IP addresses
23.11.40.157
162.159.207.0
48.209.138.189
150.171.27.11
23.53.42.115
142.251.110.95
104.26.12.205
23.52.181.212
3.174.46.24
150.171.109.101
74.125.250.129
104.18.94.41
135.232.92.137
150.171.22.17
2.20.142.155
104.16.51.19
45.63.59.168
100.58.9.166
185.174.100.90
142.251.20.94
Hashes
269b3a43ad6cb11d80319383b1b4640e97bb042a80dea8b8061c6824f898cab6
266da3069a00ae9193ac11ae63771f5aeefa18b1862a441e03d319fde7bc1680
84c21f338d0339521cb2974fa435ccde7034ba57732a7b6f5ae2d698a709d289
a7ee799dd5b6f6dbb70b043b766362a6724e71458f9839306c995f06b218c2f8
a361e7885c36bacb3fd9cb068da207c3b9329962cac022d06e28923939f575e8
8ed8f3acb9b87f99e42c74463d4e2be96ee85b8a87cd6eb874295ace420a5904
4062edaf750fb8074e7e83e0c9028c94e32468a8b6f1614774328ef045150f93
8dd1b999d16eccef41a05237186710bff4609d9b676389226e2ea8e339914d9d
8e6db1634f1812d42516778fc890010aa57f3e39914fb4803df2c38abbf56d93
90cdaf487716184e4034000935c605d1633926d348116d198f355a98b8c6cd21
7f04991cb2d08512ee29d864bc64cdad078ebc2af93cca9005b194e5b64e747b
2c295d99e26dcf357d4d01bcf270fd6924b600c9a13dd8c363ef114f4c6976fa
a1fa3fda49ac05f9d22ea03a8027de0296d23363a6373e7c63d0dac3862e4964
faa24ec881e6040655c187a681d6dc496eb8aa41e1bd0652a180b3a40b457187
886fd1e6ce992ede514743a826fa71fefdb577047a2a899ca95f6f28f3305d09
c30d67d28a19503677da3f0f61a6ac5414e06fc0aa58ea4924fc9c84c11b85f9
62227c230c4e111b02f4ae1b6c7d2e5e2e709041a7d73073acd62bcfbd049768
3dd0df1d80d5ae1f1cc3030c8067b09d04f96e7f4fd63c2d5d1488b10dfdf4d5
561d9f29fe6de059d003e9a107b37e332c67ef5b66c84205a03ed51d7d182101
1c03b9ceae5483d98e43a554a73ef47a1d523e1e9440f6160c93976ee697da10
Domains
fonts.googleapis.com
ocsp.digicert.com
i.imgur.com
aadcdn.msftauth.net
google.com
todonovia.net
code.jquery.com
image.thum.io
aadcdn.msauth.net
edge.microsoft.com
vividloft65.click
xmn.giza-enta.xyz
fonts.gstatic.com
challenges.cloudflare.com
ecs.office.com
api.edgeoffer.microsoft.com
settings-win.data.microsoft.com
www.bing.com
arc.msn.com
stun.cloudflare.com
URLs
http://ocsp.digicert.com/mfewtzbnmeswstajbgurdgmcgguabbq50otx%2fh0ztl%2bz8sipi7wewvxdlqqutijuibiv5unu5g%2f6%2brks7qyxjzkceaz1vqyrvgl0erhqlcpm8gy%3d
http://ocsp.digicert.com/mfewtzbnmeswstajbgurdgmcgguabbtrjrydryt%2bapf3gspypfhbxr5xtqqus9tippmhxdiunkhmewnpyim8s8yceajtxtab8my1oj8mfwpz%2f7y%3d
http://crl.microsoft.com/pki/crl/products/microoceraut2011_2011_03_22.crl
http://oneocsp.microsoft.com/ocsp/mfqwujbqme4wtdajbgurdgmcgguabbq3l3%2f%2fa6adk8nray2gxzvayrhg4aqub6t%2b2v%2bxq3lso2d33ojhnyhhqoucezmaaaafuwohyjguzpcaaaaaaau%3d
http://www.microsoft.com/pkiops/crl/microsoft%20secure%20server%20ca%202026.crl
http://edge.microsoft.com/browsernetworktime/time/1/current?cup2key=2:fqdi_hy58sixf3bchsvo7jswymdzmaqvulff4w4wg4y&cup2hreq=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
https://copilot.microsoft.com/c/api/user/eligibility
https://trackingservice.monday.com/tracker/link?token=eyjhbgcioijiuzi1niisinr5cci6ikpxvcj9.eyjvcmlnaw5hbfvybci6imh0dhbzoi8vdg9kb25vdmlhlm5ldc9yyxbpzgn5y2xlc29sdxrpb25zl2nocmlzbwfubmluz2nvbw11bml0awvzl3dhcmrjaxjjbgvzdhjhdgvnawvziiwizw1hawxjzci6ijc0zjaxyjlkltljmmmtndjhzc05zji2ltmyogyyownkytc1zcisimlhdci6mtc5mja4ndqwox0.7im1eoxwvgun6ssx7l1oewzjx9ke8r_j4bld3bh0yqu&r=use1
https://edge.microsoft.com/serviceexperimentation/v3/?osname=win&channel=stable&osver=10.0.19045&devicefamily=desktop&installdate=1661339457&clientversion=133.0.3065.92&experimentationmode=2&scpguard=0&scpfull=0&scpver=0
https://config.edge.skype.com/config/v1/edge/133.0.3065.92?clientid=4489578223053569932&agents=edge%2cedgeconfig%2cedgeservices%2cedgefirstrun%2cedgefirstrunconfig&osname=win&client=edge&channel=stable&scpfre=0&osarch=x86_64&osver=10.0.19045&wu=1&devicefamily=desktop&uma=0&sessionid=72&mngd=0&installdate=1661339457&edu=0&soobedate=1504771245&bphint=2&fg=1&lbfgdate=1792194936&lafgdate=0
https://api.edgeoffer.microsoft.com/edgeoffer/pb/experiments?appid=edge-extensions&country=us
https://todonovia.net/rapidcyclesolutions/chrismanningcommunities/wardcirclestrategies
https://todonovia.net/rapidcyclesolutions/chrismanningcommunities/wardcirclestrategies/
https://todonovia.net/rapidcyclesolutions/chrismanningcommunities/wardcirclestrategies/tg.js
https://todonovia.net/favicon.ico
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css
https://fonts.googleapis.com/css2?family=inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap
https://www.bing.com/bloomfilterfiles/expandeddomainsfilterglobal.json
https://ipapi.co/json/
https://openfpcdn.io/botd/v2
Last Seen at

Recent blog posts

post image
DORA TLPT Requirements Explained: Where Threa...
watchers 3714
comments 0
post image
Your MSSP Added 10 New Clients. What Breaks F...
watchers 5148
comments 0
post image
Fake AI Tools Put US Companies at Risk: Insid...
watchers 11490
comments 0

Key Takeaways

  • MFA and Session Hijacking: Mirage2FA uses AiTM phishing to capture Microsoft 365 credentials, 2FA codes, and authenticated session cookies, enabling attackers to bypass conventional MFA.
  • Broad Corporate Reach: The campaign was linked to 3,518 organization domains and 9,426 targeted email addresses. Of these, 4,532 were potentially compromised — about 48%.
  • US-Centric Targeting: The US accounted for 2,885 victims (63.7%), with activity observed across 94 countries.
  • Session Theft Leads Compromises: Of 9,332 potential compromise events, 4,561 involved cookie theft, compared with 3,044 password/2FA events and 1,339 SSO logins.
  • Browser-Based Attack Chain: Mirage2FA avoids traditional binaries, using .htm, .xhtml, and .svg stagers, QR codes, obfuscated JavaScript, and WebSockets to conduct attacks inside the browser.

Mirage2FA targets US businesses across technology and manufacturing

Mirage2FA targets US businesses across technology and manufacturing

  • ANY.RUN’s Interactive Sandbox analysis confirms that Mirage2FA uses an AiTM flow to intercept Microsoft 365 authentication in real time, capturing credentials, 2FA codes, and authenticated session cookies for account takeover.
  • Mobile Exposure: 33.3% of successful login events involved mobile devices, where limited URL visibility can make phishing harder to spot.
  • Persistent Hunting Opportunities: Despite changing infrastructure, recurring /xls/.js loader paths and LINX markers provide useful detection signals beyond individual domains and IPs.

What is Mirage2FA?

Mirage2FA is a commercial Phishing-as-a-Service (PhaaS) offering designed to compromise corporate Microsoft 365 accounts and active authenticated sessions while bypassing conventional two-factor authentication.

The operator distributes malicious HTML, XHTML, and SVG attachments that execute in the victim’s browser and silently fetch harvesting logic from attacker-controlled infrastructure. Mirage2FA then proxies the Microsoft 365 login and 2FA flow in real time through an Adversary-in-the-Middle (AiTM) attack, capturing credentials, authentication codes, and session cookies.

Unlike traditional credential-stealing phishing, Mirage2FA focuses on session hijacking. Stolen session cookies can potentially allow attackers to access Microsoft 365 and connected cloud services as an already authenticated user, even after the victim has successfully completed MFA.

The toolkit also relies on browser-based delivery rather than conventional executable malware. JavaScript obfuscation, WebSocket communication, browser fingerprinting, and rotating infrastructure help operators evade detection and adapt campaigns.

How Mirage2FA Threatens Businesses and Organizations

A successful Mirage2FA infection can create risks beyond the initial account compromise:

  • Identity-driven access risk: Stolen sessions can provide trusted access to Microsoft 365 and connected cloud services.
  • Fraud and impersonation exposure: Compromised accounts can be used to impersonate employees and target customers, suppliers, or finance teams.
  • Higher containment costs: Session theft may require more than a password reset, increasing investigation and remediation efforts.
  • Greater blast radius: A single compromised identity can enable follow-on access across email, SSO-connected applications, and internal workflows.
  • MFA control gaps: Successful AiTM attacks demonstrate that conventional MFA can be intercepted, highlighting the need for stronger phishing-resistant authentication and session controls.

Get started today for free

Analyze malware and phishing in a fully-interactive sandbox

Create free account

Victimology: Who Is Most Vulnerable?

Mirage2FA primarily targets organizations that rely heavily on Microsoft 365 for communication, collaboration, and business operations. ANY.RUN telemetry shows the highest exposure in Technology (19.2%), followed by Manufacturing (11.1%), Education (9.9%), Consulting (8.3%), and Telecommunications (6.6%). These sectors provide attackers with access to valuable corporate data, trusted communications, and connected cloud services.

Technology, MSSPs, and Manufacturing face the highest exposure to Mirage2FA

Technology, MSSPs, and Manufacturing face the highest exposure to Mirage2FA

The campaign is strongly concentrated in the United States, which accounts for 2,885 victims (63.7%), while activity was recorded across 94 countries, including India, Singapore, the UK, Canada, Saudi Arabia, and South Africa.

Mirage2FA also showed sustained activity as the campaign progressed. By the end of data collection in July 2026, 445 Mirage2FA sandbox sessions had already been recorded that month, indicating continued operational activity and growing visibility in the wild.

The compromise data highlights the toolkit’s focus on authenticated session theft. Of 9,332 potential compromise events, 4,561 involved session cookie theft, compared with 3,044 password/2FA compromises and 1,339 SSO logins. Mobile devices accounted for 33.3% of successful login events, adding another layer of risk as phishing pages can be harder to scrutinize on smaller screens.

Overall, the data points to a threat focused on high-value corporate identities, where compromising a single Microsoft 365 session can provide attackers with a pathway to broader business access.

How Does Mirage2FA Function?

Observing a Mirage 2FA sample inside ANY.RUN’s Interactive Sandbox reveals how the threat moves from a phishing attachment to Microsoft 365 account takeover through browser-based AiTM activity.

The complete Mirage2FA attack flow

The complete Mirage2FA attack flow

Stage 1: Delivery

A phishing email delivers a malicious .htm, .xhtml, or .svg attachment , or directs the victim to a QR-code link. Campaigns have also used Amazon SES for distribution.

Mirage2FA detonated inside ANY.RUN’s Interactive Sandbox

Mirage2FA detonated inside ANY.RUN’s Interactive Sandbox

Stage 2: Browser Execution

Opening the attachment launches an embedded stager. The files contain no traditional binary malware and instead execute JavaScript in the browser.

Stage 3: Hidden Staging

The stager uses HTML smuggling, SVG scripts, or JavaScript obfuscation to conceal its logic. It also carries a recipient-specific token, often based on the victim's email address.

Mirage2FA behavior verified in ANY.RUN sandbox

Mirage2FA behavior verified in ANY.RUN sandbox

Stage 4: Remote Loader

The stager retrieves the harvesting code from an attacker-controlled server, typically through the /xls/.js URL pattern.

Stage 5: AiTM Authentication

The victim is shown a convincing Microsoft 365 login page backed by an Adversary-in-the-Middle reverse proxy. The victim enters their credentials and 2FA code.

Stage 6: Credential and 2FA Interception

The phishing page captures the victim’s username, password, and one-time 2FA code.

Victims submit their Microsoft credentials through a fake login page

Victims submit their Microsoft credentials through a fake login page

Stage 7: Real-Time Relay

Mirage2FA relays the authentication to legitimate Microsoft 365 services over a WebSocket channel, allowing the attacker to obtain the resulting authenticated session despite MFA.

Stage 8: Session Theft

The toolkit exfiltrates session cookies and credentials to the operator infrastructure, storing stolen cookies as Base64-encoded .txt dumps.

Stage 9: Account Takeover

Attackers can reuse the stolen session to access Microsoft 365, read email, and impersonate the victim without entering the password or completing MFA again.

The stagers use several concealment techniques: XHTML variants can dynamically create full-screen iframes or hide logic behind hex decoders, .htm samples use remote-loader stubs or XOR + Base64 + eval, and SVG samples use inline scripts or obfuscator.io-style wrappers to hide redirects.

This browser-based design makes Mirage2FA particularly difficult to detect with traditional malware controls, as the attack relies on legitimate browser functionality rather than deploying an executable payload.

The Evolution of Mirage2FA

Since its emergence in 2024, Mirage2FA has continuously adapted its delivery and evasion techniques while preserving infrastructure and code patterns that help researchers track the operation.

  • Evolving identifiers: Early samples used LINXCODERSEMAIL, later shifting to LINXEMAIL and LINXB64EMAIL, with newer variants introducing markers such as #LINXMASKEMAIL, #LINXRANDSTRING, and linxz.
  • More sophisticated obfuscation: The JavaScript loaders progressed from relatively simple code to XOR/Base64 encoding, hexadecimal decoders, and obfuscator.io-style _0x wrappers. Obfuscation was particularly prevalent in .htm files, affecting 453 of 629 samples.
  • Expanded delivery channels: Mirage2FA moved beyond malicious .htm, .xhtml, and .svg attachments, incorporating QR-code phishing and Amazon SES. Social-engineering themes have repeatedly included HR communications and 401(k) benefits.
  • Rotating C2 infrastructure: Although domains and tokens change, the toolkit continues to expose recurring /xls/.js *loader paths**, including variations built around short routing codes and unique tokens. These persistent patterns give defenders a way to identify related activity even as infrastructure rotates.

Mirage2FA captures login credentials from targeted companies

Mirage2FA captures login credentials from targeted companies

How Businesses Can Use ANY.RUN’s Threat Intelligence Against Mirage2FA

Mirage2FA rotates domains and infrastructure, making static IOCs easy to outlive. ANY.RUN’s Threat Intelligence helps SOC teams combine known indicators with recurring behavioral patterns to detect and investigate the threat.

Threat Intelligence Lookup helps analysts uncover the broader campaign behind a single suspicious artifact.

threatName: "mirage2fa"

Integrate ANY.RUN’s threat intelligence solutions in your company

Contact us

Detect Beyond Static IOCs

Hunt for Mirage2FA patterns across email, proxy, EDR, DNS, and browser telemetry, including:

  • /<3char>/xls/*.js loader paths
  • Base64-encoded email addresses used as DNS subdomains
  • LINX* placeholder strings
  • Suspicious .htm, .xhtml, and .svg attachments
  • WebSocket connections to unknown hosts following JavaScript execution

Fresh ANY.RUN’s Threat Intelligence Feeds built from data contributed by 16,000 organizations and 700,000 security professionals, can deliver known malicious infrastructure to SIEM, SOAR, and EDR platforms, as well as other security controls. Behavioral detections help maintain coverage as Mirage2FA changes its domains and paths.

Actionable IOCs backed by data from 16K SOCs and 700K analysts

Actionable IOCs backed by data from 16K SOCs and 700K analysts

Connect Individual Samples to the Wider Campaign

Analysts can use ANY.RUN’s Threat Intelligence Lookup to pivot from suspicious URLs, domains, IPs, or loader patterns to related samples, infrastructure, and previous sandbox activity.

For Mirage2FA, the characteristic loader pattern can be used as a starting point: url:"/???/xls/?????*.js$"

This type of infrastructure pivot helped researchers expand individual Mirage2FA samples into a broader campaign cluster.

TI Lookup delivers real-time intelligence on Mirage2FA activity

TI Lookup delivers real-time intelligence on Mirage2FA activity

Respond to Session Theft

If investigation confirms that Mirage2FA has stolen a Microsoft 365 session cookie, password rotation alone is insufficient. Response teams should revoke active sessions and tokens, review mail-forwarding rules and OAuth grants, and investigate activity performed through the compromised account.

Combining behavioral hunting, fresh threat intelligence, and sandbox-based investigation gives SOC teams a more complete way to detect Mirage2FA and contain compromised identities.

Conclusion

Mirage2FA demonstrates how phishing has evolved from simple credential theft into session-based identity compromise. By intercepting Microsoft 365 authentication and stealing active session cookies, it can bypass conventional MFA and provide attackers with trusted access.

Reducing the risk requires a combination of phishing-resistant MFA, behavioral detection, isolated analysis, threat intelligence, and session-focused incident response. The faster defenders identify the campaign and revoke stolen access, the smaller the potential impact.

Frequently Asked Questions: Mirage2FA

1. What is Mirage2FA?

Mirage2FA is a Phishing-as-a-Service (PhaaS) toolkit designed to compromise corporate Microsoft 365 accounts. It uses Adversary-in-the-Middle (AiTM) phishing to capture credentials, 2FA codes, and authenticated session cookies.

2. How does Mirage2FA bypass MFA?

Mirage2FA proxies the Microsoft 365 authentication process in real time. When a victim enters their password and completes 2FA, the toolkit relays the authentication to the legitimate service while capturing the resulting authenticated session cookie, allowing attackers to potentially reuse the session without another MFA prompt.

3. How does Mirage2FA get delivered?

The toolkit commonly arrives through malicious .htm, .xhtml, and .svg attachments that execute in the browser and retrieve JavaScript from attacker-controlled infrastructure. Campaigns have also used QR-code lures and email distribution services such as Amazon SES.

4. How can organizations use interactive sandboxing and threat intelligence to detect Mirage2FA?

Interactive sandboxing allows analysts to observe the complete attack chain in real time, including JavaScript execution, redirects, fingerprinting, remote loaders, WebSocket communication, and fake Microsoft 365 authentication pages. Proactive threat intelligence can then help pivot from suspicious URLs, domains, IPs, or loader patterns to related infrastructure and activity.

5. What are the key indicators of a Mirage 2FA activity?

Security teams should look beyond static domains and IP addresses and hunt for recurring behavioral indicators, including /xls/*.js LINX* markers, Base64-encoded email addresses in DNS subdomains, suspicious browser-executed attachments, and WebSocket connections to unknown hosts following JavaScript execution.

HAVE A LOOK AT

DeerStealer screenshot
DeerStealer
deerstealer
DeerStealer is an information-stealing malware discovered in 2024 by ANY.RUN, primarily targeting sensitive data such as login credentials, browser history, and cryptocurrency wallet details. It is often distributed through phishing campaigns and fake Google ads that mimic legitimate platforms like Google Authenticator. Once installed, it exfiltrates the stolen data to a remote command and control (C2) server. DeerStealer’s ability to disguise itself as legitimate downloads makes it particularly dangerous for unsuspecting users.
Read More
IronChain screenshot
IronChain
ironchain
IronChain is destructive ransomware and a wiper-like threat that uses elevated privileges, kernel-level components, security-control interference, and file encryption to disrupt Windows systems and potentially cause irreversible data loss.
Read More
Kratos screenshot
Kratos
kratos
Kratos is a mature Phishing-as-a-Service (PhaaS) platform that evolved from the Sneaky2FA kit to specialize in stealing Microsoft 365 credentials through sophisticated Adversary-in-the-Middle (AiTM) techniques. The service provides low-skilled affiliates with a turnkey solution featuring an advanced administrative dashboard, integrated anti-bot defenses, and real-time data exfiltration via the Telegram Bot API. Although an international law enforcement action known as Operation Olympus Blade disrupted its central infrastructure in July 2026, the kit remains a primary example of the industrialization of modern cybercrime.
Read More
Caminho Loader screenshot
Caminho Loader
caminho caminholoader
Caminho Loader is a Brazilian-origin Loader-as-a-Service operation that uses steganography to conceal .NET payloads within image files hosted on legitimate platforms. Active since March 2025, it has delivered a variety of malware and infostealers to victims within multiple industries across South America, Africa, and Eastern Europe.
Read More
Roning Loader screenshot
Roning Loader
roning
RoningLoader is a multi-stage Windows loader designed to operate quietly while preparing systems for deeper compromise. It abuses trusted system tools and interferes with security controls to reduce the chances of early detection. Instead of acting as a final payload, it creates conditions for follow-on malware to execute more effectively. Its use of staged execution and code injection allows attackers to blend into legitimate activity and escalate impact. This makes early behavioral detection critical before the attack chain progresses further.
Read More
Greatness screenshot
Greatness is a Phishing-as-a-Service (PhaaS) platform that enables cybercriminals, even those with limited technical skills, to launch sophisticated phishing attacks primarily targeting Microsoft 365 (M365) credentials. It acts as a man-in-the-middle (MitM) proxy, facilitating credential theft and MFA bypass while providing affiliates with easy-to-use tools like attachment builders and Telegram notifications.
Read More