BladedFeline Leveraging Whisper and PrimeCache to Compromise IIS and Microsoft Exchange Servers

Security researchers uncovered a sophisticated campaign orchestrated by the Iranian-aligned APT group BladedFeline, targeting Kurdish and Iraqi government officials.

This threat actor, active since at least 2017, has evolved its toolset to maintain persistent access within high-value networks, focusing on both the Kurdistan Regional Government (KRG) and the government of Iraq.

The group’s latest operations demonstrate technical advances, notably through the deployment of the Whisper backdoor and the PrimeCache malicious IIS module, both designed to evade detection and facilitate long-term espionage.

Exploiting Microsoft Exchange

Whisper is a custom C#/.NET backdoor that leverages compromised Microsoft Exchange webmail accounts for command-and-control (C2) communications.

Upon execution, Whisper attempts to authenticate using credentials from its configuration file.

Once access is established, it manipulates inbox rules to intercept emails containing specific subjects, facilitating covert data exchange between attacker and victim systems.

Whisper periodically sends check-in messages to attacker-controlled email addresses and retrieves operator commands embedded in email attachments.

BladedFeline
Basic operational flow of Whisper

According to ESET researchers, these commands are AES-encrypted and base64-encoded, allowing attackers to execute arbitrary commands, exfiltrate files, and run PowerShell scripts remotely.

The results are then encrypted and sent back as email attachments, ensuring a discreet and resilient communication channel that blends in with legitimate mail traffic.

Advanced IIS Module Backdoor

PrimeCache, a 64-bit C++ DLL, acts as a passive backdoor within Microsoft IIS environments.

It intercepts incoming HTTP requests, filtering for those containing attacker-specified cookies.

Operator commands and parameters are transmitted in a multi-stage process, with each request contributing encrypted parameters to a global structure until a trigger command initiates the desired malicious action.

PrimeCache supports remote command execution, file uploads and downloads, and leverages RSA and AES-CBC encryption for all C2 traffic.

Its design, including the use of the Crypto++ library and unique command parsing routines, closely mirrors the RDAT backdoor previously attributed to the OilRig APT, strengthening the assessment that BladedFeline is a specialized subgroup within OilRig.

Analysis of the campaign revealed that BladedFeline’s operations are consistent with OilRig’s historical targeting of Middle Eastern governments for cyberespionage.

Multiple artifacts, such as the use of OilRig’s RDAT tool and code similarities between PrimeCache and RDAT, support this attribution.

BladedFeline
The main function of P.S. Olala

BladedFeline’s focus on maintaining persistent access is further evidenced by its use of additional tools, including reverse tunnels (Laret and Pinar), webshells (Flog), and supplementary implants (Slippery Snakelet, Hawking Listener, P.S. Olala), all contributing to a robust, multi-layered attack infrastructure.

Indicators of Compromise (IOCs)

SHA-1FilenameDetectionDescription
562E1678EC8FDC1D83A3F73EB511A6DDA08F3B3DLogonUl.exeWin64/OilRig_AGen.ARDAT backdoor
3D21E1C9DFBA38EC6997AE6E426DF9291F89762Aflogon.aspxASP/Agent.BIFlog webshell
66BD8DB40F4169C7F0FCA3D5D15C978EFE143CF8Protocol.pdf.exePython/TrojanDropper.Agent.FTWhisper Protocol dropper
6973D3FF8852A3292380B07858D43D0B80C0616EVeeamUpdate.exeMSIL/Agent.ERRWhisper backdoor
73D0FAA475C6E489B2C5C95BB51DEDE4719D199Ewinhttpproxy.exeMSIL/HackTool.Agent.XYPinar reverse tunnel
E8E6E6AFEF3F574C1F5228BDB28ABB34F8A0D09Awincapsrv.exeMSIL/HackTool.Agent.XYLaret reverse tunnel
BB4FFCDBFAD40125080C13FA4917A1E836A8D101MFTD.exeMSIL/Tiny.GLHawking Listener
BE0AD25B7B48347984908175404996531CFD74B7videosrv.exeGenerik.BKYYERRVideoSRV reverse shell
01B99FF47EC6394753F9CCDD2D43B3E804F9EE36Avamer.pdf.exePython/TrojanDropper.Agent.GIPython-compiled dropper for Spearal
1C757ACCBC2755E83E530DDA11B3F81007325E67Win_Updates.exeMSIL/Agent.EUMSpearal backdoor

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant updates

Mandvi
Mandvi
Mandvi is a Security Reporter covering data breaches, malware, cyberattacks, data leaks, and more at Cyber Press.

Trending News

Related Stories