Skip to navigation

Threat reportMalwareTL-2026-3328

Casbaneiro Banking Trojan Activates Only When Victims Visit Targeted Bank Websites

highACTIVE

A Casbaneiro banking trojan campaign observed in August 2026 targets users in Argentina, Peru, Colombia and Mexico through phishing emails with PDFs posing as invoices or legal notices. A geofenced chain (ZIP, HTA, JScript, AutoIt loader) injects the payload into RegSvcs.exe or mobsync.exe, and banking C2 activity starts only when the victim visits a targeted bank website. First disclosed .

Key facts

IdentifiersTL-2026-3328
Also known asCasbaneiro
SeverityHIGH
First disclosed
Affected productsMicrosoft Windows (including Outlook address-book data on infected hosts)
MalwareMetamorfo, Rakhni
MITRE ATT&CK techniquesT1027 Obfuscated Files or Information, T1047 Windows Management Instrumentation, T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol, T1055 Process Injection, T1059.007 JavaScript, T1059.010 AutoHotKey & AutoIT, T1071.001 Web Protocols, T1105 Ingress Tool Transfer, T1114.001 Local Email Collection, T1115 Clipboard Data, T1132.001 Standard Encoding, T1140 Deobfuscate/Decode Files or Information and 9 more in the attack flow
MotivationFINANCIAL
Target sectorsfinance, banking, general consumers
Target regionsargentina, peru, colombia, mexico, Latin America
Detection rules9 (1 shown free)
Sources5 cited sources

Detection coverage

As of 2026-10-12, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-3328 across Splunk SPL, Microsoft KQL and Sigma, covering 45 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: Casbaneiro HTA / Script Host to AutoIt Loader Chain — Exploitation

Detects the Casbaneiro (TL-2026-3328) execution chain that follows the phishing ZIP: mshta.exe, wscript.exe or cscript.exe launching an AutoIt interpreter, an AutoIt interpreter (including a renamed one, via OriginalFileName) running from a randomly named C:\{random} directory, or mshta.exe running an HTA from Downloads, Temp or AppData. This loader later injects the payload into RegSvcs.exe or mobsync.exe.

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
```Casbaneiro TL-2026-3328 stage one: HTA or script host chain that launches the AutoIt loader```
| eval img=lower(Image), par=lower(ParentImage), cmd=lower(CommandLine), orig=lower(coalesce(OriginalFileName, ""))
| eval is_autoit=if(orig="autoit3.exe" OR match(img, ".autoit3(_x64)?[.]exe$"), 1, 0)
| eval from_script_host=if(match(par, ".(mshta|wscript|cscript)[.]exe$"), 1, 0)
```The loader drops the interpreter into a randomly named directory directly under the C drive root```
| eval root_dir_exe=if(match(img, "^c:.[a-z0-9_-]+.[a-z0-9_.-]+[.]exe$"), 1, 0)
| eval hta_user_path=if(match(img, ".mshta[.]exe$") AND match(cmd, "[.]hta") AND match(cmd, ".(downloads|temp|appdata)."), 1, 0)
| where (is_autoit=1 AND (from_script_host=1 OR root_dir_exe=1)) OR hta_user_path=1
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as command_lines values(ParentImage) as parent_images by Computer, User, Image
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| extend IsAutoIt = (ProcessVersionInfoOriginalFileName =~ "AutoIt3.exe" or FileName in~ ("AutoIt3.exe", "AutoIt3_x64.exe"))
| extend FromScriptHost = InitiatingProcessFileName in~ ("mshta.exe", "wscript.exe", "cscript.exe")
| extend RootDirExe = FolderPath matches regex @"(?i)^c:.[a-z0-9_-]+.[a-z0-9_.-]+[.]exe$"
| extend HtaUserPath = (FileName =~ "mshta.exe" and ProcessCommandLine contains ".hta" and ProcessCommandLine has_any ("Downloads", "Temp", "AppData"))
| where (IsAutoIt and (FromScriptHost or RootDirExe)) or HtaUserPath
| project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256

Sigma

title: Casbaneiro HTA or Script Host Launching AutoIt Loader
id: 3f6b1c2e-8a41-4d7b-9c55-2e1a7b90c3d1
status: experimental
description: Detects the Casbaneiro stage-one chain where mshta, wscript or cscript launches an AutoIt interpreter, an AutoIt interpreter runs from a randomly named directory directly under the C drive root, or mshta runs an HTA from a user-writable path.
references:
  - https://www.fortinet.com/blog/threat-research/casbaneiro-a-banking-trojan-with-distributed-data-receiving-servers/
  - https://intel.threadlinqs.com/threats/TL-2026-3328
