HATVIBE
- Type
- Loader
- Capabilities
- PersistenceDefense evasionReconnaissance
- Delivery
- SpearphishingLure
- Platforms
- Windows
HATVIBE is a Windows malware loader and VBScript backdoor packaged as an HTML Application (HTA). It is used by the cyberespionage actor UAC-0063, also tracked as TAG-110, in operations against government, diplomatic, educational, and scientific research organizations, particularly in Central Asia, Ukraine, and Europe. HATVIBE establishes remote code-execution capability and serves as an entry point for follow-on implants, notably the Python backdoor CHERRYSPY, also known as DownExPyer.
HATVIBE communicates with command-and-control infrastructure over HTTP, including PUT requests carrying a victim identifier, hostname, and username. It receives and executes additional VBScript modules, with observed implementations decoding hexadecimal responses or decrypting modules using XOR before execution. It also supports dropping files supplied through command-and-control responses. Persistence is established through scheduled tasks that repeatedly launch the HTA through the Windows HTML Application host, commonly at four-minute intervals.
Delivery chains use spearphishing messages containing weaponized Microsoft Word documents, including legitimate diplomatic correspondence repurposed as lures and messages distributed through compromised email accounts. A documented two-document chain uses VBA macros to weaken Office security settings, reconstruct embedded payloads, and install HATVIBE. HATVIBE has also been delivered through exploitation of CVE-2024-23692 in Rejetto HTTP File Server. Its role is primarily payload loading and remote execution; more extensive espionage functions are provided by follow-on malware.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
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.
The HTA launched by the scheduled task contains the VBS backdoor named “HATVIBE” by the CERT-UA. The aim of this backdoor is to receive VBS modules for execution from a remote C2 server.
HATVIBE acts as a loader, fetching and executing CHERRYSPY, which provides persistent, clandestine backdoor access.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
Слід додати, що в червні 2024 року зафіксовано численні випадки встановлення бекдору HATVIBE шляхом експлуатації вразливості (вірогідно, CVE-2024-23692) в програмному продукті HFS HTTP File Server...
Recorded Future's Insikt Group published research today detailing a Russia-aligned threat actor tracked as TAG-110 conducting espionage against government, educational, and research-related entities in Tajikistan.
На етапі первинного ураження зловмисник, маючи доступ до облікового запису електронної пошти співробітника установи, здійснив відправку копії нещодавно відправленого листа десяткам адресатів (включаючи самого відправника), замінивши оригінальний документ-вкладення іншим документом, в який було вбудовано макрос.
For delivery of these weaponized documents, threat actors send emails with URL links in their body instead of directly attaching these documents to emails.
Execution
4 techniques
Execution
Previously, TAG-110 leveraged macro-enabled Word documents to deliver HATVIBE, an HTA-based malware, for initial access. The newly detected documents do not contain the embedded HTA HATVIBE payload for creating a scheduled task and instead leverage a global template file placed in the Word startup folder for persistence.
...буде створено та відкрито ще один документ (DOC) з макросом, який, у свою чергу, забезпечить створення на ЕОМ закодованого HTA-файлу шкідливої програми HATVIBE "RecordsService", а також, файлу запланованого завдання "C:\Windows\System32\Tasks\vManage\StandaloneService", призначеного для запуску останньої.
Once macros are enabled, the built-in subroutine Document_Open() is automatically executed. | the generated HTA file contains an encoded VBScript (VBE) payload to interact with the C2 server, receive commands, and execute malicious actions
After opening these documents, users encounter a deceptive display: blurred pages accompanied by a standard warning banner that 'Macros have been disabled.' This social engineering technique aims to pressure the user into enabling macros | These documents were all designed to deploy the HATVIBE loader using a combination of VBA scripts.
Persistence
3 techniques
Persistence
Previously, TAG-110 leveraged macro-enabled Word documents to deliver HATVIBE, an HTA-based malware, for initial access. The newly detected documents do not contain the embedded HTA HATVIBE payload for creating a scheduled task and instead leverage a global template file placed in the Word startup folder for persistence.
...буде створено та відкрито ще один документ (DOC) з макросом, який, у свою чергу, забезпечить створення на ЕОМ закодованого HTA-файлу шкідливої програми HATVIBE "RecordsService", а також, файлу запланованого завдання "C:\Windows\System32\Tasks\vManage\StandaloneService", призначеного для запуску останньої.
The malicious script continues by making registry changes, specifically setting the AccessVBOM registry value to 1 in the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Word\Security key
Privilege Escalation
2 techniques
Privilege Escalation
Previously, TAG-110 leveraged macro-enabled Word documents to deliver HATVIBE, an HTA-based malware, for initial access. The newly detected documents do not contain the embedded HTA HATVIBE payload for creating a scheduled task and instead leverage a global template file placed in the Word startup folder for persistence.
...буде створено та відкрито ще один документ (DOC) з макросом, який, у свою чергу, забезпечить створення на ЕОМ закодованого HTA-файлу шкідливої програми HATVIBE "RecordsService", а також, файлу запланованого завдання "C:\Windows\System32\Tasks\vManage\StandaloneService", призначеного для запуску останньої.
Stealth
2 techniques
Stealth
...забезпечить створення на ЕОМ закодованого HTA-файлу шкідливої програми HATVIBE "RecordsService"...
window.resizeTo(0, 0); window.moveTo(-2000, -2000); These commands effectively hide the HTA window by resizing it to zero dimensions and moving it off-screen.
Defense Impairment
1 technique
Defense Impairment
The malicious script continues by making registry changes, specifically setting the AccessVBOM registry value to 1 in the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Word\Security key
Command and Control
2 techniques
Command and Control
Decoded HATVIBE script shows that an HTTP PUT request is sent to the C2 server, transmitting the victim's ID, hostname, and username as a JSON payload.
the C2 server’s response... can contain: A string prefixed with 65mnn4mmk3mv3ac : This indicates that a file should be dropped on the victim's system.
Observables
78 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.