Rules for T1571
How the 23 rules tagged with T1571 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
UbiquitiAuditEvent 6AZFWApplicationRule 3AZFWNetworkRule 3AzureDiagnostics 3CommonSecurityLog 3_Im_WebSession 3NetworkAccessTraffic 2fluentbit_CL 2AzureActivity 1ContrastADRAttackEvents_CL 1ThreatIntelligenceIndicator 1_Im_Dns 1_Im_NetworkSession 1
Filtered columns
UbiquitiAuditEvent.EventCategoryfirewall5UbiquitiAuditEvent.DvcActionAccepted2Blocked2Other1AzureDiagnostics.OperationNameAzureFirewallApplicationRuleLog3AzureFirewallNetworkRuleLog2CommonSecurityLog.DeviceVendorPalo Alto Networks2Fortinet1CommonSecurityLog.ActivityTRAFFIC2fluentbit_CL.ident_sTRAFFIC2AzureActivity.ActivityStatusValueAccepted1AzureActivity.OperationNameValuefirewallrules1ipfilterrules1publicIPAddresses1securityRules1write1CommonSecurityLog.DestinationPortCommonSecurityLog.DeviceActionCommonSecurityLog.SourceIPContrastADRAttackEvents_CL.resultEXPLOITED1ContrastADRAttackEvents_CL.ruleSQL-INJECTION1NetworkAccessTraffic.ActionDenied1UbiquitiAuditEvent.DnsQuerypool1xmr1
Joins
AZFWApplicationRule ⋈ AZFWApplicationRuleAZFWNetworkRule ⋈ AZFWNetworkRuleAzureDiagnostics ⋈ AzureDiagnosticsAZFWApplicationRule ⋈ AZFWNetworkRuleAZFWApplicationRule ⋈ AzureDiagnosticsAZFWNetworkRule ⋈ AzureDiagnosticsNetworkAccessTraffic ⋈ NetworkAccessTraffic(derived) ⋈ (derived)(derived) ⋈ _Im_WebSession
Idioms
arg_max (latest or earliest row per key) 7make_list 3make_set 3leftanti join (A without B) 2dcount 1mv-expand (unpack arrays) 1
Severity
Medium 9Low 6High 1
Schedules (analytic rules)
every 1d over 2d 5every 1h over 8d 2every 1d over 1d 1every 1h over 14d 1every 1h over 1h 1every 1h over 7d 1every 5m over 5m 1
Look-back windows in ago()
24h 41d 11h 1
Every rule tagged with it
- Fortinet - Beacon pattern detected
- Port opened for an Azure Resource
- Palo Alto - potential beaconing detected
- Palo Alto - potential beaconing detected
- Abnormal Port to Protocol
- Uncommon Port for Organization
- Uncommon Port to IP
- Contrast ADR - DLP SQL Injection Correlation
- Potential beaconing activity (ASIM DNS Solution)
- GSA - Detect Abnormal Deny Rate for Source to Destination IP
- GSA - Detect Protocol Changes for Destination Ports
- Potential beaconing activity (ASIM Network Session schema)
- Palo Alto - potential beaconing detected
- Palo Alto - potential beaconing detected
- Ubiquiti - Possible connection to cryptominning pool
- Ubiquiti - Connection to known malicious IP or C2
- Ubiquiti - Rare internal ports
- Ubiquiti - Top blocked internal services
- Ubiquiti - Top blocked sources
- Ubiquiti - Top firewall rules
- Beaconing traffic based on common user agents visiting limited number of domains (ASIM Web Session)
- Potential beaconing detected - Similar sent bytes (ASIM Web Session)
- Potential beaconing detected (ASIM Web Session)
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.