HWorm
- Type
- RAT
- Capabilities
- Credential theftKeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissanceProcess injection
- Delivery
- PhishingMalspamLure
- Platforms
- Windows
Hworm, also known as Houdini or H-Worm, is a Windows remote access trojan available since 2013 and used in both targeted espionage and financially motivated attacks. Its capabilities include screenshot capture, keylogging, browser password theft, file management, process and module management, and downloading and executing additional payloads. The implant connects back to an operator-controlled server and reports host information, including the username, operating system version, and foreground process.
Earlier implementations used obfuscated VBScript or embedded AutoIt scripts. A Delphi-based version observed in 2016 replaced earlier HTTP-based command-and-control communications with a mixed binary-and-ASCII protocol over TCP. Associated VBScript loaders use DynamicWrapperX to access Windows APIs and execute RunPE shellcode, enabling payload injection into legitimate Windows processes. Loaders can establish persistence through user-level startup registry entries, while encoding, obfuscation, and executable packing conceal malicious components.
Distribution includes spam-phishing campaigns and self-extracting archives carrying political-themed lures related to the Middle East and Mediterranean. Some delivery packages display decoy documents, videos, or web pages while executing the implant in the background. Hworm has been deployed by Nigerian cybercriminal actors tracked as SilverTerrier, including in business email compromise operations, and by an espionage group linked to the Palestinian Preventive Security Service. XWorm operators have also deployed Hworm as an additional payload.
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.
This group occasionally deployed publicly available malware for Windows, including NJRat and HWorm, commonly used in the region.
A new occurrence was Hworm, which was first seen in SilverTerrier attacks in 2018 despite being available since 2013.
Techniques & procedures
30 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Today we see this attack employed on a regular basis as part of widespread spam phishing campaigns
Samples from this attack came in the form of SFX files. The original filenames of these delivery files are related to political figures and groups in the Middle East and the Mediterranean.
Execution
6 techniques
Execution
As the script executes it first adds one of three startup methods which will execute the script on Windows startup: ... Startup task ( not implemented yet )
It allows to call functions exported by DLL libraries, in particular Windows API functions, from JScript and VBScript.
The payload is a VBS file, which, in some cases, comes obfuscated or encoded with couple of layers.
When executed each SFX file opens a decoy document, video, or URL, and eventually executes an Hworm payload in the background.
They also bundled Windows malware in the installer package for their own decoy application for journalists to submit human rights-related articles for publication.
DCOM_DATA is decoded and dropped to %temp% directory under the name “HOUDINI.BIN” and registered with regsvr32.exe.
Persistence
2 techniques
Persistence
As the script executes it first adds one of three startup methods which will execute the script on Windows startup: ... Startup task ( not implemented yet )
As the script executes it first adds one of three startup methods which will execute the script on Windows startup: Registry Run in HKCU Path : HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Run
Privilege Escalation
3 techniques
Privilege Escalation
As the script executes it first adds one of three startup methods which will execute the script on Windows startup: ... Startup task ( not implemented yet )
The second stage is basically FILE_DATA which is injected to ‘msbuild.exe’ using LOADER_DATA (RunPE).
As the script executes it first adds one of three startup methods which will execute the script on Windows startup: Registry Run in HKCU Path : HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Run
Stealth
8 techniques
Stealth
The payload is a VBS file, which, in some cases, comes obfuscated or encoded with couple of layers.
The original filenames of these delivery files are related to political figures and groups in the Middle East and the Mediterranean.
The second stage is basically FILE_DATA which is injected to ‘msbuild.exe’ using LOADER_DATA (RunPE).
It will then register DynamicWrapperX: regsvr32 . exe / I / S < filename_dynamic_wrapperx >
The script checks whether the current environment is 64bit or not. If it is, it will execute the script with a 32-bit version of wscript.exe (from SysWOW64).
DCOM_DATA is decoded and dropped to %temp% directory under the name “HOUDINI.BIN” and registered with regsvr32.exe.
They also used BTMemoryModule to load DLLs from memory (without saving it on the disc).
It relied on social engineering to trick people into clicking on malicious links and installing malware on their devices.
Defense Impairment
1 technique
Defense Impairment
File Manager : Provides the ability to list files and directories, delete, rename, and execute files, and upload or download files via TCP or HTTP
Credential Access
2 techniques
Credential Access
Keylogger : Provides the ability to log key strokes
Password : Provides the ability to steal passwords from Firefox, Opera, and Chrome browsers
Discovery
6 techniques
Discovery
It includes the string “new_houdini”, the mutex used by the implant, the name of the user, the operating system version, the version of the implant, and the name of the foreground process
It includes the string “new_houdini”, the mutex used by the implant, the name of the user, the operating system version, the version of the implant, and the name of the foreground process
Misc : Provides the ability to list processes or modules and kill running processes
It includes the string “new_houdini”, the mutex used by the implant, the name of the user, the operating system version, the version of the implant, and the name of the foreground process
File Manager : Provides the ability to list files and directories, delete, rename, and execute files
The script checks whether the current environment is 64bit or not. If it is, it will execute the script with a 32-bit version of wscript.exe (from SysWOW64).
Collection
2 techniques
Collection
Keylogger : Provides the ability to log key strokes
Screenshot : Provides the ability to capture screenshots in JPEG/BMP formats
Command and Control
4 techniques
Command and Control
“chroms.linkpc.net” – C2 address. “11” – Port.
This new version of Hworm uses a mixed binary and ASCII protocol over TCP.
If the key is not found, the client sends a 'sendplugin' command to the C2 server ... The C2 server then responds with the command 'savePlugin' along with a base64 encoded string containing the plugin | We observed XWorm RAT Operators execute additional malware, such as: DarkCloud Stealer ... Remcos RAT
The Hworm implants use a connect-back communication. This means the server (implant) connects back to the client (remotely controlling system).
Impact
1 technique
Impact
Scammers running business email compromise (BEC) fraud have grown in number, attack more often, and turn to remote access trojans as the preferred malware type to accompany their raids.
Observables
46 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.