安全客•July 12, 2026•🇨🇳Translated from Chinese

Iranian State-Sponsored Hackers Unveil Cavern C2 Framework: Multi-Format .NET Compilation Bypasses All Security Detection Tools

In early July 2026, Israeli cybersecurity firm Check Point Research published a detailed report exposing a previously undocumented Iranian threat actor tracked as Cavern Manticore. The group, assessed to operate under Iran’s Ministry of Intelligence and Security (MOIS), has been deploying a highly modular command-and-control framework named Cavern (also referred to as Cav3rn) since the beginning of 2026.

What Happened

The campaign primarily targets Israeli IT service providers and government organizations. Unlike earlier Iranian APT groups such as MuddyWater and OilRig that frequently reuse publicly available tools, Cavern Manticore developed an entirely custom framework written in .NET yet deliberately compiled into three distinct binary formats. This design choice forces security researchers to switch between completely different analysis toolchains, significantly raising the cost and complexity of investigation. The framework has maintained near-zero or extremely low detection rates on VirusTotal, rendering most commercial security products ineffective.

Technical Analysis: Weaponizing Compilation Formats

Cavern’s primary innovation lies not in conventional obfuscation techniques such as packing or control-flow flattening, but in its use of incompatible compilation formats as an anti-analysis layer. The framework consists of three categories of modules:

  • .NET Framework (pure IL): Post-exploitation modules including mhm.dll for file operations and DPAPI decryption, db.dll for SQL database manipulation, and ode.dll for Active Directory reconnaissance. Each module executes inside its own isolated AppDomain and is unloaded immediately after use, leaving no artifacts on disk.
  • Mixed-mode C++/CLI (IL + native code): The core Agent, disguised as uxtheme.dll (Windows theme library), contains 83 exported functions of which 82 are empty decoys designed to trap sandboxes; only one performs actual malicious activity.
  • .NET 8 Native AOT (pure native): Communication module n-HTCommp.dll, network reconnaissance module n-ten.dll, and SOCKS5 proxy module n-sws.dll. The entire .NET runtime is statically linked, and strings only materialize at runtime. Check Point researchers had to develop a custom IDA Pro plugin to recover metadata from these binaries.

Because each module requires a different analysis workflow, experience gained from examining one component cannot be reused on the others, forcing defenders to maintain three separate reverse-engineering capabilities.

Attack Chain: Abusing Trusted RMM Infrastructure

Initial access is obtained by compromising an organization’s remote monitoring and management (RMM) platform rather than exploiting zero-day vulnerabilities. Attackers abuse the legitimate update functionality of SysAid software to push malicious code. A WinDirStat DLL side-loading chain is placed in C:\ProgramData\WinDir\, where the legitimate WinDirStat.exe loads the tampered uxtheme.dll (Cavern Agent). The Agent then beacons to the C2 server hospitalinstallation[.]com over HTTPS or WebSocket, retrieving additional modules on demand.

Network traffic is encrypted with XOR key 0x48, Base64-encoded, and uses a fixed Edge browser User-Agent string along with a custom X-User-token header. Protocol fields are delimited by “_;;_” and parameters by “_,_”. The Agent supports hot updates—it can rename its own DLL, write a new version, and load it without requiring a system reboot—followed by aggressive cleanup that removes all files except the communication module, configuration, and logs. Error messages left in the code, such as “What is this sh*t?! where is get_version?!?!”, suggest manual development by a specific individual rather than automated generation.

Impact: Systematic Weaponization of Supply-Chain Trust

The operation demonstrates three layers of trust abuse: first, compromising IT service providers to reach downstream customers; second, leveraging legitimate software update mechanisms as distribution vectors; and third, coordinated activity between Cavern Manticore and MuddyWater against aviation, energy, and government targets in Egypt, Israel, and the UAE. These parallel campaigns indicate Iran is escalating its cyber operations in response to regional geopolitical tensions.

Defense Recommendations

Organizations should enforce least-privilege access for MSPs, implement change-approval workflows for RMM updates, and monitor for the following indicators of compromise: C2 domain hospitalinstallation[.]com (and historical domains adserviceupdate[.]com, hygienehistory[.]com), file path C:\ProgramData\WinDir\WinDirStat.exe, mutexes MYMUTEX123HELLP02 and MYMUTEX123HELLP04, and network artifacts including the fixed Edge User-Agent and XOR key 0x48. Enabling Windows Code Integrity policies and closely auditing non-privileged directories are also advised.

