Skip to main content
Mallory
Malware1 associated actor8 associated CVEs

Demodex

Tracked since Nov 25, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns8Associated
Actors1Associated
ATT&CK20Techniques
IOCs35Tracked
Type
Rootkit
Capabilities
PersistenceDefense evasionByovd
Platforms
Windows

Demodex is a Windows kernel-mode rootkit used in cyber-espionage intrusions attributed to the Chinese-nexus GhostEmperor activity cluster, which is also associated in some reporting with Earth Estries/Salt Typhoon. It has targeted telecommunications providers, government entities, and related service-provider environments, particularly in Southeast Asia, with broader activity affecting other regions. Demodex provides stealth and persistence by concealing malware-associated files, services, registry artifacts, and network connections. It uses kernel-level hooking and anti-forensic measures, including techniques intended to obscure registry callback origins and evade forensic inspection. Observed deployment chains use multistage loaders, in-memory execution, reflective loading, encrypted configuration and shellcode, and obfuscation to reduce endpoint detection and impede sandbox analysis. Installations have abused a signed vulnerable driver to bypass Windows Driver Signature Enforcement and load the unsigned rootkit. Demodex has been deployed following compromise of public-facing servers and through remote execution in already compromised environments.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

8 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2021-26855via imda singaporeProxyLogon SSRF in Microsoft Exchange ServerGhostEmperor updated their Demodex rootkit to evade Endpoint Detection & Response (EDR) detection, impede sandbox analysis, and use a reflective loader to run in memory.View vulnerability →Source ↗
CVE-2024-21887via trendai security blogExploited in the wildCommand Injection in Ivanti Connect Secure and Policy SecureWe have observed them exploiting server-based N-day vulnerabilities, including the following: Ivanti Connect Secure VPN Exploitation (CVE-2023-46805 and CVE-2024-21887) A chain of exploits to bypass authentication, craft malicious requests, and execute arbitrary commands with elevated privileges.View vulnerability →Source ↗
CVE-2022-3236via trendai security blogExploited in the wildUnauthenticated Remote Code Execution in Sophos Firewall User Portal and WebadminCVE-2022-3236 A code injection vulnerability in the User Portal and Webadmin of Sophos Firewall allows for remote code execution.View vulnerability →Source ↗
CVE-2023-46805via trendai security blogExploited in the wildAuthentication Bypass in Ivanti Connect Secure and Policy SecureWe have observed them exploiting server-based N-day vulnerabilities, including the following: Ivanti Connect Secure VPN Exploitation (CVE-2023-46805 and CVE-2024-21887) A chain of exploits to bypass authentication, craft malicious requests, and execute arbitrary commands with elevated privileges.View vulnerability →Source ↗
CVE-2023-48788via trendai security blogExploited in the wildUnauthenticated SQL Injection Leading to Remote Code Execution in Fortinet FortiClient EMSWe have observed them exploiting server-based N-day vulnerabilities, including the following: CVE-2023-48788 Fortinet FortiClient EMS SQL Injection VulnerabilityView vulnerability →Source ↗
CVE-2021-26857via trendai security blogExploited in the wildMicrosoft Exchange Unified Messaging Insecure Deserialization RCEProxyLogon (CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065) A set of four chained vulnerabilities that perform remote code execution (RCE) in Microsoft Exchange servers. | We found that they implanted the DEMODEX rootkit on vendor machines.View vulnerability →Source ↗
CVE-2021-26858via trendai security blogExploited in the wildPost-authentication arbitrary file write in Microsoft Exchange ServerProxyLogon (CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065) A set of four chained vulnerabilities that perform remote code execution (RCE) in Microsoft Exchange servers. | We found that they implanted the DEMODEX rootkit on vendor machines.View vulnerability →Source ↗
CVE-2021-27065via trendai security blogExploited in the wildMicrosoft Exchange Server Post-Authentication Arbitrary File Write in ProxyLogonProxyLogon (CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065) A set of four chained vulnerabilities that perform remote code execution (RCE) in Microsoft Exchange servers. | We found that they implanted the DEMODEX rootkit on vendor machines.View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Salt Typhoon

