Skip to main content
Mallory
Malware3 associated CVEs

Cmstar

Tracked since May 26, 2026 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns3Associated
Actors0Associated
ATT&CK21Techniques
IOCs152Tracked
Type
Loader
Capabilities
ReconnaissancePersistenceDefense evasionPost exploitation
Delivery
SpearphishingPhishing
Platforms
Windows

CMSTAR is a Windows malware family used primarily as a custom downloader in cyber-espionage operations. It has been closely associated with the Lurid/Enfal ecosystem and has also been observed in campaigns that ultimately delivered additional payloads including BBSRAT as well as the backdoors PYLOT and BYEBY. Activity involving CMSTAR has targeted government entities, including campaigns against Mongolian and Belarusian government organizations, and has relied heavily on politically themed spearphishing lures.

CMSTAR has been delivered through weaponized Microsoft Office documents and archive-based lures. Document-based delivery has included exploitation of CVE-2012-0158 and CVE-2015-1641, as well as malicious macro-enabled Word documents. In some cases, archive attachments contained a disguised executable that launched CMSTAR through rundll32. Earlier reporting also linked CMSTAR delivery to malicious documents generated with the MNKit and Tran Duy Linh toolkits.

Functionally, CMSTAR acts as a downloader/loader that establishes execution on the victim host, resolves required APIs through a custom import reconstruction routine, decrypts embedded configuration data and strings, and contacts command-and-control infrastructure to retrieve or enable follow-on payloads. Its import resolution method is notable for enumerating export tables and matching API names through character-and-offset logic rather than relying on a normal import table. Observed variants have used obfuscation and encrypted configuration data, and have transmitted host profiling information to command-and-control servers over HTTP using simple encryption. Collected host data has included Windows version, CPU architecture, privilege level, and the presence of selected security software processes.

CMSTAR also supports persistence on Windows through autorun mechanisms and uses mutexes to prevent multiple concurrent instances. It has been observed enumerating running processes and hashing process names to identify security products without storing plaintext names. Reporting indicates this information is likely used to help operators assess or filter compromised systems. Multiple variants have been documented, including CMSTAR.A, CMSTAR.B, and CMSTAR.C, with differences in mutex usage and string-obfuscation routines.

Infrastructure and code relationships link CMSTAR to other Chinese nexus espionage tooling, especially Lurid/Enfal and Cmwhite, including overlapping command-and-control patterns and shared infrastructure characteristics. Campaign analysis has also highlighted code and tooling overlap with NetTraveler in some samples, supporting the assessment that CMSTAR has circulated within a broader ecosystem of espionage operators or shared malware suppliers rather than a single isolated intrusion set.

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

3 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-2012-0158via paloaltonetworks historic blogExploited in the wildMicrosoft Common Controls ActiveX Remote Code ExecutionUnit 42 is aware of threat actors using two toolkits - MNKit and the Tran Duy Linh toolkit - to produce malicious documents that exploit CVE-2012-0158 in order to implant Cmstar. | This specific downloader, Cmstar, is associated with the Lurid downloader also known as ‘Enfal’.View vulnerability →Source ↗
CVE-2014-1761via paloalto researchcenter historicExploited in the wildMicrosoft Word RTF Memory Corruption VulnerabilityThe newer documents containing exploits for both vulnerabilities appeared to use a publically available PoC authored by ‘HCL’, with little to no modifications made... All of the Microsoft Word documents leveraged in these attacks used the CVE-2012-0158 and CVE-2014-1761 exploits. | All of the weaponized documents except two executed the Cmstar loader or a lightly modified variant of Cmstar onto the victim host... Once Cmstar was loaded onto the victim hosts, it would attempt to retrieve a final payload... those that were available were variants of BBSRAT.View vulnerability →Source ↗
CVE-2015-1641via paloalto researchcenter historicExploited in the wildMicrosoft Office RTF Memory Corruption VulnerabilityThe RTF documents made use of CVE-2015-1641. This vulnerability, patched in 2015, allows attackers to execute malicious code when these specially crafted documents are opened within vulnerable instances of Microsoft Word. | Palo Alto Networks Unit 42 has identified a series of phishing emails containing updated versions of the previously discussed CMSTAR malware family targeting various government entities in the country of Belarus.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1566PhishingEvidence1

Palo Alto Networks Unit 42 has identified a series of phishing emails containing updated versions of the previously discussed CMSTAR malware family targeting various government entities in the country of Belarus.

T1566.001Spearphishing AttachmentEvidence4

Unit 42 has been analyzing delivery documents used in spear-phishing attacks that drop a custom downloader used in cyber espionage attacks.

Execution

5 techniques
T1059.003Windows Command ShellEvidence1

HKCU\Software\Microsoft\Windows\CurrentVersion\Run\xpsfiltsvcs: "rundll32.exe C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\xpsfiltsvcs.dll,XpsRegisterServer"

T1059.005Visual BasicEvidence1

The Word documents, which we track as Werow, employ malicious macros for their delivery.

T1203Exploitation for Client ExecutionEvidence4

