kevmap

TechniquesT1071.004 › AN1122

AN1122 Analytic 1122

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects local daemons or scripts generating outbound DNS queries with long or frequent subdomains, indicative of DNS tunneling via tools like iodine, dnscat2, or dig from cronjobs or reverse shells.</p>
Detects
T1071.004 DNS
Part of
DET0400 Behavioral Detection of DNS Tunneling and Application Layer Abuse

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
auditd:SYSCALLexecveDC0032 Process Creation
NSM:Flowdns.logDC0085 Network Traffic Content

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
SubdomainEntropyScoreDetects encoded payloads or randomness in DNS labels
DaemonAllowListAllowlisted system daemons expected to perform frequent lookups