author: Threadlinqs Team
date: 2026-10-12
tags:
  - attack.execution
  - attack.t1059.010
  - attack.t1059.007
  - attack.t1204.002
  - attack.defense_evasion
  - attack.t1218.005
logsource:
  category: process_creation
  product: windows
detection:
  selection_autoit:
    - OriginalFileName: 'AutoIt3.exe'
    - Image|endswith:
        - '\AutoIt3.exe'
        - '\AutoIt3_x64.exe'
  selection_parent:
    ParentImage|endswith:
      - '\mshta.exe'
      - '\wscript.exe'
      - '\cscript.exe'
  selection_rootdir:
    Image|re: '(?i)^C:.[a-z0-9_-]+.[a-z0-9_.-]+[.]exe$'
  selection_hta:
    Image|endswith: '\mshta.exe'
    CommandLine|contains: '.hta'
  selection_hta_path:
    CommandLine|contains:
      - '\Downloads\'
      - '\Temp\'
      - '\AppData\'
  condition: (selection_autoit and (selection_parent or selection_rootdir)) or (selection_hta and selection_hta_path)
falsepositives:
  - Legitimate administrative scripts that deploy AutoIt automation through wscript or cscript
  - Internal software packaging that runs an AutoIt interpreter from a root-level folder
level: high

Known false positives:

  • Legitimate IT automation that launches AutoIt scripts through wscript or cscript
  • Software packaging tools that run AutoIt from a root-level directory

Tuning notes: Requires Sysmon EventCode 1 with OriginalFileName. Exclude approved AutoIt automation by hash or signed publisher, and restrict root_dir_exe to workstations where no packaging tools run from C:\<folder>.

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)
  • Casbaneiro Phishing Delivery Hashes and HTA Execution — Exploitation · unlock with TL Creds
  • Casbaneiro Injection into RegSvcs.exe / mobsync.exe — Post-Exploitation · unlock with TL Creds
  • Casbaneiro Injected Host Process C2 and Known Infrastructure — C2 · unlock with TL Creds
  • Casbaneiro Script Host WMI Sandbox and Language Checks — Exploitation · unlock with TL Creds
  • Casbaneiro MD5-Named Registry Marker from Injected Host Process — Post-Exploitation · unlock with TL Creds
  • Casbaneiro Infrastructure DNS Resolution — C2 · unlock with TL Creds
  • Casbaneiro Startup LNK Persistence and Outlook / Public Folder Markers — Post-Exploitation · unlock with TL Creds
  • Casbaneiro Malformed HTTP C2 (Missing Host Header) and Known Receiving Servers — C2 · unlock with TL Creds

Indicators of compromise

As of 2026-10-12, Threadlinqs Intelligence tracks 45 indicators of compromise for TL-2026-3328.

Sample indicators (3 of 45)

  • IP address: 72.167.48[.]63
  • Domain: gexwalltool[.]com
  • File hash: 6bb4372d0d02ec87b76409f69d445a93910964f8db457bafafb97a011da59e73

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

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

Technical analysis

FortiGuard Labs documented a Casbaneiro campaign observed in August 2026 and published on 2026-09-10; GBHackers re-reported it on 2026-10-12. Initial access is a phishing email or PDF disguised as an invoice or legal notice, personalized with the recipient's email address and country-code domains. The links lead to a geofenced web page: visitors outside the target regions are redirected to legitimate sites such as Google or YouTube, while eligible visitors receive a ZIP archive delivered through Base64-encoded content embedded in JavaScript.

The ZIP contains an HTA downloader that references external JavaScript. That script retrieves an XML-based script package containing JScript, which performs WMI-based environment checks (sandbox detection and OS language identification) and proceeds only if the OS language matches whitelisted countries. The loader then downloads, as separate components to hinder static detection, a legitimate AutoIt interpreter, a compiled AutoIt script and a compressed payload into a randomly named directory (C:\{random name}). The AutoIt loader displays a fake Windows service window, decompresses the payload and injects Casbaneiro into RegSvcs.exe, falling back to mobsync.exe.

The payload decrypts cryptocurrency addresses, a global ID and exfiltration URLs using fragmented decryption keys. It creates the mutex GlobolID-4465173{Username}, exits if the default system language is German, French or English, and builds an MD5 hash from the computer name, username and executable name. It harvests Outlook address-book entries and sender/recipient information and sends them unencrypted to exfiltration URLs, leaving a .Outlook marker in %APPDATA%. Victim information is sent Base64-encoded to a separate server that is expected to return HTTP 403 Forbidden; any other status causes a retry. Only after a 403 does it create an MD5-named folder in %TEMP% and an MD5-named registry key under HKCU\SOFTWARE. Persistence is an LNK file in the Startup folder that launches the AutoIt script through the interpreter, plus a {ComputerName}@4{UserName} folder in %PUBLIC% as an infection marker.

Banking C2 communication is triggered only when the victim visits a targeted financial website in a browser. Supported tasks are keyboard control, clipboard pasting, file execution, command execution and bank-themed fake windows to facilitate fraud. C2 traffic uses malformed HTTP requests (missing Host header, oversized Content-Length, payload fragmented across small packets), and the distributed servers return misleading 403 responses. The string-decryption algorithm overlaps with the Ousaban banking trojan; the source describes this as an overlap of evasion patterns, not shared operators. No threat actor is named. FortiGuard detection names: PDF/Phishing.5BB0!tr, JS/Phishing.IBP!tr and W32/Casbaneiro.EN!tr.spy.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1027 Obfuscated Files or Information; T1055 Process Injection; T1140 Deobfuscate/Decode Files or Information; T1218.005 Mshta; T1480 Execution Guardrails; T1497.001 System Checks

Execution

T1047 Windows Management Instrumentation; T1059.007 JavaScript; T1059.010 AutoHotKey & AutoIT; T1204.001 User Execution; T1204.002 Malicious File

Exfiltration

T1048.003 Exfiltration Over Unencrypted Non-C2 Protocol

Command and Control

T1071.001 Web Protocols; T1105 Ingress Tool Transfer; T1132.001 Standard Encoding

Collection

T1114.001 Local Email Collection; T1115 Clipboard Data

Persistence

T1547.001 Registry Run Keys / Startup Folder

Initial Access

T1566.001 Spearphishing Attachment; T1566.002 Spearphishing Link

Discovery

T1614.001 System Language Discovery

Remediation

Immediate actions

  • Block the listed domains, IPs and file hashes at email, proxy and endpoint layers
  • Hunt for mshta.exe or wscript/cscript spawning AutoIt interpreters from randomly named directories under C:\
  • Hunt for RegSvcs.exe or mobsync.exe running with AutoIt-related command lines or with unexpected network activity
  • Search for the mutex GlobolID-4465173*, a .Outlook file in %APPDATA%, and {ComputerName}@4{UserName} folders in %PUBLIC%
  • Review Startup-folder LNK files that launch an AutoIt interpreter and script

Workarounds

  • Restrict mshta.exe execution where it is not needed for business operations
  • Block execution of AutoIt interpreters from user-writable or non-standard directories

Longer-term hardening

  • Use email filtering and CDR (Content Disarm and Reconstruction) to neutralize malicious PDF content
  • Keep endpoint protection updated with current Casbaneiro signatures
  • Monitor for unusual HTA and AutoIt execution patterns that indicate early-stage infection
  • Alert on HTTP requests with a missing Host header or oversized Content-Length from endpoints

Affected and fixed versions

  • Microsoft — Windows (including Outlook address-book data on infected hosts)
    Vulnerable versions: Not specified in source

Timeline

Last updated · revalidated 1× · latest source

  • FortiGuard Labs observed the Casbaneiro phishing campaign targeting Argentina, Peru, Colombia and Mexico (month-level date: August 2026).
  • FortiGuard noted Casbaneiro uses the same string-decryption algorithm as Ousaban, with the key and encrypted strings split into fragments concatenated at runtime; described as overlapping evasion patterns, not shared operators.
  • FortiGuard named detections PDF/Phishing.5BB0!tr, JS/Phishing.IBP!tr and W32/Casbaneiro.EN!tr.spy for the phishing PDFs, JS stage and Casbaneiro payload.
  • The FortiGuard report released IOCs: PDF, email, HTA, AutoIt script and payload hashes, secureserver.net-hosted domains, locked-ioc-38, locked-ioc-36, two IPs and two cryptocurrency addresses.
  • FortiGuard Labs published 'Casbaneiro: A Banking Trojan with Distributed Data Receiving Servers', detailing the geofenced HTA/JScript/AutoIt chain and injection into RegSvcs.exe/mobsync.exe.
  • SOC Prime published an active-threat entry with detection content for the Casbaneiro campaign (MSHTA misuse, RegSvcs/mobsync injection, HKCU\SOFTWARE MD5 keys, HTTP 403 distributed C2).
  • GBHackers published coverage highlighting that C2 banking activity starts only when victims visit targeted bank websites.

Update history

Sources cited

Previous and next in malware

Drafted by the Threadlinqs research pipeline from 5 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