Threat reportMalwareTL-2026-0271
RegPhantom: China-Nexus Windows Kernel Rootkit Enabling Stealthy Kernel-Mode Code Execution via Registry Trigger
RegPhantom is a stealthy Windows kernel rootkit attributed to a China-nexus threat actor that abuses the Windows registry as a covert command trigger mechanism. The signed kernel driver intercepts XOR-encrypted commands written to registry keys via CmRegisterCallback, reflectively maps arbitrary PE payloads into kernel memory invisible to driver enumeration tools, and employs multiple anti-forensic techniques including blocking triggering registry writes, wiping executed payload memory, and encoding hook pointers.
Key facts
| Identifiers | TL-2026-0271 |
|---|---|
| Also known as | RegPhantom |
| Severity | CRITICAL |
| Affected products | Microsoft Windows |
| Weaknesses (CWE) | CWE-829, CWE-693, CWE-345 |
| Nation-state nexus | China |
| Malware | RegPhantom |
| MITRE ATT&CK techniques | T1014 Rootkit, T1027 Obfuscated Files or Information, T1068 Exploitation for Privilege Escalation, T1070 Indicator Removal, T1106 Native API, T1112 Modify Registry, T1140 Deobfuscate/Decode Files or Information, T1543 Create or Modify System Process, T1547 Boot or Logon Autostart Execution, T1553 Subvert Trust Controls, T1573 Encrypted Channel, T1587 Develop Capabilities and 3 more in the attack flow |
| Motivation | ESPIONAGE |
| Target sectors | government, defense, technology, telecommunications, critical-infrastructure |
| Target regions | Asia-Pacific, Europe, North America |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-03-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0271 across Splunk SPL, Microsoft KQL and Sigma, covering 13 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: RegPhantom Registry Covert Command Channel — Post-Exploitation Phase
Detects registry modification patterns consistent with RegPhantom's covert command channel, including kernel driver service creation from non-standard paths and suspicious registry value writes that may contain XOR-encrypted payloads. RegPhantom's usermode component writes XOR-encrypted commands to registry keys which the kernel driver intercepts via CmRegisterCallback.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1112, T1543.003, T1620, T1027
- Data sources: sysmon, windows_registry
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" (EventCode=12 OR EventCode=13 OR EventCode=14) | where (match(TargetObject, "(?i)\\\\CurrentControlSet\\\\Services\\\\") AND match(Details, "(?i)\\.sys") AND NOT match(Details, "(?i)\\\\System32\\\\drivers\\\\")) OR (match(TargetObject, "(?i)\\\\Software\\\\") AND NOT match(TargetObject, "(?i)\\\\Microsoft\\\\") AND len(Details) > 256) | eval action=case(EventCode=12, "CreateKey", EventCode=13, "SetValue", EventCode=14, "RenameKey") | table _time, Computer, EventCode, action, TargetObject, Details, Image | sort -_timeMicrosoft KQL
DeviceRegistryEvents | where Timestamp > ago(24h) | where ActionType in ("RegistryValueSet", "RegistryKeyCreated") | where (RegistryKey has "\\CurrentControlSet\\Services\\" and RegistryValueData has ".sys" and not(RegistryValueData has_any ("\\System32\\drivers\\", "\\SysWOW64\\drivers\\"))) or (RegistryKey has "\\Software\\" and not(RegistryKey has "\\Microsoft\\") and strlen(RegistryValueData) > 256) | project Timestamp, DeviceName, ActionType, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, InitiatingProcessCommandLineSigma
title: RegPhantom Registry Covert Command Channel
id: b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e
status: experimental
description: Detects registry modifications consistent with RegPhantom covert command channel including kernel driver service creation from non-standard paths and suspicious registry value writes with potential XOR-encrypted payloads.
references:
- https://www.nextron-systems.com/2026/03/20/regphantom-backdoor-threat-analysis/
author: Threadlinqs Team
date: 2026/03/23
tags:
- attack.defense_evasion
- attack.t1112
- attack.persistence
- attack.t1543.003
- attack.t1620
logsource:
product: windows
category: registry_set
detection:
selection_driver_service:
TargetObject|contains: '\CurrentControlSet\Services\'
TargetObject|endswith: '\ImagePath'
Details|endswith: '.sys'
filter_standard_path:
Details|contains:
- '\System32\drivers\'
- '\SysWOW64\drivers\'
selection_suspicious_value:
TargetObject|contains: '\Software\'
Details|re: '^[A-Za-z0-9+/=]{64,}'
filter_microsoft:
TargetObject|contains: '\Microsoft\'
condition: (selection_driver_service and not filter_standard_path) or (selection_suspicious_value and not filter_microsoft)
falsepositives:
- Third-party driver installations from custom paths
- Software using registry for base64 or encrypted configuration storage
level: highKnown false positives:
- Third-party driver installations from custom paths
- Software using registry for base64 or encrypted configuration storage
Tuning notes: Tune the registry path filters to exclude known legitimate software that stores large binary data in non-Microsoft registry keys. Adjust the Details length threshold (256) based on environment baseline. Add specific service name patterns if RegPhantom naming conventions are identified.
- RegPhantom Malicious Driver Service Installation — Exploitation Phase · unlock with TL Creds
- RegPhantom Registry Manipulation with Reflective Loading Correlation — Post-Exploitation Phase · unlock with TL Creds
- RegPhantom Anti-Forensic Kernel Operations — C2 Phase · unlock with TL Creds
- RegPhantom Suspicious Kernel Driver with Registry Callback Indicators — Exploitation Phase · unlock with TL Creds
- RegPhantom Registry-Based Payload Delivery via XOR Channel — Post-Exploitation Phase · unlock with TL Creds
- RegPhantom Rootkit Process and Driver Activity — C2 Phase · unlock with TL Creds
- RegPhantom Signed Kernel Driver Load — Exploitation Phase · unlock with TL Creds
- RegPhantom Kernel Driver Deployment via Command Line — C2 Phase · unlock with TL Creds
Indicators of compromise
As of 2026-03-23, Threadlinqs Intelligence tracks 13 indicators of compromise for TL-2026-0271.
Sample indicators (2 of 13)
- File hash:
703dfb12edc6da592e3dfb951ca2d84bf349e6a16ad3a2ab32b275349956e7c4 - File hash:
006e08f1b8cad821f7849c282dc11d317e76ce66a5bcd84053dd5e7752e0606f
Defanged, TLP:CLEAR. Full set of 13 indicators: unlock with TL Creds.
Technical analysis
RegPhantom represents a sophisticated kernel-mode rootkit designed for stealth execution in the Windows kernel. The malware operates as a legitimately signed Windows kernel driver (.sys file), leveraging valid code-signing certificates issued to Chinese companies — Guangzhou Xuanfeng Technology Co., Ltd. and Autel Intelligent Technology Corp., Ltd. — to pass Microsoft's driver signing enforcement. The core innovation of RegPhantom is its use of the Windows registry as a covert command channel. An unprivileged usermode process writes an XOR-encrypted command to any registry key. The kernel driver intercepts this write via the CmRegisterCallback kernel API, decrypts the payload using a built-in XOR key, and reflectively loads an arbitrary Portable Executable (PE) image into kernel memory. This technique is particularly insidious because registry write activity is ubiquitous on Windows systems and blends into normal system noise. The reflective loading mechanism bypasses standard driver loading infrastructure entirely. Instead of using the Windows driver loader, RegPhantom manually maps the PE into kernel memory, resolving imports and relocations in-memory. This means the loaded code never appears in kernel module lists, making it invisible to tools that enumerate loaded drivers (such as lm in WinDbg or driver listing utilities). RegPhantom implements a multi-layered anti-forensic strategy: 1. Registry Write Blocking: The driver returns STATUS_ACCESS_DENIED before the registry write completes, ensuring the command payload is never committed to the registry. No registry value is created or modified, leaving zero persistent artifacts. 2. Payload Memory Wiping: After executing the reflectively loaded payload, the driver overwrites the kernel memory region with zeros, destroying forensic evidence. 3. Hook Pointer Encoding: All hook pointers are XOR-encoded with a global key (g_xor_decode_key) and only decoded at call time, adding a layer of obfuscation to memory forensics. 4. Callback Hijacking: The loaded payload can further hijack the driver's kernel callbacks, enabling persistent kernel-mode hooks without additional driver loads. The driver binary is protected with Control Flow Guard (CFG) obfuscation incorporating opaque predicates and duplicated basic blocks designed to impede static analysis. However, the variety of opaque predicates used is low — the same patterns are reused across the binary — making the obfuscation vulnerable to pattern-based CFG simplification. The observed sample set spans at least June 18, 2025 through August 6, 2025, based on compilation timestamps and VirusTotal first-submission dates. Multiple samples compiled over several months, signed with two distinct Chinese certificates, and submitted from multiple countries indicate an actively maintained offensive tool. Attribution to a China-nexus threat actor is assessed at moderate confidence based on certificate provenance, sample timeline patterns, submission geography, and shared development traits across the sample corpus.
MITRE ATT&CK techniques by tactic:
defense-evasion
T1014 Rootkit; T1027 Obfuscated Files or Information; T1070 Indicator Removal; T1140 Deobfuscate/Decode Files or Information; T1620 Reflective Code Loading
privilege-escalation
T1068 Exploitation for Privilege Escalation
execution
defense-impairment
T1112 Modify Registry; T1553 Subvert Trust Controls; T1685 Disable or Modify Tools
persistence
T1543 Create or Modify System Process; T1547 Boot or Logon Autostart Execution
command-and-control
resource-development
Remediation
Immediate actions
- Deploy SIEM hunting queries targeting known RegPhantom hashes across all endpoint telemetry
- Audit all loaded kernel drivers for unsigned or suspiciously signed modules
- Block driver loading from certificates issued to Guangzhou Xuanfeng Technology Co., Ltd. and Autel Intelligent Technology Corp., Ltd.
- Monitor for anomalous CmRegisterCallback registrations from non-standard drivers
- Scan kernel memory for reflectively loaded PE images not present in module lists
Workarounds
- Enable HVCI (Hypervisor-Protected Code Integrity) to block unsigned kernel code execution
- Restrict kernel driver loading to Microsoft-signed drivers only via WDAC policy
- Deploy Sysmon with registry monitoring (Event ID 12/13/14) for anomalous write patterns
- Enable Windows Kernel Audit logging for driver load events
Longer-term hardening
- Implement kernel-mode integrity monitoring with memory scanning capabilities
- Deploy EDR solutions with kernel callback monitoring and anomaly detection
- Enforce strict driver allowlisting via Windows Defender Application Control (WDAC)
- Implement Hypervisor-Protected Code Integrity (HVCI) to prevent unsigned code in kernel
- Conduct supply chain risk review of trusted driver certificates in the environment
- Baseline normal registry write behavior to identify encrypted command patterns from usermode processes
Affected and fixed versions
- Microsoft — Windows
Vulnerable versions: Windows 10; Windows 11; Windows Server 2016; Windows Server 2019; Windows Server 2022
Timeline
- Active development period begins with first known compiled binary signed by Chinese certificate
- Earliest known RegPhantom sample compiled based on PE compilation timestamp
- Multiple samples submitted to VirusTotal from multiple countries indicating broad deployment or testing
- Latest known RegPhantom sample compiled based on PE compilation timestamp and VirusTotal first-submission date
- Security community begins discussing RegPhantom on forums including MalwareTips with initial threat assessment
- Fraunhofer FKIE Malpedia creates library entry for RegPhantom backdoor threat
- Nextron Systems publishes comprehensive technical analysis of RegPhantom by researcher Pierre-Henri Pezier
- As of 2026-05-29, RegPhantom remains a valid active threat: no CVE/patch exists (it abuses signed drivers), the China-nexus actor is undisrupted with no named successor, and disclosure (Nextron, SOC Prime, Malpedia, Mar 2026) confirms relevance. Downgraded to MONITORING — no in-the-wild campaign telemetry past Aug 2025, and Microsoft's April 2026 cross-signed driver trust removal plus HVCI/WDAC erode its loading vector.
Sources cited
- RegPhantom Backdoor Threat Analysis - Nextron Systems nextron-systems.com · Research · 2026-03-20
- RegPhantom - Malpedia (Fraunhofer FKIE) malpedia.caad.fkie.fraunhofer.de · Research · 2026-03-20
- Rootkit - MITRE ATT&CK Technique T1014 MITRE · Research · 2026-03-20
- Modify Registry - MITRE ATT&CK Technique T1112 MITRE · Research · 2026-03-20
- The HoneyMyte APT Now Protects Malware with a Kernel-Mode Rootkit - Securelist Kaspersky Securelist · Research · 2025-12-01
- RegPhantom Discussion - MalwareTips Forums malwaretips.com · Blog · 2026-03-20
- Mustang Panda Uses Signed Kernel-Mode Rootkit to Load TONESHELL Backdoor - The Hacker News The Hacker News · News · 2025-12-01
- Chinese State Hackers Use Rootkit to Hide ToneShell Malware Activity - BleepingComputer BleepingComputer · News · 2025-12-01
Previous and next in malware
AI-drafted from 8 cited sources; published ; last updated —.