Skip to main content
Mallory
Malware1 associated actor

COMpfun

Tracked since Nov 25, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK24Techniques
IOCs18Tracked
Type
RAT
Capabilities
KeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissanceProcess injection
Delivery
Lure
Platforms
Windows

COMpfun is a Windows malware family associated with stealthy persistence through COM object hijacking and used in espionage-oriented intrusions. It has been described both as a remote access trojan and, in some distribution chains, as a downloader for follow-on payloads. The malware achieves persistence by hijacking COM class registrations so that Windows loads an attacker-controlled library in place of a legitimate component, allowing execution inside normal user processes without conventional DLL injection. This approach is notably quiet, blends into standard process activity, and has been observed as a long-term covert foothold mechanism.

COMpfun-related activity has been linked with medium-to-low confidence to Turla based on code similarities, tradecraft, and victimology. Reported targeting has included European diplomatic entities, and related tooling derived from the same code base has been used in broader espionage campaigns. Researchers also identified strong code overlap between COMpfun and Reductor, assessing that Reductor was likely developed by the same authors. In at least one observed infection path, already infected COMpfun hosts were used to download Reductor components, indicating COMpfun can function as a staging mechanism for additional malware.

A later COMpfun-related Trojan variant used an unusual command-and-control design based on uncommon HTTP or HTTPS status codes to queue and trigger actions. Reported capabilities for this code base include host fingerprinting, command execution, file upload and download, keylogging, screenshot capture, clipboard collection, network resource enumeration, USB propagation, process injection, and encrypted exfiltration. The malware also incorporates anti-analysis checks for virtualized environments, debuggers, and security tooling. Across reporting, COMpfun and closely related variants consistently target Windows systems and are characterized by stealthy persistence, covert surveillance, and post-compromise control in support of intelligence collection.

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
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 →
Turla

The Kaspersky Attribution Engine shows strong code similarities between this family and the COMPfun Trojan. Moreover, further research showed that the original COMpfun Trojan most probably is used as a downloader in one of the distribution schemes.

via securelistsecurelist.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

3 techniques
T1091Replication Through Removable MediaEvidence1

In other words, it’s a normal full-fledged Trojan that is also capable of propagating itself to removable devices.

T1195Supply Chain CompromiseEvidence1

We registered two initial infection schemes: Reductor spreads by either infecting popular software distributions (Internet Downloader Manager, WinRAR, etc. and, for at least one victim, through a popular warez website over HTTP)...

T1566.001Spearphishing AttachmentEvidence1

The campaign operators retained their focus on diplomatic entities, this time in Europe, and spread the initial dropper as a spoofed visa application.

Persistence

1 technique
T1546.015Component Object Model HijackingEvidence3

In the second scenario, the targets are already infected with the COMpfun Trojan, which uses COM CLSID for persistence.

Privilege Escalation

2 techniques
T1055Process InjectionEvidence1

The module then chooses a process to inject the code into, in order of decreasing priority, starting from Windows (cmd.exe, smss.exe), security-related applications ... and browsers

T1546.015Component Object Model HijackingEvidence3

In the second scenario, the targets are already infected with the COMpfun Trojan, which uses COM CLSID for persistence.

Stealth

6 techniques
T1027.007Dynamic API ResolutionEvidence1

As with all modules with a similar code base, the dropper begins by dynamically resolving all the required Windows API function addresses and puts them into structures.

T1036MasqueradingEvidence1

The file name related to the visa application process perfectly corresponds with the targeted diplomatic entities.

T1055Process InjectionEvidence1

The module then chooses a process to inject the code into, in order of decreasing priority, starting from Windows (cmd.exe, smss.exe), security-related applications ... and browsers

T1140Deobfuscate/Decode Files or InformationEvidence1

It then decrypts the next stage malware from its resource (.rsrc) section. The algorithm used to decrypt the next stage is a one-byte XOR using the key “0x55”, followed by LZNT1 decompression.

T1497.001System ChecksEvidence1

It includes a number of anti-analysis checks for virtual machine-related devices (VEN_VMWARE, VBOX_HARDDISK, Virtual_DVD_ROM, etc.) to avoid controlled execution.

T1622Debugger EvasionEvidence1

Before every communication with the C2, the malware checks if software such as debuggers (WinDbg, OllyDbg, Visual Studio) and host (Process Explorer or Monitor, etc.) or network monitoring (Wireshark, TCPView, etc.) programs are running.

Credential Access

1 technique
T1056.001KeyloggingEvidence1

Its functions include the ability to acquire the target’s geolocation, gathering host- and network-related data, keylogging and screenshots.

Discovery

8 techniques
T1016System Network Configuration DiscoveryEvidence1

424 Failed Dependency (WebDAV) Fingerprint target. Send host, network and geolocation data

T1082System Information DiscoveryEvidence1

The module obtains the processor architecture (32- or 64-bit) and Windows OS version.

T1120Peripheral Device DiscoveryEvidence1

If initialization is successful, the malware starts one more thread for dispatching Windows messages, looking for removable devices related to a WM_DEVICECHANGE event.

T1135Network Share DiscoveryEvidence1

429 Too Many Requests Enumerate network resources on target

T1497.001System ChecksEvidence1

It includes a number of anti-analysis checks for virtual machine-related devices (VEN_VMWARE, VBOX_HARDDISK, Virtual_DVD_ROM, etc.) to avoid controlled execution.

T1518.001Security Software DiscoveryEvidence1

It also notes which security products are running on the host (Symantec, Kaspersky, Dr.Web, Avast).

T1614System Location DiscoveryEvidence1

Its functions include the ability to acquire the target’s geolocation ... The malware geolocates victims using legitimate web services

T1622Debugger EvasionEvidence1

Before every communication with the C2, the malware checks if software such as debuggers (WinDbg, OllyDbg, Visual Studio) and host (Process Explorer or Monitor, etc.) or network monitoring (Wireshark, TCPView, etc.) programs are running.

Lateral Movement

2 techniques
T1021.002SMB/Windows Admin SharesEvidence1

The first stage dropper was downloaded from the LAN shared directory.

T1091Replication Through Removable MediaEvidence1

In other words, it’s a normal full-fledged Trojan that is also capable of propagating itself to removable devices.

Collection

3 techniques
T1056.001KeyloggingEvidence1

Its functions include the ability to acquire the target’s geolocation, gathering host- and network-related data, keylogging and screenshots.

T1113Screen CaptureEvidence1

In a separate thread, the Trojan takes a bitmap screenshot using the GDIPlus library ... and sends it to the control server.

T1115Clipboard DataEvidence1

For clipboard content, the module calculates an MD5 hash and if it changes, encrypts the clipboard content with the same RSA public key and then sends it.

Command and Control

3 techniques
T1071.001Web ProtocolsEvidence1

We observed an interesting C2 communication protocol utilizing rare HTTP/HTTPS status codes ... Several HTTP status codes (422-429) from the Client Error class let the Trojan know what the operators want to do.

T1105Ingress Tool TransferEvidence1

After getting into the browser’s address space, the Trojan can receive the command to download additional modules from the C2. As a result, the target’s browser downloaded Reductor’s custom dropper-decryptor.

T1219Remote Access ToolsEvidence1

the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

To exfiltrate the target’s data to the C2 over HTTP/HTTPS, the malware uses RSA encryption.

Indicators of compromise

Observables

18 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
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
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
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 matching18Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping24Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.