PrimeCache
PrimeCache is a malicious 64-bit native IIS module backdoor implemented as a DLL named cachehttp.dll with an internal name of HttpModule.dll. It functions as a passive backdoor by monitoring incoming HTTP requests for attacker commands, specifically requests matching a predefined cookie header structure such as F=<command_ID>,<param>;. Reported capabilities include command execution, file creation, and file exfiltration. Its command-and-control communications use RSA and AES-CBC encryption. PrimeCache has been associated with the Iran-aligned threat group BladedFeline and was observed in campaigns targeting Kurdish and Iraqi government officials, Kurdistan Regional Government environments, and a regional telecommunications provider in Uzbekistan as part of long-term cyberespionage activity. ESET assessed with medium confidence that BladedFeline is a subgroup of OilRig, and PrimeCache reportedly shares code similarities with OilRig’s RDAT backdoor, including use of Crypto++ and a shared shell-command execution function.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
PrimeCache also serves as a backdoor: it is a malicious IIS module related to what we referred to as Group 2 in our 2021 paper Anatomy of native IIS malware.
PrimeCache also serves as a backdoor: it is a malicious IIS module related to what we referred to as Group 2 in our 2021 paper Anatomy of native IIS malware.
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
Possible commands include... Execute a PowerShell script... Slippery Snakelet is a small Python-based backdoor with limited capabilities: 1. executes a command via cmd.exe ... Once received, Hawking executes the value in cmd.exe and returns the output.
r3 (Presumably) runs the specified command by sending it to another (unknown) process via the named pipe \\.\pipe\iis , then reads (presumably) the command output from the same pipe.
Persistence
2 techniques
Persistence
The security firm also observed BladedFeline deploying PrimeCache, an internet information services module that bore code similarities with the RDAT backdoor.
PrimeCache is loaded by an IIS Worker Process ( w3wp.exe ) when the IIS server receives an inbound HTTP request.
Privilege Escalation
2 techniques
Privilege Escalation
Eset first observed it in 2023, when it planted a backdoor into systems used by government diplomats from the Kurdistan Regional Government.
PrimeCache is loaded by an IIS Worker Process ( w3wp.exe ) when the IIS server receives an inbound HTTP request.
Stealth
1 technique
Stealth
Eset first observed it in 2023, when it planted a backdoor into systems used by government diplomats from the Kurdistan Regional Government.
Command and Control
4 techniques
Command and Control
PrimeCache uses standard web protocols for communication with the C&C server.
PrimeCache action... u AES-encrypted file content Local filename Creates a local file with the specified name and content... In the case where we do not have a location on disk for Laret... Laret was downloaded from http://178.209.51[.]61:8000/wincapsrv.exe via PowerShell.
PrimeCache uses standard encoding for communication with the C&C server.
PrimeCache uses both RSA and AES-CBC for its C&C communication... The session key is RSA encrypted; the backdoor has a hardcoded private and public RSA key...
Exfiltration
1 technique
Exfiltration
PrimeCache exfiltrates data to a C&C server.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.