Skip to main content
Mallory
Malware12 associated CVEs

Purple Fox

Tracked since Dec 2, 2025 · Updated 27 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns12Associated
Actors0Associated
ATT&CK47Techniques
IOCs93Tracked
Type
Downloader
Capabilities
Initial accessPersistencePrivilege escalationDefense evasionProcess injectionBrute forceScanning
Delivery
Exploit kitDrive byMalvertisingPhishingMalspamLure
Platforms
Windows

Purple Fox is a modular Windows malware family first documented in September 2018. It combines downloader functionality with kernel-mode rootkit components and is used to distribute additional malware, notably cryptocurrency miners. Its operators maintain botnet infrastructure comprising compromised systems, including Microsoft SQL Server hosts targeted for their computing resources.

Originally distributed through the Rig exploit kit, Purple Fox subsequently developed its own exploit kit. Infection routes include malicious websites, advertising redirects, trojanized installers impersonating legitimate applications, and phishing emails using Chinese- and Japanese-language invoice lures. Browser-based attacks exploit Internet Explorer, VBScript, and Flash vulnerabilities. Later infection chains replaced NSIS-based delivery with staged PowerShell execution and abuse of Windows Installer. When administrative privileges are unavailable, Purple Fox attempts local privilege escalation using publicly available Windows kernel exploits, including CVE-2015-1701, CVE-2018-8120, CVE-2020-1054, and CVE-2021-1732. SQL Server campaigns use credential brute-force attacks and malicious .NET CLR assemblies to execute code through database stored procedures.

Purple Fox supports 32-bit and 64-bit Windows payloads. It establishes persistence through boot-time system-file replacement and service creation, injects code into Windows service-host processes, and deploys rootkit drivers that conceal files and registry entries and restrict access to protected components. Evasion techniques include in-memory loading, encrypted shellcode, image steganography, VMProtect packing, and malicious drivers signed with stolen or revoked code-signing certificates. Associated kernel modules can disable antivirus file-system filters and terminate security processes. Its operators have also deployed FatalRAT-derived backdoors through staged loaders, while the Purple Fox exploitation framework has served as a delivery channel for the DirtyMoe botnet.

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

