Headlace
- Type
- Backdoor
- Capabilities
- Initial accessPost exploitationDefense evasionDLL sideloading
- Delivery
- PhishingLanding pageLure
- Platforms
- Windows
HeadLace is a modular, multistage Windows backdoor used by APT28, the Russian GRU-linked cyberespionage group also tracked as Fancy Bear, BlueDelta, and Fighting Ursa. Documented in European intrusion campaigns during 2023, it provides lightweight early-stage access for executing attacker commands and follow-on payloads. Its components include Windows batch, command, and VBScript scripts, with some infection chains incorporating a malicious DLL. HeadLace uses browser automation and legitimate public web services for command-and-control and payload retrieval, helping its communications blend with ordinary web activity.
Distribution campaigns have used phishing and topical social-engineering lures, including Israel–Hamas war decoys and a fraudulent diplomatic car-sale advertisement. A March 2024 campaign used a malicious landing page that checked for Windows visitors and delivered an archive containing a legitimate executable disguised as an image, a malicious DLL, and a batch script. Execution sideloaded the DLL, which launched the script. The script then used Microsoft Edge and encoded HTML content to retrieve and execute a subsequent command-script payload before deleting itself to reduce forensic traces.
HeadLace targeting has included European diplomatic organizations and Ukrainian critical energy infrastructure. Its Windows batch architecture, browser-mediated communications, and legitimate-service abuse are shared with the later HOOKEDGE backdoor.
Associated vulnerabilities
2 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
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 Russian GRU cyber campaign also involves malware such as HEADLACE and MASEPIE, which are used for persistence and data exfiltration.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
For example, in January 2022, GRU Unit 29155 launched WhisperGate, a wiper malware attack that overwrote the master boot records of Ukrainian government systems.
Initial Access
4 techniques
Initial Access
A significant aspect of the campaign involves the exploitation of known vulnerabilities. The actors have weaponized multiple CVEs, including: CVE-2023-23397 in Microsoft Outlook to harvest credentials Roundcube vulnerabilities for email server access CVE-2023-38831 in WinRAR for remote code execution
The Russia-linked threat actor known as APT28 has been linked to multiple ongoing phishing campaigns that employ lure documents imitating government and non-governmental organizations (NGOs) in Europe, the South Caucasus, Central Asia, and North and South America.
The phishing attacks impersonate entities from several countries such as Argentina, Ukraine, Georgia, Belarus, Kazakhstan, Poland, Armenia, Azerbaijan, and the U.S., putting to use a mix of authentic publicly available government and non-government lure documents to activate the infection chains.
The URL kicking off this infection chain was hosted by a legitimate service named Webhook.site... Fighting Ursa abused Webhook.site to craft a URL that returned a malicious HTML page.
Execution
5 techniques
Execution
“In some cases, operators of the intrusion set attempted to establish a means of persistence by creating a scheduled task.”
HOOKEDGE is a lightweight Windows batch backdoor that enables remote command execution by retrieving arbitrary .cmd payloads from a staging webhook.
HeadLace : multi-component backdoor (CMD/VBS/BAT).
The actors have weaponized multiple CVEs, including: CVE-2023-23397 in Microsoft Outlook to harvest credentials ... CVE-2023-38831 in WinRAR for remote code execution
This is a common tactic used by threat actors to trick potential victims into double-clicking the file, in this case believing it will open a car for sale advertisement.
Persistence
1 technique
Persistence
“In some cases, operators of the intrusion set attempted to establish a means of persistence by creating a scheduled task.”
Privilege Escalation
1 technique
Privilege Escalation
“In some cases, operators of the intrusion set attempted to establish a means of persistence by creating a scheduled task.”
Stealth
7 techniques
Stealth
Changes included modifications to lure documents and VBA obfuscation... Second-stage payloads retrieved by HOOKEDGE also share... base64 encoding schemes with payloads previously observed in HEADLACE campaigns.
The second-stage payloads retrieved by HOOKEDGE share JavaScript code ... using identical variable names, properties, structure, and base64 encoding schemes for automated file downloads.
Table 1 above shows that the first file IMG-387470302099.jpg.exe has a double file extension of .jpg.exe. Windows hosts with a default configuration hide file extensions, so the .jpg.exe file extension only shows as .jpg in the file name.
Finally, the batch file executes IMG387470302099.cmd, then deletes itself as a way to remove any obvious trace of malicious activity.
Throughout three phases, BlueDelta used phishing emails, legitimate internet services, and living-off-the-land binaries to extract intelligence from key networks across Europe.
First, it checks if the visiting computer is Windows-based. If not, it redirects to a decoy image... As the final payload is Windows based, this operating system check is probably an effort to ensure that further actions taken in the attack are only taken for Windows visitors.
Earlier variants executed Edge in headless mode, while later versions used hidden browser windows.
Discovery
1 technique
Discovery
First, it checks if the visiting computer is Windows-based. If not, it redirects to a decoy image... As the final payload is Windows based, this operating system check is probably an effort to ensure that further actions taken in the attack are only taken for Windows visitors.
Command and Control
4 techniques
Command and Control
Outbound connections from infected hosts are directed to a legitimate HTTPS service, with a web browser serving as the HTTP client.
HOOKEDGE routes command retrieval and data exfiltration through webhook[.]site using Microsoft Edge.
Webhook services were used for “payload staging,” and “for targets assessed as having higher intelligence value, BlueDelta deployed a second-stage HOOKEDGE payload.”
HOOKEDGE’s code and structural design have significant overlap with HEADLACE... right down to identical JavaScript variable names and the same base64 encoding scheme for automated downloads.
Exfiltration
1 technique
Exfiltration
The report states that BlueDelta abused legitimate webhook services for “data exfiltration” and that webhook[.]site was the group’s exclusive service choice across these campaigns.
Observables
12 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.