Head Mare APT Group Exploits TrueConf Vulnerabilities to Deploy PhantomCore Malware in Sophisticated Attack
In July 2026, cybersecurity experts from Kaspersky identified a sophisticated cyberattack attributed to the Head Mare group. Initially categorized as hacktivists, this group has now been reclassified as an Advanced Persistent Threat (APT) due to their advanced tactics, techniques, and procedures (TTPs). The recent campaign specifically targeted vulnerabilities within the TrueConf video conferencing server, leading to the deployment of the PhantomCore malware.
The attackers exploited two newly identified vulnerabilities, designated as KLCERT-26-057 and KLCERT-26-058. These vulnerabilities enabled the execution of arbitrary code with elevated privileges on compromised systems, marking a significant escalation in their operational capabilities.
Attack Methodology
The attack unfolds in several distinct stages:
-
Unauthorized Access: The attackers gain access to the TrueConf server through port 4307/TCP, which is open by default. The affected versions include 5.3.X through 5.3.9, 5.4.X through 5.4.9, and 5.5.X through 5.5.5.
-
Malicious Script Execution: Once connected, the attackers invoke a server function that transmits a malicious script, exploiting the KLCERT-26-057 vulnerability.
-
Isolation Bypass: The script executes within an isolated environment on the TrueConf server, which typically restricts access to operating system functions. To escape this environment, the attackers leverage the KLCERT-26-058 vulnerability, allowing them to execute commands in the operating system context.
-
Web Shell Deployment: With elevated privileges, the attackers replace the legitimate file
…publicjslocale.phpwith a web shell, granting them remote control over the server.
Malware Deployment and Persistence
The web shell enables a range of malicious activities, including:
- Infrastructure Reconnaissance: Gathering information about the IT infrastructure.
- Database Access: Gaining privileged access to the TrueConf database.
- Installer Compromise: Replacing the original TrueConf Client installer with a compromised version that includes the PhantomCore backdoor.
To ensure the malware executes upon system boot, the attackers create a registry key at HKEY_CURRENT_USERSoftwareClassesCLSID{0340F119-A598-4ed9-B0AC-6F6A12D3E755}InprocServer32, which points to the malicious executable.
Additionally, the attackers deploy a secondary backdoor known as PhantomGraph, which consists of two modules:
- SysExcSvc.dll: This module receives commands from the attackers and sends back execution results, utilizing a Microsoft OneDrive account as its command-and-control (C2) server.
- SysReadSvc.dll: This module executes the commands received from SysExcSvc.dll and saves the results.
To maintain persistence, the attackers execute a Base64-encoded PowerShell command that installs both modules as Windows services, complicating detection efforts by endpoint detection and response (EDR) tools.
Detection and Recommendations
Kaspersky’s security solutions effectively detect the malicious activities associated with this attack. The malware is identified by various detection names, including:
- Backdoor.PHP.WebShell.abi
- Backdoor.Win64.PhantomCore.dt
- Trojan.Win64.Agent.smgvnc
- Trojan.Win64.Agent.smgvnb
- HEUR:Backdoor.Win64.PhantomCore.gen
Organizations utilizing TrueConf software are strongly advised to update to the latest server versions (5.3.9, 5.4.9, and 5.5.5) as per vendor recommendations. It is also crucial to verify that client distributions downloaded from the TrueConf server are digitally signed and have not been tampered with, as the malicious versions detected lacked valid signatures.
Organizations that do not directly use TrueConf servers should remain vigilant, as employees may connect to compromised servers belonging to business partners during online meetings, potentially downloading infected installation packages.
For a detailed analysis of the attack mechanism and exploited vulnerabilities, refer to the comprehensive report on the Kaspersky ICS CERT website.
Readers can also explore current and upcoming editions through the Cyber Warriors Middle East magazine section.
Published on 2026-08-15 15:20:00 • By the Editorial Desk