12 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-2018-8174via trendai security blogExploited in the wildDouble KillThe .htm file containing an exploit for CVE-2018-8174 redirects to an HTML application (.hta) file. | This new iteration of Purple Fox ... retains its rootkit component by abusing publicly available code. It now also eschews its use of NSIS in favor of abusing PowerShell, making Purple Fox capable of fileless infection.View vulnerability →Source ↗
CVE-2018-15982via trendai security blogExploited in the wildAdobe Flash Player Use-After-Free Remote Code ExecutionThrough a Flash (.swf) file that exploits CVE-2018-15982, which would lead to a malicious PowerShell script | This new iteration of Purple Fox ... retains its rootkit component by abusing publicly available code. It now also eschews its use of NSIS in favor of abusing PowerShell, making Purple Fox capable of fileless infection.View vulnerability →Source ↗
CVE-2015-1701via trendai security blogExploited in the wildWin32k Elevation of Privilege VulnerabilityThe PowerShell script would instead abuse a PowerSploit module ... [to] exploit two vulnerabilities: CVE-2015-1701 and CVE-2018-8120. Both of these are privilege escalation flaws in Win32k | This new iteration of Purple Fox ... retains its rootkit component by abusing publicly available code. It now also eschews its use of NSIS in favor of abusing PowerShell, making Purple Fox capable of fileless infection.View vulnerability →Source ↗
CVE-2014-6332via trendai security blogExploited in the wildWindows OLE Automation Array Remote Code Execution VulnerabilityTwo .htm files that exploit CVE-2014-6332, a vulnerability in Internet Explorer’s VBScript engine; and CVE-2018-8174 | This new iteration of Purple Fox ... retains its rootkit component by abusing publicly available code. It now also eschews its use of NSIS in favor of abusing PowerShell, making Purple Fox capable of fileless infection.View vulnerability →Source ↗
CVE-2018-8120via trendai security blogExploited in the wildWindows Win32k Elevation of Privilege VulnerabilityOnce the script successfully exploits CVE-2015-1701 and CVE-2018-8120, it will gain elevated privileges, used to abuse msiexec.exe | This new iteration of Purple Fox ... retains its rootkit component by abusing publicly available code. It now also eschews its use of NSIS in favor of abusing PowerShell, making Purple Fox capable of fileless infection.View vulnerability →Source ↗
CVE-2019-0808via sentinelone labsExploited in the wildWindows Win32k Elevation of Privilege VulnerabilityTwo new exploits are now being utilized to help with local privilege escalation: CVE-2020-1054 and CVE-2019-0808. Both are kernel exploits in the Win32k component. | “The new version of the exploit kit now downloads actual image files (key=3 & key=4) and uses steganography to embed each LPE in the image.”View vulnerability →Source ↗
CVE-2020-1054via sentinelone labsExploited in the wildWindows Win32k Out-of-Bounds Write Privilege EscalationPurple Fox added CVE-2020-1054 and CVE-2019-0808 for local privilege escalation. Both are kernel exploits in the Win32k component. CVE-2020-1054 was patched in May 2020. | “The new version of the exploit kit now downloads actual image files (key=3 & key=4) and uses steganography to embed each LPE in the image.”View vulnerability →Source ↗
CVE-2020-0674via sentinelone labsExploited in the wildInternet Explorer Scripting Engine Memory Corruption VulnerabilityMicrosoft's advisory describes how to defend against CVE-2020-0674, an Internet Explorer RCE vulnerability used by Purple Fox to gain initial access. | “The new version of the exploit kit now downloads actual image files (key=3 & key=4) and uses steganography to embed each LPE in the image.”View vulnerability →Source ↗
CVE-2019-1458via sentinelone labsExploited in the wildWindows Win32k Elevation of PrivilegeEarlier research described Purple Fox adding CVE-2020-0674 and CVE-2019-1458 to its arsenal. The indicators of compromise include hashes for CVE-2019-1458.exe. | “The new version of the exploit kit now downloads actual image files (key=3 & key=4) and uses steganography to embed each LPE in the image.”View vulnerability →Source ↗
CVE-2021-26411via hp wolf threat researchExploited in the wildRemote Code Execution in Internet Explorer and Legacy Microsoft EdgeOn 12 April 2021, we isolated a Purple Fox EK sample... the sample attempted to exploit a memory corruption vulnerability in Internet Explorer (CVE-2021-26411)... Other Purple Fox EK samples exploiting this vulnerability in the wild were also reported... | Purple Fox is a multi-component malware family that was first documented by Qihoo 360 in September 2018. Originally, it was a trojan that was delivered using the Rig exploit kit (EK). Since then its developers have added new capabilities, including a rootkit component and an exploit kit (also known as Purple Fox EK) to deliver the malware.View vulnerability →Source ↗
CVE-2021-1732via hp wolf threat researchWindows Win32k Window Object Type Confusion Privilege EscalationPowerShell scripts are extracted from the downloaded images, which are then executed and lead to privilege escalation through one of the integrated exploits: CVE-2015-1701 CVE-2018-8120 CVE-2019-1458 CVE-2019-0808 CVE-2020-1054 CVE-2021-1732 (Nb. The exploit delivered by Purple Fox EK is similar to this publicly available PoC.) | Purple Fox is a multi-component malware family that was first documented by Qihoo 360 in September 2018. Originally, it was a trojan that was delivered using the Rig exploit kit (EK). Since then its developers have added new capabilities, including a rootkit component and an exploit kit (also known as Purple Fox EK) to deliver the malware.View vulnerability →Source ↗
CVE-2016-0099via securelistExploited in the wildWindows Secondary Logon Elevation of Privilege VulnerabilityHaving thus obtained usernames and passwords for computers with MS SQL installed, the attackers used the T-SQL function xp_cmdshell to run several PowerShell scripts and elevated the privileges of the current user by exploiting the CVE-2016-0099 vulnerability. | After that, Purple Fox Trojan and Prometei itself were installed on the victim’s machine.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1587.004ExploitsEvidence1

