Skip to navigation

Threat reportPhishingTL-2026-6521

Google Phishing Kit: Browser-in-the-Middle Real-Time Remote Browser Relay via Socket.IO (DOMDIFFER-style kit, salemilaw.com)

mediumMONITORING

Joe Security analyzed a Google-impersonating phishing kit that works as a Browser-in-the-Middle system. It relays a live Google sign-in flow from a backend browser session to the victim's page over Socket.IO, after a Cloudflare Turnstile gate. Push Security tracks the same file set (socket.io-client.js, domdiffer.js, index.js) as the DOMDIFFER kit, used against corporate Google and Microsoft accounts to bypass 2FA.

Key facts

IdentifiersTL-2026-6521
Also known asDOMDIFFER, Browser-in-the-Middle (BitM) Google phishing kit
SeverityMEDIUM
Affected productsGoogle Google Account / Google Workspace sign-in (impersonated); Microsoft Microsoft 365 / Entra ID sign-in (impersonated by the related DOMDIFFER kit per Push Security)
Weaknesses (CWE)CWE-1021, CWE-451
MalwareDOMDIFFER, Evilginx, NakedPages
ToolsSocket.IO, diffDOM (fiduswriter/diffDOM)
MITRE ATT&CK techniquesT1027.013 Obfuscated Files or Information: Encrypted/Encoded File, T1056.003 Input Capture: Web Portal Capture, T1071.001 Application Layer Protocol: Web Protocols, T1078 Valid Accounts, T1111 Multi-Factor Authentication Interception, T1204.001 User Execution: Malicious Link, T1480 Execution Guardrails, T1539 Steal Web Session Cookie, T1550.004 Use Alternate Authentication Material: Web Session Cookie, T1557 Adversary-in-the-Middle, T1566.002 Phishing: Spearphishing Link, T1583.001 Acquire Infrastructure: Domains and 1 more in the attack flow
MotivationFINANCIAL
Target sectorscorporate enterprise, technology, professional services
Target regionsGlobal
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-11-20, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6521 across Splunk SPL, Microsoft KQL and Sigma, covering 13 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: DOMDIFFER BitM Phishing Kit - Relay Script Co-occurrence on Non-Google Origin (salemilaw.com)

Behaviour-first proxy hunt for the Google Browser-in-the-Middle kit (TL-2026-6521, DOMDIFFER-style). The kit loads socket.io-client.js, domdiffer.js (diffDOM build) and index.js from the phishing origin root after a Cloudflare Turnstile gate. The search flags any user/host that pulls two or more of these root-level scripts from one non-Google/Microsoft domain, or any hit on domdiffer.js or the known salemilaw.com origin.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1566.002, T1204.001, T1656, T1583.001
  • Data sources: proxy:zscalernss-web, proxy:bluecoat:proxysg:access:syslog, proxy:squid:access
  • Severity: high
  • Confidence: high

Splunk SPL

index=proxy sourcetype IN ("zscalernss-web","bluecoat:proxysg:access:syslog","squid:access") earliest=-24h
```DOMDIFFER BitM kit: two or more kit scripts fetched from one non-Google origin```
| eval u=lower(coalesce(url, cs_uri, uri))
| eval dom=replace(mvindex(split(replace(u,"^https?://",""),"/"),0),":\d+$","")
| eval path=replace(replace(u,"^https?://[^/]+",""),"[?#].*$","")
| eval kit_file=case(path="/socket.io-client.js","socket.io-client.js", path="/domdiffer.js","domdiffer.js", path="/index.js","index.js")
| where isnotnull(kit_file) AND NOT match(dom,"(^|\.)(google|gstatic|googleapis|googleusercontent|microsoft|microsoftonline|office|live)\.com$")
| fillnull value="unknown" user src_ip
| stats dc(kit_file) as kit_file_count values(kit_file) as kit_files min(_time) as first_seen max(_time) as last_seen by src_ip, user, dom
| where kit_file_count>=2 OR match(dom,"(^|\.)salemilaw\.com$") OR mvfind(kit_files,"domdiffer\.js")>=0
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| extend Dom = tolower(DestinationHostName), Path = tolower(tostring(parse_url(RequestURL).Path))
| where Path in ("/domdiffer.js","/socket.io-client.js","/index.js") or Dom endswith "salemilaw.com"
| where not(Dom has_any ("google.com","gstatic.com","googleapis.com","googleusercontent.com","microsoft.com","microsoftonline.com","office.com","live.com"))
| summarize KitFiles=make_set(Path), KitFileCount=dcount(Path), First=min(TimeGenerated), Last=max(TimeGenerated) by SourceIP, SourceUserName, Dom
| where KitFileCount >= 2 or Dom endswith "salemilaw.com" or set_has_element(KitFiles, "/domdiffer.js")

Sigma

