Rules for T1008
How the 29 rules tagged with T1008 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Tables and parsers
_Im_Dns 13DnsEvents 7ContrastADRAttackEvents_CL 5DNSEssentialsCustomParser 4ContrastADRIncidents_CL 2Syslog 2Infoblox_dnsclient 1VMConnection 1
Filtered columns
ContrastADRAttackEvents_CL.resultexploited3EXPLOITED1blocked1DNSEssentialsCustomParser.TypeDNS_Summarized_Logs_ipV1_CL4DNS_Summarized_Logs_ip_CL4DnsEvents.Name.3DnsEvents.SubTypeLookupQuery3ContrastADRAttackEvents_CL.ruleSQL-INJECTION1class-loader-manipulation1cmd-injection1cmd-injection-command-backdoors1cmd-injection-process-hardening1DNSEssentialsCustomParser.EventResultDetails_sNXDOMAIN2DnsEvents.QueryTypeA2AAAA2DnsEvents.ResultCode32Syslog.ProcessNamesquid2_Im_Dns.DnsQuery.2_Im_Dns.DnsQueryTypeNameA2AAAA2ContrastADRAttackEvents_CL.environmentproduction1Infoblox_dnsclient.DnsResponseCodeNXDOMAIN1
Joins
(derived) ⋈ (derived)_Im_Dns ⋈ _Im_DnsDnsEvents ⋈ DnsEvents(derived) ⋈ _Im_DnsDNSEssentialsCustomParser ⋈ _Im_DnsDNSEssentialsCustomParser ⋈ DNSEssentialsCustomParser(derived) ⋈ DNSEssentialsCustomParser(derived) ⋈ DnsEventsContrastADRAttackEvents_CL ⋈ ContrastADRIncidents_CLInfoblox_dnsclient ⋈ Infoblox_dnsclient
Idioms
dcount 6join with no kind= (innerunique: duplicate left keys collapse) 6mv-expand (unpack arrays) 6make_list 5make_set 5leftanti join (A without B) 4make-series (time series, anomaly) 4arg_max (latest or earliest row per key) 1
Severity
Medium 14High 3Low 1
Schedules (analytic rules)
every 5m over 5m 6every 1d over 10d 4every 1h over 1h 4every 1d over 14d 3every 1d over 1d 1
Look-back windows in ago()
14d 41d 42d 33d 34d 35m 37d 1
Every rule tagged with it
- Excessive NXDOMAIN DNS Queries (ASIM DNS Schema)
- Potential DGA detected (ASIM DNS Schema)
- Cobalt Strike DNS Beaconing
- Contrast ADR - EDR Alert Correlation
- Contrast ADR - WAF Alert Correlation
- Contrast ADR - Exploited Attack Event
- Contrast ADR - Exploited Attack in Production
- Contrast ADR - DLP SQL Injection Correlation
- Contrast ADR - Security Incident Alert
- Detect excessive NXDOMAIN DNS queries - Anomaly based (ASIM DNS Solution)
- Detect excessive NXDOMAIN DNS queries - Static threshold based (ASIM DNS Solution)
- Detect DNS queries reporting multiple errors from different clients - Anomaly Based (ASIM DNS Solution)
- Detect DNS queries reporting multiple errors from different clients - Static threshold based (ASIM DNS Solution)
- Potential DGA(Domain Generation Algorithm) detected via Repetitive Failures - Anomaly based (ASIM DNS Solution)
- Potential DGA(Domain Generation Algorithm) detected via Repetitive Failures - Static threshold based (ASIM DNS Solution)
- [Anomaly] Anomalous Increase in DNS activity by clients (ASIM DNS Solution)
- Top 25 Domains with large number of Subdomains (ASIM DNS Solution)
- Increase in DNS Requests by client than the daily average count (ASIM DNS Solution)
- Possible DNS Tunneling or Data Exfiltration Activity (ASIM DNS Solution)
- Potential beaconing activity (ASIM DNS Solution)
- Excessive NXDOMAIN DNS Queries
- Squid proxy events for ToR proxies
- Squid commonly abused TLDs
- Potential DGA detected
- DNS lookups for commonly abused TLDs
- DNS - domain anomalous lookup increase
- DNS Full Name anomalous lookup increase
- Potential DGA detected
- Abnormally long DNS URI queries
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.