Description
Adversaries may communicate using the Domain Name System (DNS) application layer protocol to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server. The DNS protocol serves an administrative function in computer networking and thus may be very common in environments. DNS traffic may also be allowed even before network authentication is completed. DNS packets contain many fields and headers in which data can be concealed. Often known as DNS tunneling, adversaries may abuse DNS to communicate with systems under their control within a victim network while also mimicking normal, expected traffic.(Citation: PAN DNS Tunneling)(Citation: Medium DnsTunneling)
Threat-Mapped Scoring
ATT&CK Kill Chain Metadata
- Tactics: command-and-control
- Platforms: Linux, macOS, Windows, Network Devices, ESXi
-
Detection Guidance:
Analyze network data for uncommon data flows (e.g., a client sending significantly more data than it receives from a server). Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious. Analyze packet contents to detect application layer protocols that do not follow the expected protocol standards regarding syntax, structure, or any other variable adversaries could leverage to conceal data.(Citation: University of Birmingham C2) Monitor for DNS traffic to/from known-bad or suspicious domains.
Malware
- Anchor
- BONDUPDATER
- Cobalt Strike
- Cobian RAT
- DanBot
- DarkGate
- Denis
- DnsSystem
- Ebury
- Gelsemium
- Goopy
- Green Lambert
- HTTPBrowser
- Helminth
- Heyoka Backdoor
- InvisiMole
- Kevin
- Matryoshka
- Milan
- Mori
- NanHaiShu
- NightClub
- POWERSOURCE
- POWRUNER
- Pisloader
- PlugX
- QUADAGENT
- RDAT
- Remsec
- SOUNDBITE
- SUNBURST
- ShadowPad
- Shark
- SombRAT
- SysUpdate
- TEXTMATE
- Uroburos
- WellMess