Cavern Manticore uses a modular .NET C2 framework with three compilation formats to evade analysis
Cavern Manticore is an Iran-linked APT group that operates a modular .NET C2 framework employing mixed .NET compilation formats as an anti-analysis technique.
Security & privacy Check Point Research 6 Jul 2026 Incident analysis Real-world evidence
Published as “Cavern Manticore: Exposing Iran-Linked Modular C2 Framework”
Why it matters
Defenders need behavior-based detection for .NET NativeAOT binaries and must monitor RMM software abuse, as traditional signature tools miss these low-visibility samples.
Summary
Check Point Research observed a modular command-and-control framework used by the Iran-linked group Cavern Manticore against Israeli targets. All samples are built on .NET but compiled as IL-only, Mixed-Mode C++/CLI, or .NET 8 NativeAOT, forcing analysts to switch toolchains. The team released an IDA Pro plugin to recover metadata from the NativeAOT binaries and documented anti-analysis tricks such as per-module AppDomain isolation and DLL sideloading via SysAid’s update feature. Evidence comes from multiple real-world samples with low VirusTotal detection rates.
What they found 3
- Cavern is compiled into three different .NET binary formats to hinder reverse engineering.
“Cavern is a modular post-exploitation C2 framework built entirely on .NET, but deliberately compiled into three different binary formats: .NET Framework ( IL-only ), Mixed-Mode C++/CLI ( IL + Native ), and .NET 8 NativeAOT ( Native-only ).”
- The agent uses per-module AppDomain isolation and unloads modules after execution.
“By isolating each module in its own AppDomain, Cavern gets two things: loaded modules can be cleanly removed from memory after execution, leaving no analyzable assembly artifacts behind, and different versions of the same module can be loaded and run one after another without conflict.”
- NativeAOT modules hide strings and API imports, making static triage difficult.
“Static analysis of the P/Invoke resolution data recovered 21 dynamically-loaded API descriptors.”
Caveats 2
- The authors note that most observed samples score zero or very low detection rates on VirusTotal, indicating that existing AV products may already miss many variants.
- The analysis is based on the samples observed by Check Point and may not represent all variants of the framework.
What’s new here 4
- The framework deliberately uses three distinct .NET compilation formats as an anti-analysis layer.
- Modules are loaded in isolated AppDomain instances and unloaded after execution to erase artifacts.
- Check Point created and open-sourced an IDA Pro plugin (ida-nativeaot) to reconstruct metadata from NativeAOT binaries.
- Initial compromise frequently leverages abuse of legitimate Remote Monitoring and Management (RMM) software.