Cavern C2 Uses DNS and Google Apps Script to Blend Into Legitimate Traffic
Iranian nation-state hackers evolve Cavern C2 with DNS and Google Apps Script.
Iranian nation-state hackers have updated their Cavern command-and-control framework with new modules that leverage DNS and Google Apps Script to blend into legitimate traffic. The malware, linked to the MOIS and sharing overlaps with MuddyWater and Lyceum, uses DNS A-record responses to switch between direct HTTPS and a Google Apps Script relay. Additionally, a separate module called HOLLOWGRAPH abuses Microsoft 365 calendars and the Graph API for covert C2 communication and data exfiltration.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Kaspersky?
Get an email when a new story names Kaspersky, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonThe Cavern C2 framework demonstrates how sophisticated nation-state actors exploit trusted cloud services — Google Apps Script, Microsoft 365 Graph API, and standard DNS — to camouflage malicious command-and-control traffic within legitimate-looking network activity. Because these platforms are widely trusted and often allowed through enterprise firewalls, traditional perimeter defenses fail to detect the covert channel. The HOLLOWGRAPH module's abuse of Microsoft 365 calendars for data exfiltration is particularly dangerous because it exploits authenticated, encrypted SaaS traffic that many organizations do not deeply inspect. This matters because defenders who rely solely on blocklists or signature-based detection will miss these channels entirely, giving attackers persistent, stealthy access.
What helps against this
How we list vendors- Identity threat detection and response (ITDR)
Attackers who log in with real, stolen credentials get noticed.
- Network detection and response (NDR)
Attackers moving between systems inside the network get seen.
- Threat intelligence
Attack campaigns reach your sector, suppliers or software before your team hears about them.
Indicators of Compromise
Extracted by AI from the linked source. Not reviewed by an editor. How this works
- malware — Cavern
- malware — Cav3rn
- malware — HOLLOWGRAPH
- malware — GoogleService.dll
- malware — rnp.dll
- mitre_attack — T1071.004
- mitre_attack — T1102
- mitre_attack — T1041
- mitre_attack — T1573.002