An updated DEMODEX rootkit was observed where the attacker replaced the first-stage PowerShell script with a CAB file containing the necessary registry data, including the encrypted configuration and shellcode payload.

via imda singaporeimda.gov.sg
MITRE ATT&CK

Techniques & procedures

20 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence2

In 2021, they gained initial access through exploiting vulnerabilities in public-facing servers such as Microsoft Exchange and used ProxyLogon vulnerability to gain access and perform remote code execution.

Execution

3 techniques
T1047Windows Management InstrumentationEvidence1

Once initial access was obtained, WMIExec (Impacket ... ) was used to remotely execute a batch file.

T1059.001PowerShellEvidence3

One of the extracted files was a Powershell script that creates a malicious service DLL.

T1059.003Windows Command ShellEvidence2

WMIExec ... was used to remotely execute a batch file. The batch file executed built-in Windows tools to extract and import files.

Persistence

1 technique
T1112Modify RegistryEvidence1

The advisory lists T1112, Modify Registry, among the MITRE ATT&CK techniques identified for the threat behaviours.

Privilege Escalation

1 technique
T1068Exploitation for Privilege EscalationEvidence1

The Core-Implant ... had to bypass the Driver Signature Enforcement (DSE) security feature ... 'Cheat Engine' ... was used to manipulate memory and execute code in kernel space to install Demodex.

Stealth

6 techniques
T1014RootkitEvidence3

They execute a multi-stage infection chain ... to deploy encrypted payloads, such as DEMODEX rootkit. An updated DEMODEX rootkit was observed.

T1027Obfuscated Files or InformationEvidence3

Encrypted configurations and shellcode are stored in registry keys, while reflective loaders decrypt and execute these components in memory, evading detection.

T1036.004Masquerade Task or ServiceEvidence1

A Powershell script ... creates a malicious service DLL that masquerades a legitimate Windows system process to avoid detection.

T1070.004File DeletionEvidence2

Once the installation is complete, the CAB file is deleted, to hinder forensics.

T1140Deobfuscate/Decode Files or InformationEvidence1

The advisory lists T1140, Deobfuscate/Decode File or Information, among the MITRE ATT&CK techniques identified for the threat behaviours.

T1620Reflective Code LoadingEvidence2

[The rootkit] uses reflective loader (loading DLL in memory) to execute the Core-Implant.

Defense Impairment

1 technique
T1112Modify RegistryEvidence1

The advisory lists T1112, Modify Registry, among the MITRE ATT&CK techniques identified for the threat behaviours.

Credential Access

1 technique
T1003OS Credential DumpingEvidence1

The advisory lists T1003, OS Credential Dumping, among the MITRE ATT&CK techniques identified for the threat behaviours.

Discovery

2 techniques
T1049System Network Connections DiscoveryEvidence1

The advisory lists T1049, System Network Connections Discovery, among the MITRE ATT&CK techniques identified for the threat behaviours.

T1069.002Domain GroupsEvidence1

The Powershell script ... creates a malicious service DLL that masquerades a legitimate Windows system process ... The service DLL was then used to install Demodex rootkit.

Lateral Movement

1 technique
T1021Remote ServicesEvidence2

The advisory lists T1021, Remote Services, among the MITRE ATT&CK techniques identified for the threat behaviours; WMIExec was used to remotely execute a batch file.

Collection

1 technique
T1005Data from Local SystemEvidence1

The advisory lists T1005, Data from Local System, among the MITRE ATT&CK techniques identified for the threat behaviours.

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence1

The Core-Implant ... was used to manage Command and Control (C2) communication ... imap.dateupdata[.]com [is identified as] C2.

T1105Ingress Tool TransferEvidence2

we found that the attackers downloaded malicious tools from their C&C server (23.81.41[.]166)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

The advisory lists T1041, Exfiltration Over C2 Channel, among the MITRE ATT&CK techniques identified for the threat behaviours.

Indicators of compromise

Observables

35 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching35Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities8CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping20Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.