Originally, it was a trojan that was delivered using the Rig exploit kit (EK). Since then its developers have added new capabilities, including a rootkit component and an exploit kit (also known as Purple Fox EK) to deliver the malware.

Initial Access

5 techniques
T1189Drive-by CompromiseEvidence3

Once the user accesses a malicious site hosting one of Rig’s landing pages | Once the user accesses a malicious site hosting one of Rig’s landing pages, there are three methods used to ultimately redirect the user to a malicious PowerShell script

T1190Exploit Public-Facing ApplicationEvidence1

In previous blogs1, we discussed the initial access techniques for this malware, which, in earlier activities, included targeting SQL databases.

T1566PhishingEvidence1

“Since early 2023, Proofpoint observed an increase in the email distribution of malware… The email subjects and content are usually written in Chinese… related to business themes like invoices, payments, and new products.”

T1566.001Spearphishing AttachmentEvidence1

“Sainbox RAT and ValleyRAT delivered via Excel and PDF attachments containing URLs… [Purple Fox] deliver zipped LNK attachments…”

T1566.002Spearphishing LinkEvidence1

“Commonly, the emails contain URLs linking to compressed executables… Excel and PDF attachments containing URLs linking to compressed executables.”

Execution

8 techniques
T1059.001PowerShellEvidence5

The exploit runs mshta.exe with VBScript code as a command line, which then runs PowerShell. The PowerShell code downloads and executes in memory the next stage of code

T1059.003Windows Command ShellEvidence2

Installation command behavior: /c start “” “C:WindowsTEMPFastpic_u44047309_sv67_52_1.exe” /at=591 /tid1=67

T1059.005Visual BasicEvidence2

The exploit runs mshta.exe with VBScript code as a command line, which then runs PowerShell.

T1129Shared ModulesEvidence1

After the shellcode loads and allocates memory for loading the stuffed PE modules inside svchost.txt, the execution flow will call into the first PE module found after the shellcode.

T1203Exploitation for Client ExecutionEvidence3

Our investigations reveal that Purple Fox has iterated to include use of two recent CVEs – CVE-2020-1054 and CVE-2019-0808 – through publicly-available exploit code.

T1204User ExecutionEvidence3

The installers are actively distributed online to trick users and increase the overall botnet infrastructure.

T1204.002Malicious FileEvidence1

The attackers distribute their malware using disguised software packages that encapsulate the first stage loader.

T1574Hijack Execution FlowEvidence1

The Trojan will perform multiple deletions and replacements... We call the file replaced to the system file Sense.dlll as FakeSense.dll.

Persistence

4 techniques
T1112Modify RegistryEvidence2

It is worth noting that all of the scripts check for a specific and consistent registry value named “StayOnTop” under HKCUSoftware7-Zip. It appears that setting this value enables the malware to determine if the payload ran successfully.

T1505.001SQL Stored ProceduresEvidence1

Review all the SQL Server’s Stored Procedures and Assemblies for any suspicious assemblies not recognized by the DBAs. | Once the DLLs have been imported, they can be linked to stored procedures that can be executed via a TSQL script.

T1543Create or Modify System ProcessEvidence1

Then decrypt the non-PE and create a service start

T1547Boot or Logon Autostart ExecutionEvidence1

we found that this is a kind of Trojan using “Pending File Rename Operations” mechanism to replace the system file and automatically start the load driver when booting.

Privilege Escalation

4 techniques
T1055Process InjectionEvidence3