title: DOMDIFFER BitM Phishing Kit Relay Scripts Requested from Non-Google Origin
id: 6f1c2a4e-3b7d-4e58-9a21-0c5d8e7b1a01
status: experimental
description: Detects proxy requests for the DOMDIFFER / Browser-in-the-Middle kit scripts (domdiffer.js, root-level socket.io-client.js) or the salemilaw.com origin (TL-2026-6521).
references:
    - https://www.joesecurity.org/blog/2909557602925734728
    - https://pushsecurity.com/threat-intelligence/domdiffer
    - https://cloud.google.com/blog/topics/threat-intelligence/session-stealing-browser-in-the-middle/
author: Threadlinqs Team
date: 2026/11/20
tags:
    - attack.initial_access
    - attack.t1566.002
    - attack.execution
    - attack.t1204.001
    - attack.resource_development
    - attack.t1583.001
    - attack.defense_evasion
    - attack.t1656
logsource:
    category: proxy
detection:
    selection_ioc:
        cs-host|endswith: 'salemilaw.com'
    selection_files:
        c-uri-stem:
            - '/domdiffer.js'
            - '/socket.io-client.js'
    filter_main_google_ms:
        cs-host|endswith:
            - '.google.com'
            - '.gstatic.com'
            - '.googleapis.com'
            - '.microsoft.com'
            - '.microsoftonline.com'
    condition: selection_ioc or (selection_files and not filter_main_google_ms)
falsepositives:
    - Legitimate self-hosted Socket.IO web apps that serve /socket.io-client.js from their own root
    - Security researchers or sandboxes detonating the kit
level: high

Known false positives:

  • Internal or SaaS Node.js apps that legitimately serve /socket.io-client.js and /index.js from their own root
  • Web developers or red-team staff testing Socket.IO / diffDOM projects
  • Sandbox detonation traffic analysing the kit

Tuning notes: Replace the sourcetype list with your proxy sourcetype and make sure url/cs_uri is extracted. Add internal app domains to the NOT match() allowlist. Raise kit_file_count to 3 for fewer hits, or lower the threshold to 1 with domdiffer.js to widen coverage. The salemilaw.com clause is a single known IOC; keep the behavioural clause for new domains.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • DOMDIFFER BitM Lure - Calendar-Themed Email Carrying Kit Loader URL · unlock with TL Creds
  • Entra ID Session Reuse - One SessionId, Multiple IPs After MFA (AiTM / BitM Replay) · unlock with TL Creds
  • DOMDIFFER BitM Infrastructure - Endpoint Connections to [indicator] and Community Sibling Domains · unlock with TL Creds
  • Sigma - DOMDIFFER BitM Kit Scripts ([indicator] / [indicator]) via Web Proxy · unlock with TL Creds
  • Sigma - Microsoft Login Relay Endpoints on Non-Microsoft Host (BitM / AiTM Reverse Proxy) · unlock with TL Creds
  • Sigma - DNS Resolution of DOMDIFFER BitM Phishing Infrastructure · unlock with TL Creds
  • Google Workspace Post-BitM Takeover - Sign-in Plus Recovery/2SV Change From a Second IP · unlock with TL Creds
  • DOMDIFFER BitM Relay - Socket.IO Long-Polling to WebSocket Upgrade on Rare Domain · unlock with TL Creds

Indicators of compromise

As of 2026-11-20, Threadlinqs Intelligence tracks 13 indicators of compromise for TL-2026-6521.

Sample indicators (1 of 13)

  • Domain: salemilaw[.]com

Defanged, TLP:CLEAR. Full set of 13 indicators: unlock with TL Creds.

13 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

The kit goes beyond static credential harvesting. The first request to the malicious URL returns a Cloudflare Turnstile challenge. After the challenge passes, the server redirects to the same route and sets three cookies with a three-minute lifetime, including viewer_session_id. With those cookies the browser receives an encrypted application loader (GET /?510c6ea8 on salemilaw.com) that carries the material needed to decrypt itself in the browser. After decryption the page loads three scripts from the phishing origin: socket.io-client.js (Socket.IO transport), domdiffer.js (a reformatted browser build derived from the open-source fiduswriter/diffDOM library) and index.js (custom relay and control logic).

The victim page is a thin client for a browser session running on the phishing backend. The backend streams Google authentication views to the victim as Socket.IO 'domchanges' diff arrays, which index.js applies to the document head, body and nested iframes. In the other direction, the client sends an 'inputchange' event carrying the full current value of any input or textarea, its CSS path, selectionStart/selectionEnd and element metadata. The same structure is used for typing, paste, IME composition and change events. Click and submit handlers call preventDefault() and stopPropagation(), so nothing navigates or submits locally and every interaction is forwarded to the backend. The backend can also send a server-side 'inputchange' to set a field value, restore the caret and dispatch a synthetic input event. The client tracks server-supplied values in an inputTracker to avoid feedback loops. The victim stays on the malicious origin while the backend drives the multi-step login, and the flow ends with a server-selected redirect that sets a completion cookie.

