kevmap

TechniquesT1071.004 › AN1123

AN1123 Analytic 1123

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

<p>Detects scripting environments (AppleScript, osascript, curl) or non-native tools performing DNS queries with encoded subdomains, often used for data exfiltration or beaconing.</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
macos:unifiedloglog stream 'eventMessage contains "dns_request"'DC0078 Network Traffic Flow

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
EntropyThresholdTunable threshold for randomness in subdomain labels
UncommonProcessContextFilters on user-launched or cron-based queries