if it decrypts the memory DLL and driver files, create the Svchost process and inject the Shellcode to execute, and then write the DLL and driver remotely into the Svchost process

T1068Exploitation for Privilege EscalationEvidence4

PowerShell scripts are extracted from the downloaded images, which are then executed and lead to privilege escalation through one of the integrated exploits: CVE-2015-1701 CVE-2018-8120 CVE-2019-1458 CVE-2019-0808 CVE-2020-1054 CVE-2021-1732

T1543Create or Modify System ProcessEvidence1

Then decrypt the non-PE and create a service start

T1547Boot or Logon Autostart ExecutionEvidence1

we found that this is a kind of Trojan using “Pending File Rename Operations” mechanism to replace the system file and automatically start the load driver when booting.

Stealth

14 techniques
T1014RootkitEvidence6

Register the MiniFilter and thread callback at the driver entry... Hide its own Trojan files in MiniFilter... The 32-bit hook NtEnumerateKey function hides its own registry entries... Then replace the NtfsFsdCreate dispatch function of Ntfs.sys

T1027Obfuscated Files or InformationEvidence2

Examining the exploit code shows that it is obfuscated in several stages and encrypted using AES.

T1027.003SteganographyEvidence2

Notably, malicious code is hidden inside the images using steganography to avoid detection by web proxies and firewalls.

T1036MasqueradingEvidence6

We still see the use of PendingFileRenameOperations for placing the files under the system32 directory after a reboot. | In the past, Purple Fox would download local privilege escalation (LPE) binaries that used an image file extension ( update.jpg) but which was in fact a regular executable file.

T1055Process InjectionEvidence3

if it decrypts the memory DLL and driver files, create the Svchost process and inject the Shellcode to execute, and then write the DLL and driver remotely into the Svchost process

T1070Indicator RemovalEvidence1

Following this, copy the DLL code to the temporary memory, then free the DLL, and then write the temporary memory back to the process code to hide and delete the Trojan DLL... Erase the driver information

T1070.004File DeletionEvidence1

This client supports five different commands... Delete Files from Kernel 0x222008 d 1 File Path to delete

T1140Deobfuscate/Decode Files or InformationEvidence1

Then decrypt the non-PE and create a service start

T1218System Binary Proxy ExecutionEvidence1

used to abuse msiexec.exe ... to download and execute Purple Fox’s main component

T1497.001System ChecksEvidence1

The script checks whether the user is an administrator and installs the malware using an MSI file if this is the case.

T1564.001Hidden Files and DirectoriesEvidence1

The 32-bit hook NtEnumerateKey function hides its own registry entries | Hide its own Trojan files in MiniFilter

T1574Hijack Execution FlowEvidence1

The Trojan will perform multiple deletions and replacements... We call the file replaced to the system file Sense.dlll as FakeSense.dll.

T1620Reflective Code LoadingEvidence4

The PowerShell code downloads and executes in memory the next stage of code

T1684.001ImpersonationEvidence1

During the analysis, we noticed that the exploit is not triggered in every case because geofencing was used to control who is targeted.

Defense Impairment

3 techniques
T1112Modify RegistryEvidence2

It is worth noting that all of the scripts check for a specific and consistent registry value named “StayOnTop” under HKCUSoftware7-Zip. It appears that setting this value enables the malware to determine if the payload ran successfully.

T1553.002Code SigningEvidence2

If the malware authors acquire any certificate that has been verified by a trusted certificate authority and by Microsoft, even if it was revoked, attackers can use it for malicious purposes.

T1685Disable or Modify ToolsEvidence3

They are also trying to improve their signed rootkit arsenal for [antivirus] evasion and trying to bypass detection mechanisms by targeting them with customized signed kernel drivers.

Credential Access

2 techniques
T1056.001KeyloggingEvidence1

Both implement a similar keylogging functionality, as seen in Figure 42.

T1110Brute ForceEvidence1

The main propagation method for Purple Fox when infecting SQL servers uses brute-force attacks rather than acting as a worm that exploits only the vulnerable services.

