Command and Control · ATT&CK v20
T1071.004 Application Layer Protocol: DNS
A Command and Control technique. Talking to compromised systems to control them.
- T1071.004Technique ID
- Command and ControlTactic
- 3Places taught
What the attacker does
The attacker uses DNS queries and answers as a channel: commands and data hidden in subdomains and TXT records, which often get through when web traffic is filtered.
How it shows up in the logs
- Many queries to one domain with long, random-looking subdomains (DNS server or resolver logs).
- A high number of TXT or NULL queries from one host.
- DNS traffic going straight to an external server instead of the company resolver.
Questions to ask in triage
- Which host and process send the queries?
- How much data could have left this way?
- Block the domain at the resolver and look at the host.
Read T1071.004 on attack.mitre.org
A sub-technique of T1071.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- High-volume DNS TXT queries to one domain
- Suspicious long DNS query
In the theory
Events that can show it
In the glossary
More Command and Control techniques
- T1071.001 Application Layer Protocol: Web Protocols
- T1090.002 Proxy: External Proxy
- T1105 Ingress Tool Transfer
- T1219.002 Remote Access Tools: Remote Desktop Software
- T1219.003 Remote Access Tools: Remote Access Hardware
Source: MITRE ATT&CK T1071.004, tactic TA0011.