Havoc
- Type
- Backdoor
- Capabilities
- Post exploitationDefense evasionDLL sideloading
- Delivery
- PhishingSpearphishingClickfix
- Platforms
- Windows
Havoc is an open-source command-and-control and post-exploitation framework designed for red teaming and adversary simulation that is also abused in malicious intrusions. Its Windows-centered Demon implant provides an agent through which operators maintain access to compromised systems and perform post-exploitation tasks. A central teamserver manages listeners, communicates with agents, records task input and output, and serves operators. Yaotl profiles configure server and listener behavior, while service interfaces support external agents and listeners.
Malicious deployment chains use encrypted Demon payloads that loaders decrypt and reflectively execute in memory, reducing on-disk artifacts. Observed Havoc configurations include encrypted HTTP communications, configurable sleep and jitter, Ekko memory obfuscation, and stack spoofing. Havoc has also been deployed through MSI-based infection chains in which legitimate executables sideload malicious DLLs associated with Octowave Loader.
Havoc is used by multiple independent threat actors. An unidentified Russian-speaking operation uses personalized document-sharing phishing and ClickFix lures to install Phantom53, which selectively activates and reflectively loads Demon on systems chosen for further exploitation. That campaign targets technology, finance, education, government, logistics, and manufacturing organizations across Latin America, Asia, and Europe. Arra Ghouls, also known as Mimbrob, uses Havoc for subsequent interaction with compromised systems in campaigns against organizations in Russia and Belarus. The espionage cluster Insolent Werewolf also deploys Havoc through Octowave Loader and targets government, industrial, and defense-affiliated research organizations.
Associated vulnerabilities
4 CVEs 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
28 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
[WIRTE](https://attack.mitre.org/groups/G0090) has used [Havoc](https://attack.mitre.org/software/S1229) to maintain access and to facilitate C2.(Citation: Check Point Wirte NOV 2024)
Insolent Werewolf uses Octowave Loader to deploy AdaptixC2 and Havoc post-exploitation framework implants.
“We had not previously observed the Havoc framework in this cluster’s arsenal.”
The actor predominantly relies on open source adversary emulation frameworks, such as Cobalt Strike, Havoc, and others.
+22 more in the app. View in Mallory
Techniques & procedures
94 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
3 techniques
Reconnaissance
These hashes empower server clustering, identification of unique and similar servers, and the pursuit of malicious actors with heightened confidence.
HTTP-Basma’s algorithm's core idea centers on sending 8 specially crafted HTTP requests with varying requirements to elicit different responses from the server.
What we are going to do is phish the local admin for their credentials, store them in PowerShell and then relay those credentials to run a scheduled task that calls our beacon in higher integrity.
Resource Development
5 techniques
Resource Development
"...continued exploitation of Cloudflare Workers infrastructure with government-themed typo-squatting patterns..."
«Resource Development: приобретение ... VPS (T1583.003)»; «Short-haul redirector — облачный VPS на отдельном провайдере».
«Resource Development: приобретение ... веб-сервисов (T1583.006)»; «CDN или коммерческий reverse proxy ... принимает трафик от имплантов».
Operators utilized Cloudflare Workers for XaocMail, Phantom53, and Havoc deployments.
T1588.002 — Obtain Capabilities: Tool (Resource Development)
Initial Access
8 techniques
Initial Access
The most significant aspect of the attack was the attacker's installation of OpenSSH Server and Tailscale on a victim's machine, creating a covert access channel independent of the command-and-control server. Even after the Havoc infrastructure went offline, the attacker maintained access through this separate, encrypted mesh network.
Most infections likely began through a link sent to the victims. The links launched the TrueConf client and showed an update prompt alleging that there is a newer version available.
Analysis of the compromised environments revealed that the attackers gained initial access in most cases by exploiting the ProxyShell vulnerability in Microsoft Exchange, which allows for full server compromise.
CVE-2026-3502 is a flaw in TrueConf Client that allows it to download and install updates without verifying them. Attackers who can tamper with the update source can deliver malicious files, leading to arbitrary code execution on the system.
Havoc has also been employed in connection with a fraudulent npm module dubbed aabquerys that, once installed, triggers a three-stage process to retrieve the Demon implant.
During a recent red team engagement, we successfully phished some of the client staff, and lured them to execute a payload that provided us with Command & Control (C2) access.
MITRE TTPs ... Initial Access T1566.001 Phishing: Spear phishing Attachment
[Havoc](https://attack.mitre.org/software/S1229) has been distributed through ClickFix phishing campaigns.(Citation: Fortinet Havoc MAR 2025)
Execution
15 techniques
Execution
the attackers used a command shell session spawned from the malicious DLL to move laterally via WMIC, and to deploy the open-source SharpHound tool...
After an initial five-minute delay to avoid correlation with the package installation, it enters an infinite loop that polls checkmarx[.]zone/raw approximately every 50 minutes for a URL pointing to a new binary payload.
Table 11. Scheduled tasks created by the adversary throughout the reported intrusion... The heavy use of scheduled tasks to execute malware aligns with previous Lemon Sandstorm activity. | These backdoors were run using scheduled tasks.
we successfully phished some of the client staff, and lured them to execute a payload that provided us with Command & Control (C2) access.
[Havoc](https://attack.mitre.org/software/S1229) can facilitate the execution of PowerShell commands.(Citation: Immersive Labs Havoc C2 APR 2024)
[Havoc](https://attack.mitre.org/software/S1229) can execute commands via `cmd.exe`.(Citation: Havoc Framework Documentation)(Citation: Immersive Labs Havoc C2 APR 2024)
The attacker utilized a multi-stage in-memory malware chain, including a VBScript stager, a PowerShell loader, and Havoc's Demon agent, to gain initial access.
[Havoc](https://attack.mitre.org/software/S1229) can use `NtAllocateVirtualMemory` and `NtCreateThreadEx` to aid process injection.(Citation: Havoc Framework Documentation)
CISA’s confirmation that the vulnerability is being exploited follows a report from cybersecurity researchers at Check Point outlining an alleged Chinese hacking campaign targeting governments in Southeast Asia. Check Point said Chinese hackers have been exploiting the vulnerability in a campaign they call TrueChaos.
The infections began when TrueConf client application launched, probably by a link sent to the target from the attacker. This link launched the already installed TrueConf client and presented an update prompt claiming that a newer version was available.
T1204.002 — User Execution: Malicious File (Execution)
Annotations ID Technique Tactic T1204.003 Malicious Image Execution Default Configuration
The [Havoc](https://attack.mitre.org/software/S1229) infection chain has been initiated via ClickFix lures in phishing emails.(Citation: Fortinet Havoc MAR 2025)
The [Havoc](https://attack.mitre.org/software/S1229) SMB demon can use named pipes for communication through a parent demon.(Citation: Havoc Framework Documentation)
[Havoc](https://attack.mitre.org/software/S1229) has leveraged legitimate executables to side-load malicious payloads.(Citation: Check Point Wirte NOV 2024)
Persistence
9 techniques
Persistence
At first execution, the stager writes: HKCU\Environment\UserInitMprLogonScript = <path to mpextms.exe>
After an initial five-minute delay to avoid correlation with the package installation, it enters an infinite loop that polls checkmarx[.]zone/raw approximately every 50 minutes for a URL pointing to a new binary payload.
Table 11. Scheduled tasks created by the adversary throughout the reported intrusion... The heavy use of scheduled tasks to execute malware aligns with previous Lemon Sandstorm activity. | These backdoors were run using scheduled tasks.
In this campaign, sideloaded modules acted as intermediary loaders that decrypted hidden configuration data stored inside the Windows registry rather than writing anything suspicious to disk.
The most significant aspect of the attack was the attacker's installation of OpenSSH Server and Tailscale on a victim's machine, creating a covert access channel independent of the command-and-control server. Even after the Havoc infrastructure went offline, the attacker maintained access through this separate, encrypted mesh network.
Using previously stolen credentials, the attackers deployed a web shell to a web application server using its built-in file upload feature... They then used the web shell to execute commands on the targeted web app server.
LaunchAgents - user-level persistence (T1543.001)… LaunchAgent - plist-файл, указывающий launchd запустить определённый бинарь при логине пользователя… SIP не мешает записи в ~/Library/LaunchAgents/.
Persistence matrix 2 Technique Count Framework Windows Service 4/10
Phantom53 watcher launches Havoc demon if the beacon receives the CMD_WAKE command.
Privilege Escalation
12 techniques
Privilege Escalation
At first execution, the stager writes: HKCU\Environment\UserInitMprLogonScript = <path to mpextms.exe>
After an initial five-minute delay to avoid correlation with the package installation, it enters an infinite loop that polls checkmarx[.]zone/raw approximately every 50 minutes for a URL pointing to a new binary payload.
Table 11. Scheduled tasks created by the adversary throughout the reported intrusion... The heavy use of scheduled tasks to execute malware aligns with previous Lemon Sandstorm activity. | These backdoors were run using scheduled tasks.
config_r['inj_target32'] = extract_str(4*5, struct_b, config_r['inj_target_len32']) ... config_r['inj_target64'] = extract_str(current_offset, struct_b, config_r['inj_target_len64'])
[Havoc](https://attack.mitre.org/software/S1229) has DLL spawn and injection modules.(Citation: Havoc Framework Documentation)
[Havoc](https://attack.mitre.org/software/S1229) has itself injected into `C:\\Windows\\System32\\Werfault.exe` on targeted systems.(Citation: Havoc Framework Documentation)
Now that we have a high integrity beacon, we can use the SharpEfsPotato tool to get system ... dotnet inline-execute /home/kali/Desktop/SharpEfsPotato.exe -p C:\Users\User\Downloads\aese.exe ... the last is at System level privileges.
[Havoc](https://attack.mitre.org/software/S1229) has a module capable of token impersonation.(Citation: Havoc Framework Documentation)
LaunchAgents - user-level persistence (T1543.001)… LaunchAgent - plist-файл, указывающий launchd запустить определённый бинарь при логине пользователя… SIP не мешает записи в ~/Library/LaunchAgents/.
Persistence matrix 2 Technique Count Framework Windows Service 4/10
Phantom53 watcher launches Havoc demon if the beacon receives the CMD_WAKE command.
The most important thing here is that we did not receive a UAC prompt... it’s interesting that this does get around UAC, even if the box is set to always-notify.
Stealth
24 techniques
Stealth
T1027 — Obfuscated Files or Information (Defense Evasion)
These sideloaded DLLs are UPX-packed and trivially unpacked/reverse engineered.
The DemonInit function is responsible for loading modules like ntdll.dll and kernel32.dll via PEB (Process-Environment Block). It then resolves or retrieves the functions from those loaded modules...
[Havoc](https://attack.mitre.org/software/S1229) has utilized XOR encryption with the key “01-01-1900” to obfuscate command strings.(Citation: Check Point Wirte NOV 2024)
Encrypted C2 traffic. A fresh AES key is negotiated at first contact; all later traffic is encrypted.
config_r['stack_spoof'] = conf[2]
The MSI also has no digital signature ... Only mpextms.exe is signed. The stager DLL is not.
The next step is an MSI that pretends to be a Microsoft update ... Microsoft Endpoint DLP Module ... Inside the installer are two programs: mpextms.exe ... endpointdlp.dll ... Side by side, the MSI and DLL look like one Microsoft bundle.
config_r['inj_target32'] = extract_str(4*5, struct_b, config_r['inj_target_len32']) ... config_r['inj_target64'] = extract_str(current_offset, struct_b, config_r['inj_target_len64'])
[Havoc](https://attack.mitre.org/software/S1229) has DLL spawn and injection modules.(Citation: Havoc Framework Documentation)
[Havoc](https://attack.mitre.org/software/S1229) has itself injected into `C:\\Windows\\System32\\Werfault.exe` on targeted systems.(Citation: Havoc Framework Documentation)
config_r['sleep_mask_technique'] = conf[0]
[Havoc](https://attack.mitre.org/software/S1229) has a module capable of token impersonation.(Citation: Havoc Framework Documentation)
Finally, the compressed and encoded shellcode is obtained via Base64 decoding and LZMA decompression. Now, after the shellcode is decoded, crypto algorithms like AES/RC4 are used to decrypt it.
config_r['sys_indirect'] = conf[4]
The RaaS operators provide affiliates with a suite of custom and publicly available EDR-killing tools that abuse vulnerable drivers via the BYOVD (Bring Your Own Vulnerable Driver) technique.
the payload deployed to the targets via the phishing was crafted in a way to run the C2 agent code in both Microsoft Edge and Google Chrome browser processes on each victim's host
Deobfuscated, the VBS launches a hidden cmd that downloads the MSI from Google Cloud Storage with curl, runs it with msiexec /quiet /norestart, and deletes the file
the threat actor using credentials stolen from an unmanaged device and a dropped web shell. The attackers used the shell to execute rundll32.exe, injecting a malicious Havoc DLL...
To avoid being detected in memory by EDRs, Havoc implements a sleep technique that encrypts its own payload in memory.
The [Havoc](https://attack.mitre.org/software/S1229) demon agent can be set to sleep for a specified time.(Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)
[Havoc](https://attack.mitre.org/software/S1229) has leveraged legitimate executables to side-load malicious payloads.(Citation: Check Point Wirte NOV 2024)
a watcher reflectively loads an encrypted Havoc Demon on demand
The verifysecure[.]net/verify “ClickFix”-style Cloudflare clone fronted the Havoc payload download; ... decoy get.adobe[.]com opened in IE.
Defense Impairment
2 techniques
Defense Impairment
In this campaign, sideloaded modules acted as intermediary loaders that decrypted hidden configuration data stored inside the Windows registry rather than writing anything suspicious to disk.
EDR killers BYOVD, exclusions Defender sur C:\ entier, désactivation de DisableRealtimeMonitoring et script \\NETLOGON\avkill.bat.
Discovery
11 techniques
Discovery
[Havoc](https://attack.mitre.org/software/S1229) has a module for network enumeration including determining IP addresses.(Citation: Havoc Framework Documentation)
The [Havoc](https://attack.mitre.org/software/S1229) demon can check for a connection to the C2 server from the target machine.(Citation: Zscaler Havoc FEB 2023)
[Havoc](https://attack.mitre.org/software/S1229) features a module capable of host enumeration.(Citation: Havoc Framework Documentation)
[Havoc](https://attack.mitre.org/software/S1229) can trigger exection of `whoami` on the target host to display the current user.(Citation: Zscaler Havoc FEB 2023)(Citation: Fortinet Havoc MAR 2025)
[Havoc](https://attack.mitre.org/software/S1229) can enumerate processes on targeted hosts.(Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)(Citation: Fortinet Havoc MAR 2025)
System Information Discovery
The [Havoc](https://attack.mitre.org/software/S1229) interface can display a file explorer view of the compromised host.(Citation: Havoc Framework Documentation)
[Havoc](https://attack.mitre.org/software/S1229) can identify privileged user accounts on infected systems.(Citation: Fortinet Havoc MAR 2025)
To avoid being detected in memory by EDRs, Havoc implements a sleep technique that encrypts its own payload in memory.
The [Havoc](https://attack.mitre.org/software/S1229) demon agent can be set to sleep for a specified time.(Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)
the injected process used WMIC to query Windows Defender exclusion paths... It also queried the Sophos registry to better understand the “PolicyConfiguration,” “threat policy,” and “Poll Server” Registry values
Lateral Movement
2 techniques
Lateral Movement
cmd /c "copy c:\users\public\temp.log \\172.xxx.xxx.xxx\c$\windows\temp && copy c:\users\public\pp.exe\\172.xxx.xxx.xxx \c$\perflogs\conhost.exe"
[Havoc](https://attack.mitre.org/software/S1229) has the ability to copy files from one location to another.(Citation: Havoc Framework Documentation)
Collection
4 techniques
Collection
[Havoc](https://attack.mitre.org/software/S1229) can download files from the victim's computer.(Citation: Havoc Framework Documentation)(Citation: Immersive Labs Havoc C2 APR 2024)
In multiple incidents analyzed by CTU researchers, the attackers staged tools in the C:\PerfLogs directory.
[Havoc](https://attack.mitre.org/software/S1229) can capture screenshots.(Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)(Citation: Immersive Labs Havoc C2 APR 2024)
Khmer Shadow targeted Cambodian government agencies using SFX archives, DLL sideloading, NIGHTFORGE, and Havoc Demon.
Command and Control
14 techniques
Command and Control
«URI и заголовки имитируют легитимные API-эндпоинты ... Accept, Accept-Language, X-Requested-With — как у реального AJAX-запроса».
config_r['http_method'] = extract_str(current_offset, struct_b, config_r['http_method_len']) ... config_r['host'] = extract_str(current_offset, struct_b, config_r['host_len'])
[Havoc](https://attack.mitre.org/software/S1229) can use HTTP/S listeners to establish and maintain C2 communications. (Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)(Citation: Fortinet Havoc MAR 2025)(Citation: Immersive Labs Havoc C2 APR 2024)
[Havoc](https://attack.mitre.org/software/S1229) can use an SMB listener for C2 communication.(Citation: Havoc Framework Documentation)(Citation: Zscaler Havoc FEB 2023)(Citation: Immersive Labs Havoc C2 APR 2024)
[Havoc](https://attack.mitre.org/software/S1229) has the ability to route HTTP/S communications through designated proxies.(Citation: Havoc Framework Documentation)
«Каналы управления — тактику Command and Control: External Proxy (T1090.002)»; «CDN или коммерческий reverse proxy ... принимает трафик от имплантов».
«Multi-hop Proxy (T1090.003)»; «между имплантом и тимсервером — минимум два слоя redirector'ов».
"FINALDRAFT Malware Exploits Microsoft Graph API"; ClickFix campaign uses "Microsoft Graph API to obscure C2"; Golang backdoor uses "Telegram Bot API" for C2.
"Hackers Use ClickFix Trick to Deploy PowerShell-Based Havoc C2 via SharePoint Sites" and "FINALDRAFT Malware Exploits Microsoft Graph API for Espionage"
[Havoc](https://attack.mitre.org/software/S1229) has the ability to upload files to infected systems.(Citation: Havoc Framework Documentation)(Citation: Immersive Labs Havoc C2 APR 2024)
Cobalt Strike uses a command-line interface to interact with systems. Brute Ratel C4 can use cmd.exe for execution. Havoc can execute commands via cmd.exe. Covenant provides access to a Command Shell in Windows environments for follow-on command execution and tasking.
“C2 communication over port 443 mimicking legitimate HTTPS.”
For CyberChef, we needed the encryption method (AES256), the key, IV, and the mode, which we knew was CTR.
[Havoc](https://attack.mitre.org/software/S1229) can send an AES encrypted check-in request to the C2 server.(Citation: Zscaler Havoc FEB 2023)(Citation: Fortinet Havoc MAR 2025)
Exfiltration
2 techniques
Exfiltration
Exfiltration of data of intelligence value was still an objective after the resumption of activity.
“contain a malicious link to the 4sync.com file sharing service, prompting recipients to download a malicious archive…” / “.msi installer… hosted on Mega file share.” / “download… from a Dropbox URL.”
Observables
200 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
156 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.