Unit 42 is aware of threat actors using two toolkits - MNKit and the Tran Duy Linh toolkit - to produce malicious documents that exploit CVE-2012-0158 in order to implant Cmstar.

T1204User ExecutionEvidence1

Weaponized Microsoft Word document found titled 'Путины урилга.doc' (Putin's Invitation). CVE-2012-0158 exploit used, dropping new variant of Cmstar.

T1204.002Malicious FileEvidence1

While we observed different techniques being used for delivery, all attachments executed a variant of the CMSTAR malware family.

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence3

The Cmstar sample associated with the MNKIT delivery document creates the following registry key to automatically execute at system startup: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\xpsfiltsvcs

Privilege Escalation

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence3

The Cmstar sample associated with the MNKIT delivery document creates the following registry key to automatically execute at system startup: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\xpsfiltsvcs

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence2

The initial dropper embedded in the weaponized document files were obfuscated using a subtraction cipher previously used to obfuscate strings in the NetTraveler malware family.

T1036MasqueradingEvidence2

...while displaying a decoy document or a legitimate appearing document that is generated and presented to the user to make it appear that the weaponized document that had been executed was indeed, legitimate.

T1070.004File DeletionEvidence1

For instance, the payload checks the EAT of "wininet.dll" using the comparisons mentioned above to find the address to the "DeleteUrlCacheEntryA" API function.

T1218.011Rundll32Evidence1

The SCR file mentioned previously drops a CMSTAR DLL and runs it via an external call to rundll32.exe.

T1480.002Mutual ExclusionEvidence1

the downloader uses the CreateMutex to create a mutex named ‘{53A4988C-F91F-4054-9076-220AC5EC03F3}’ to determine if another instance of the code is running.

T1497Virtualization/Sandbox EvasionEvidence1

Rather than altering its activities, Cmstar only notifies the C2 server if a system is running one of these processes, suggesting that the threat actors might employ this technique as a filtering mechanism to ignore analysis systems and researchers.

Discovery

3 techniques
T1057Process DiscoveryEvidence2

Rather than including a list of strings of associated processes, Cmstar enumerates the running processes and subjects these process names to a hashing algorithm.

T1082System Information DiscoveryEvidence2

Cmstar’s HTTP POST requests sent to ‘happy.launchtrue[.]com’ contain data that the Trojan gathers from the infected machine that has the following structure: <Windows Version number>@@<CPU Architecture...

T1497Virtualization/Sandbox EvasionEvidence1

Rather than altering its activities, Cmstar only notifies the C2 server if a system is running one of these processes, suggesting that the threat actors might employ this technique as a filtering mechanism to ignore analysis systems and researchers.

Collection

1 technique
T1560Archive Collected DataEvidence1

The RAR archive contained a series of images, a decoy document, and a Microsoft Windows executable within it.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence2

Each of the samples collected via WildFire and VirusTotal contained significant overlaps in tactics used, tools used, as well as infrastructure for command and control channels.

T1071.001Web ProtocolsEvidence2

Cmstar also decrypts a 752-byte piece of shellcode that carries out communications with the C2 server, specifically by sending HTTP POST requests to the following URL

T1105Ingress Tool TransferEvidence2

Once Cmstar was loaded onto the victim hosts, it would attempt to retrieve a final payload... those that were available were variants of BBSRAT.

T1132Data EncodingEvidence1

Unit 42 observed the following data within an analysis environment, which was then encrypted using a single-byte XOR algorithm and a key of 0x45 before being sent to the C2 server

Indicators of compromise

Observables

152 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 →
australian acscNews · Apr 9, 2025BADBAZAAR and MOONSHINE: Technical analysis and mitigations | Cyber.gov.auMalware referenced in historical threat intelligence through shared domain registration email infrastructure.Read more ↗paloalto researchcenter historicNews · Sep 28, 2017Threat Actors Target Government of Belarus Using CMSTAR TrojanCMSTAR is the primary malware family used in the phishing campaign against Belarusian government targets. It is delivered via malicious Word documents with macros, RTF exploit documents using CVE-2015-1641, and a disguised SCR file. It downloads secondary payloads from remote servers, uses mutexes to ensure a single running instance, and serves as the delivery mechanism for additional backdoor payloads including PYLOT and BYEBY.Read more ↗paloalto researchcenter historicNews · Mar 14, 2016Digital Quartermaster Scenario Demonstrated in Attacks Against the Mongolian GovernmentA downloader/loader used as the first-stage payload in most of the spear-phishing documents. It is dropped after exploitation of malicious Word documents, retrieves follow-on payloads such as BBSRAT, and shows code and obfuscation overlap with NetTraveler. The report describes it as closely related to Lurid/Enfal.Read more ↗paloalto researchcenter historicNews · May 18, 2015Cmstar Downloader: Lurid and Enfal's New CousinCustom downloader used in cyber espionage spear-phishing attacks. It is implanted via malicious documents exploiting CVE-2012-0158, manually builds its import address table, decrypts configuration and shellcode, establishes persistence via a Run registry key, gathers host information including AV process checks, and communicates with its C2 over HTTP POST.Read more ↗
+2 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 matching152Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs 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 mapping21Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.