CAV3RN uses DNS A-record responses to toggle between direct HTTPS and Google Apps Script C2
The CAV3RN framework can dynamically select its C2 channel via DNS A-record responses, switching between direct HTTPS and a Google Apps Script relay.
Security & privacy Securelist 11 Aug 2026 Method Real-world evidence
Published as “Project CAV3RN continues: Google Apps Script as C2 relay and DNS-based C2 channel selection”
Why it matters
The DNS-driven channel selection and use of a Google Apps Script relay make CAV3RN traffic blend with normal DNS and Google traffic, complicating network-based detection.
Summary
The researchers observed a new CAV3RN module (GoogleService.dll) that queries a DNS A-record to decide whether to use direct HTTPS or a Google Apps Script relay for each C2 transaction. The DNS response’s fourth octet encodes the selected channel and can also trigger a freshness check of the Apps Script deployment ID. The module can rotate the deployment ID via additional DNS queries, and a local broker DLL (rnp.dll) loads and upgrades component DLLs at runtime. The findings are based on analysis of a single active sample observed in the wild.
What they found 1
- CAV3RN’s communication module uses DNS A-record responses to select between direct HTTPS and a Google Apps Script relay for each transaction.
“The main finding is a complex C2 module that uses DNS A-record responses to choose between direct HTTPS and a Google Apps Script relay for each transaction.”
Caveats 1
- It may therefore have originally belonged to a legitimate Israeli business and been acquired by the threat actor only after its expiration; the available evidence does not indicate when ownership changed.
What’s new here 4
- Introduces DNS-based channel selection that chooses between direct HTTPS and Google Apps Script relay.
- Implements a freshness check and rotation mechanism for the Apps Script deployment ID via DNS queries.
- Describes a local broker DLL that dynamically loads, upgrades, and coordinates modular components.
- Shows how the framework blends C2 traffic with legitimate Google and DNS traffic to evade detection.