Discovery

6 techniques
T1012Query RegistryEvidence1

They query the registry key “HKLM\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0\\\"~MHz\” to identify the resources of the infected machine.

T1046Network Service DiscoveryEvidence1

When a SQL server starts having unusual traffic related to UDP and TCP, there should be a massive surge in traffic since it scans public IP addresses and the local network.

T1057Process DiscoveryEvidence1

Svchost.txt backdoor implements a process checker list for common AV and EDR products.

T1082System Information DiscoveryEvidence1

It sends all the fingerprinting logs collected from the victim’s system... They query the registry key “HKLM\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0\\\"~MHz\” to identify the resources of the infected machine.

T1083File and Directory DiscoveryEvidence1

The user-mode client supports five different commands... Copy Files from Kernel ... Delete Files from Kernel

T1497.001System ChecksEvidence1

The script checks whether the user is an administrator and installs the malware using an MSI file if this is the case.

Collection

2 techniques
T1056.001KeyloggingEvidence1

Both implement a similar keylogging functionality, as seen in Figure 42.

T1125Video CaptureEvidence1

Both use a similar COM APIs sequence to find video capture devices installed on the victims’ machines, such as a webcams.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence1

It also initiates a second stage C&C channel with another set of servers. It sends all the fingerprinting logs collected from the victim’s system and then waits for new commands from the C&C server.

T1071.001Web ProtocolsEvidence1

The C&C servers used in the communication schemes that have been described here are infected servers that are part of the botnet used to host the various payloads for Purple Fox.

T1105Ingress Tool TransferEvidence6

After starting the downloader, the Trojan installation package download address will be downloaded online

T1568Dynamic ResolutionEvidence1

Both initial DNS requests are CNAMEs to subdomains under kozow[.]com, which is a free dynamic domain service provided by dynu[.]com. This service can be updated with an API to make it point to different IP addresses — a technique the attacker uses to change the IP address at a regular interval.

Impact

1 technique
T1496Resource HijackingEvidence1

Both attacks also share the same goal of mining Monero.

Indicators of compromise

Observables

93 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

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

View more in app →
trendai security blogNews · Oct 19, 2026eMudhra CA Compromise: Weak Keys and Forged Certificates | TrendAI (US)A historical Purple Fox campaign used kernel drivers associated with three stolen code-signing certificates. No connection to the eMudhra compromise is established.Read more ↗trendai security blogNews · Jan 1, 2026‘Purple Fox’ Malware Can Rootkit and Abuse PowerShell | TrendAI (US)Downloader distributed through the Rig exploit kit that retrieves and executes additional malware, including cryptocurrency miners. The analyzed version abuses PowerShell for fileless execution and exploits privilege-escalation vulnerabilities when administrative access is unavailable. It installs its main component through Windows Installer functionality, injects a DLL into a suspended svchost process, and deploys a rootkit driver to hide and protect files and registry entries. Its installation also uses a system restart and PendingFileRenameOperations to rename components.Read more ↗the hacker newsNews · Jun 27, 2025Chinese Group Silver Fox Uses Fake Websites to Deliver Sainbox RAT and Hidden RootkitMalware mentioned as being distributed alongside Sainbox RAT and ValleyRAT in campaigns targeting Chinese-speaking users. Specific functionality not detailed in this content.Read more ↗sentinelone labs subdomainNews · Jan 9, 2025Purple Fox EK | New CVEs, Steganography, and Virtualization Added to Attack Flow - SentinelLabsPurple Fox is an actively developed exploit kit and malware/rootkit delivery framework targeting vulnerable Internet Explorer systems. In this report it uses PowerShell-based fileless execution, steganography to hide local privilege escalation payloads, and VMProtect-obfuscated rootkit installers to gain elevated access and install a rootkit.Read more ↗
+12 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 matching93Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities12CVEs 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 mapping47Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.