In the captured session the transport starts as HTTPS long-polling and upgrades to WSS. The reconstruction has 90 protocol records, 74 of them application events. The victim's email address is sent keystroke by keystroke before the form is submitted. The Next click is relayed as a structured click event. The response includes a server-to-client inputchange that sets identifierId and a final DOM patch referencing hiddenPassword, which shows the page is prepared for later login states.

Push Security profiles the same file set as DOMDIFFER, which it believes is an evolution of the NakedPages kit. Push bases that on overlapping domain infrastructure, similar URL structure and a reused anti-bot gate template. Push reports the kit targets corporate Google and Microsoft accounts with fake calendar-event lures. For Google it uses the remote-browser relay described above, because Google's sign-in protections block simple reverse proxying. For Microsoft it uses reverse proxying, possibly Evilginx-based. Push reports Socket.IO events domchanges, domreset, inputchange, redir and updateBrowserUrl (server to client) and inputchange, click, keypress and selectionchange (client to server). Push rates its breakthrough rate Extreme from August to October 2026. The Joe Security source states no named actor, no CVE and no victim claims. Whether salemilaw.com is attacker-registered or a compromised site is not stated. The attribution of this specific sample to the DOMDIFFER family is an analytic link through shared file names and architecture, not a statement in the Joe Security article.

BitM defeats most MFA because the user completes authentication in the attacker-controlled browser session. Google Threat Intelligence (Mandiant) notes that FIDO2 security keys and device-bound client certificates can defeat or deter BitM, because FIDO2 responses are bound to the origin and the attacker's origin cannot obtain a valid response for the real site. Both protections lose value if the device itself is compromised.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027.013 Obfuscated Files or Information: Encrypted/Encoded File; T1480 Execution Guardrails; T1684.001 Impersonation

Collection

T1056.003 Input Capture: Web Portal Capture

Command and Control

T1071.001 Application Layer Protocol: Web Protocols

Initial Access

T1078 Valid Accounts; T1566.002 Phishing: Spearphishing Link

Credential Access

T1111 Multi-Factor Authentication Interception; T1539 Steal Web Session Cookie; T1557 Adversary-in-the-Middle

Execution

T1204.001 User Execution: Malicious Link

lateral-movement

T1550.004 Use Alternate Authentication Material: Web Session Cookie

Resource Development

T1583.001 Acquire Infrastructure: Domains

Remediation

Immediate actions

  • Block salemilaw.com and the listed URLs at the proxy, DNS and email gateway
  • Hunt proxy/DNS/web logs for requests to /socket.io-client.js, /domdiffer.js and /index.js on non-Google origins, and for Socket.IO long-polling followed by a WSS upgrade on newly seen domains
  • Reset passwords and revoke sessions and tokens for any user who reached the domain, and review recent Google account sign-ins, recovery settings and OAuth grants

Workarounds

  • Apply web filtering that flags newly registered or uncategorized domains serving a Cloudflare Turnstile page followed by a Google-branded login
  • Enforce Google Workspace session-length and re-authentication policies for sensitive actions

Longer-term hardening

  • Move high-risk users to phishing-resistant authentication (FIDO2/WebAuthn security keys or passkeys), which Google Threat Intelligence notes are bound to the real origin and fail on BitM sites
  • Use device-bound client certificates and device-trust conditional access where possible
  • Treat TOTP, SMS and push approvals as phishable and monitor for session anomalies after sign-in
  • Train users to distrust unexpected calendar invites and links that gate behind a CAPTCHA before showing a Google sign-in

Affected and fixed versions

  • Google — Google Account / Google Workspace sign-in (impersonated)
    Vulnerable versions: Accounts protected by phishable MFA (password, SMS, TOTP, push)
    Fixed in: Accounts protected by FIDO2/WebAuthn security keys or passkeys
  • Microsoft — Microsoft 365 / Entra ID sign-in (impersonated by the related DOMDIFFER kit per Push Security)
    Vulnerable versions: Accounts protected by phishable MFA
    Fixed in: Accounts protected by phishing-resistant authentication

Timeline

  • Researcher mr.d0x publishes the noVNC-based Browser-in-the-Middle technique for stealing credentials and bypassing 2FA (February 2022 per secondary sources); day not stated.
  • Google Threat Intelligence (Mandiant) publishes 'BitM Up!', describing BitM session stealing and recommending FIDO2 keys and client certificates.
  • Push Security finds the DOMDIFFER variant in its detections in February 2026 (day not stated), just before a first major wave.
  • Push Security rates the kit's breakthrough activity Moderate for March 2026 (first major wave), then Inactive in April and May (day not stated).
  • Push Security rates DOMDIFFER activity High in July and Extreme from August 2026, mainly via fake calendar-event campaigns (day not stated).
  • Push Security first publishes its DOMDIFFER profile, linking the kit to NakedPages and to the Joe Security analysis.
  • Push Security updates the DOMDIFFER profile; the current breakthrough rating is Extreme.
  • Threadlinqs researches the Joe Security analysis of the locked-ioc-6 Google BitM kit (the blog shows 11.08.2026, ambiguous between 8 November and 11 August 2026).

Sources cited

Previous and next in phishing

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats