H-Worm
- Type
- RAT
- Capabilities
- KeyloggingExfiltrationReconnaissancePersistenceDefense evasion
- Delivery
- PhishingSpearphishingLure
- Platforms
- Windows
H-Worm, also known as Houdini RAT, is a Visual Basic Script-based remote access Trojan targeting Windows systems. First observed in 2013, it was developed by an actor using the handle Houdini. Its capabilities include system-information theft, screenshot capture, keystroke logging, webcam access, file deletion, and self-uninstallation, enabling remote surveillance and control of infected systems.
H-Worm has been distributed through phishing and spearphishing campaigns using malicious attachments, compressed archives, and document-themed lures. Observed infection chains include obfuscated JavaScript droppers that install the VBS payload and malicious documents that retrieve it. Deployments have established persistence through Windows startup locations and automatic-execution registry entries, while nested script obfuscation conceals the payload. H-Worm communicates with attacker-controlled infrastructure using HTTP requests.
The malware has been used by OPERA1ER in campaigns targeting African banks and financial-services organizations and by LazyScripter in a 2021 phishing campaign targeting European entities with recruitment lures impersonating international organizations. It has also been observed targeting Ukrainian environments. H-Worm is commodity malware used by multiple operators rather than a tool exclusive to a single threat actor.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
“It seems that NanoCore and H-Worm were mostly used until 2019 and were replaced gradually in 2020 by other observed families.”
After deobfuscating the VBS script we could identify the malware sample as Houdini’s H-Worm... This script will be the one which implements the RAT identified as H-worm after a complex nested obfuscation, prepended with a confusing extra line.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
WSH RAT (A variant of H-Worm/Houdini) https://cofense.com/houdini-worm-transformed-new-phishing-attack
The attacks involve phishing emails with attached .zip archives containing malicious .lnk files, which, once executed, trigger LLM-generated PowerShell scripts that lead to the deployment of malware.
Execution
4 techniques
Execution
Details: wscript.exe //B “C:\Users\Lucas\AppData\Roaming\tk.vbs” ... This direct access points at the following Powershell execution
We found the initial macros for testing and then another version that, for the untrained eye, would seem like a perfectly normal macro. In both cases, the macro extracts data from the Microsoft Form object embedded in the malicious document.
Opening the malicious attachment executes an HTML file with embedded JavaScript that is highly likely generated by an LLM. This script is designed to download and execute additional payloads
The other two files found along with this PDF at its arrival via phishing email have the exact same content (even same hash) in spite of having a different name: LIST OF AVAILABLE JOBS.js SALARY AND HIRING CONDITIONS.js This highly obfuscated JavaScript has the only purpose of dropping a second VBS script
Persistence
1 technique
Persistence
For those samples where the VBS script was not dropped in the startup folder, the following persistence mechanism would be established using the registry keys: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\tk ... HKU\*\Software\Microsoft\Windows\CurrentVersion\Run\tk
Privilege Escalation
1 technique
Privilege Escalation
For those samples where the VBS script was not dropped in the startup folder, the following persistence mechanism would be established using the registry keys: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\tk ... HKU\*\Software\Microsoft\Windows\CurrentVersion\Run\tk
Stealth
1 technique
Stealth
Although always using commodity malware, the acquisition of crypters to wrap the malware makes them more effective.
Credential Access
2 techniques
Credential Access
rule wsh_rat_keylogger { ... description = " Alerts on the WSH RAT .NET keylogger module " ... $ str_1 = " RunKeyloggerOffline " ... $ str_3 = " sendKeyLog " ... }
$ str_3 = " WSH Sdk for password recovery " ... $ str_4 = " wshlogs \\ recovered_password_email.log " ... $ str_10 = " Unable to automatically recover password "
Discovery
1 technique
Discovery
The HTTP request is made using the path “/is-ready” in the URI and it includes initial information about the infected system within the User-Agent header value
Lateral Movement
1 technique
Lateral Movement
rule wsh_rat_rdp { ... description = " Alerts on the WSH RAT .NET RDP module " ... $ str_0 = " GET /open-rdp| " ... $ str_3 = " TakeShoot " ... }
Collection
3 techniques
Collection
rule wsh_rat_keylogger { ... description = " Alerts on the WSH RAT .NET keylogger module " ... $ str_1 = " RunKeyloggerOffline " ... $ str_3 = " sendKeyLog " ... }
The RAT contains various capabilities including stealing system information, capturing screenshots, logging keystrokes, viewing the webcam...
The RAT contains various capabilities including stealing system information, capturing screenshots, logging keystrokes, viewing the webcam...
Command and Control
4 techniques
Command and Control
In the initial behavior analysis of these next stage VBS samples, we observed C2 contact through HTTP POST requests to the port 449 of the IP address 45.91.92.112 resolved from stub.]ignorelist.]com.
rule wsh_rat_reverse_proxy { ... description = " Alerts on the WSH RAT .NET reverse proxy module " ... $ str_2 = " WSH Reverse Proxy " ... }
The batch file will download and execute another malware, obfuscated with a Delphi packer.
researchers from Zscaler have spotted a remote access trojan dubbed Cobian remote RAT ... it implements common spying features such as keylogger, webcam hijacker, screen capturing and of course the ability to execute attackers’ code on the victim’s system.
Observables
119 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.