CAV3RN Module Uses Outlook Calendar Events for C2 and DNS AAAA Records for Configuration Recovery

· Original article ↗

Summary

Kaspersky analyzes Project CAV3RN’s AzureCommunication.dll, which uses Microsoft Graph Outlook calendar events for C2 and DNS AAAA responses to recover configuration if Graph access fails. Its OilRig (APT34) association remains low-confidence.

Key points

  • AzureCommunication.dll exchanges commands and results through Microsoft Graph Outlook calendar events scheduled in a fixed one-hour window in 2050.
  • Inbound commands use RSA-OAEP-SHA256 to protect an AES-256-GCM key; encrypted command output is split into attachments and uploaded through Graph.
  • If Graph authentication or validation fails, the module queries cloudlanecdn[.]com for AAAA responses that encode replacement tenant, client, secret, and mailbox configuration values.
  • The DNS recovery protocol uses AAAA responses as data containers, discarding two bytes and retrieving configuration in fragments of up to 14 bytes.
  • The module is compiled with .NET Native AOT, which removes much of the metadata and intermediate language normally available for analysis.
  • Kaspersky assesses that the module was designed to replace CAV3RN’s previous HTTP/WebSocket communication component, though the updated controller was not recovered.
  • Kaspersky retains a low-confidence association with OilRig (APT34), citing behavioral similarities but finding no direct code reuse or infrastructure overlap.

Article Details

Attack Vectors
  • AzureCommunication.dll uses Microsoft Graph and Outlook calendar events to exchange commands, heartbeats, and results in a fixed 2050-05-13 22:00–23:00 UTC window.
  • If OAuth token acquisition or tenant validation fails, the module attempts to recover TenantId, ClientId, ClientSecret, and UserEmail through DNS AAAA queries to cloudlanecdn[.]com.
  • The module downloads command attachments and decrypts them using RSA-OAEP-SHA256 and AES-256-GCM; it encrypts results, splits them into chunks of up to 10 MiB, and uploads them as calendar attachments.
Defensive Notes
  • Monitor Microsoft Graph calendar activity for events in the reported 2050 time window with subjects beginning Event ID:, Boss update ID:, or Boss Report ID:.
  • Look for DNS AAAA queries matching the article's configuration-recovery patterns to cloudlanecdn[.]com and its authoritative nameservers.
  • The article identifies AzureCommunication.dll and logAzure.txt as module and configuration-file names, and provides sample hashes for the module.

Indicators of compromise

TypeIndicatorContext
DOMAINcloudlanecdn[.]comActor-controlled DNS configuration-recovery domain used by the module.
DOMAINns1[.]cloudlanecdn[.]comActor-controlled authoritative nameserver for the DNS recovery domain.
DOMAINns2[.]cloudlanecdn[.]comActor-controlled authoritative nameserver for the DNS recovery domain.
DOMAINns3[.]cloudlanecdn[.]comActor-controlled authoritative nameserver for the DNS recovery domain.
DOMAINns4[.]cloudlanecdn[.]comActor-controlled authoritative nameserver for the DNS recovery domain.
IPV4144[.]172[.]108[.]205IP address identified for the actor-controlled authoritative DNS infrastructure.
IPV4216[.]126[.]237[.]197IP address identified for the actor-controlled authoritative DNS infrastructure.
MD529b2b8c5d99f05bfcdd0d8d976eb5678Hash of an AzureCommunication.dll malware-module sample.
MD5c092b02fbc0fdf7ee9608dd016673806Hash of a NewProject.dll sample listed with the Project CAV3RN file indicators.
MD5caf021dda726b8ba049c2aa395e505a1Hash of an AzureCommunication.dll malware-module sample.

MITRE ATT&CK

Threat Actors

Malware

Vendors

Products

Countries

Related Articles