Conclusion

Cavern Manticore represents a strategic shift from tool-versus-tool competition to analysis-cost competition. By designing a framework whose goal is not merely to evade detection but to make meaningful analysis prohibitively expensive, the group challenges traditional security operations models that rely on manual reverse engineering. The incident underscores that supply-chain security requires continuous verification of every trust relationship, from MSP access rights to automated update mechanisms.

Related articles

AntiMalware•State-Sponsored & APT

Unknown Attackers Breach US Air Force Cloud One Platform via Control Plane Vulnerability

Hackers gained unauthorized access to Cloud One, one of the largest cloud platforms used by the US Air Force, potentially compromising sensitive data on military operations, personnel, and logistics. The intrusion was discovered during a system modernization effort within the past month, according to sources cited by Reuters. Attackers exploited an unidentified software vulnerability to reach the platform's control plane, prompting immediate containment measures including suspension of administrative application migrations and revocation of certain user privileges. US Cyber Command has been brought in to assess the damage, while the Air Force has declined to comment on specific system security details. Cloud One aggregates resources from Microsoft, Amazon, Oracle, and Alphabet and hosts critical applications for personnel management, payroll, equipment maintenance, logistics, air defense data processing, and munitions tracking. The platform was developed under a contract originally held by SAIC until 2025, after which Leidos took over as the prime contractor.

BoletimSec•State-Sponsored & APT

Suspected Iranian Actors Exploit FortiGate Firewalls to Reach Ship Operational Technology Networks

US investigators have determined that threat actors exploited known vulnerabilities in Fortinet FortiGate firewalls installed on commercial vessels, crossing from the administrative network into the operational technology segment that controls propulsion, steering, navigation and cargo systems. The Wall Street Journal first reported the ongoing American probe, while NPR obtained details from officials indicating that as many as 50 ships may have been affected. The compromised vessels were carrying petroleum, liquefied petroleum gas, chemicals and other hazardous cargoes, including at least one LNG tanker. Although communications blackouts and email access problems were observed aboard several ships, authorities recorded no disruption to vessel operations, no physical risk to crews and no environmental damage. The FBI and US Coast Guard boarded two foreign-flagged vessels in August after receiving maritime alerts issued by CISA in September. A 2021 CISA advisory had already documented Iranian government-linked actors targeting Fortinet devices, though no public attribution has been made for the ship incidents.

BoletimSec•State-Sponsored & APT

Chinese-Linked Hackers Use AI Tool ARTEX to Breach CIA and ODNI Open-Source Intelligence Systems

Hackers breached an unclassified CIA and ODNI system used to analyze public and commercial information. The New York Times first reported the incident on November 24, with two sources confirming that classified networks remained untouched and the breach has been contained. The compromised system processes open-source material including news reports, social media, and purchased commercial databases to track foreign governments. The attack was carried out using the ARTEX artificial intelligence tool, which the FBI warned in November has been actively used by cybercriminals since August against banks and government targets. Initial indicators point to China as the origin, though government involvement remains unclear. The same tool has appeared in recent intrusions against the Pentagon's Cyber Defense Command and the European Commission. The incident highlights risks associated with open-source intelligence platforms that store analyst search histories revealing intelligence priorities.

Habr•State-Sponsored & APT

APT Groups: The Invisible Cyber Espionage Operations Targeting Critical Organizations

APT groups conduct long-term, targeted cyber operations aimed at stealthy intelligence gathering rather than immediate disruption. These advanced persistent threats typically focus on government agencies, research institutions, defense contractors, and large enterprises to obtain diplomatic correspondence, scientific data, or strategic plans. Unlike mass phishing campaigns, APT actors invest significant resources in reconnaissance, custom tooling, and maintaining access over months or years. Notable examples include APT29 linked to Russian foreign intelligence, APT28 associated with political and military targets, APT41 operating across multiple sectors, and the Lazarus Group tied to North Korean financial operations. The 2020 SolarWinds supply-chain compromise demonstrated how attackers can infiltrate trusted update mechanisms to reach thousands of organizations. Detection relies on behavioral analysis, TTP mapping via MITRE ATT&CK, and tools such as EDR, XDR, and SIEM rather than simple IOC matching. Effective defense requires asset inventory, least-privilege access, network segmentation, protected backups, and long-term log retention.