Rules for T1046
How the 39 rules tagged with T1046 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
CommonSecurityLog 6AZFWApplicationRule 4AZFWNetworkRule 4AzureDiagnostics 4_Im_NetworkSession 3AZFWFlowTrace 2AZFWIdpsSignature 2CyfirmaASConfigurationAlerts_CL 2CyfirmaASDomainIPVulnerabilityAlerts_CL 2DnsEvents 2Tailscale_Network_CL 2fluentbit_CL 2AGWFirewallLogs 1AWSSecurityHubFindings 1Alerts_iocs 1
Filtered columns
AzureDiagnostics.OperationNameAzureFirewallApplicationRuleLog4AzureFirewallNetworkRuleLog4CommonSecurityLog.DeviceEventClassID73310017331011733102173310317331041AZFWApplicationRule.ActionDeny2AZFWFlowTrace.ActionDeny2AZFWIdpsSignature.ActionDeny2AZFWNetworkRule.ActionDeny2CommonSecurityLog.DeviceVendorPalo Alto Networks1Silverfort1CyfirmaASConfigurationAlerts_CL.severityCritical1High1CyfirmaASDomainIPVulnerabilityAlerts_CL.severityCritical1High1DnsEvents.Namein-addr.arpa2fluentbit_CL.ident_sTHREAT1TRAFFIC1AGWFirewallLogs.ActionBlocked1Matched1AGWFirewallLogs.MessageFound User-Agent associated with security scanner1AWSSecurityHubFindings.AwsSecurityFindingGeneratorIdsecurity-control/EC2.191AWSSecurityHubFindings.ComplianceSecurityControlIdEC2.191
Joins
CommonSecurityLog ⋈ CommonSecurityLogCyfirmaASDomainIPVulnerabilityAlerts_CL ⋈ CyfirmaASDomainIPVulnerabilityAlerts_CL(derived) ⋈ NetworkSummary_Protocol_CLAGWFirewallLogs ⋈ AGWFirewallLogsAZFWApplicationRule ⋈ AZFWApplicationRuleAZFWApplicationRule ⋈ AZFWFlowTraceAZFWApplicationRule ⋈ AZFWIdpsSignatureAZFWApplicationRule ⋈ AZFWNetworkRuleAZFWApplicationRule ⋈ AzureDiagnosticsAZFWFlowTrace ⋈ AZFWFlowTraceAZFWFlowTrace ⋈ AZFWIdpsSignatureAZFWFlowTrace ⋈ AZFWNetworkRuleAZFWFlowTrace ⋈ AzureDiagnosticsAZFWIdpsSignature ⋈ AZFWIdpsSignatureAZFWIdpsSignature ⋈ AZFWNetworkRule
Idioms
make_set 17dcount 12mv-expand (unpack arrays) 7arg_max (latest or earliest row per key) 5leftanti join (A without B) 3join with no kind= (innerunique: duplicate left keys collapse) 2make-series (time series, anomaly) 1
Severity
Medium 18High 11Low 5
Schedules (analytic rules)
every 1h over 1h 10every 5m over 5m 6every 15m over 15m 3every 1d over 1d 3every 1h over 7d 2every 30m over 30m 2every 10m over 10m 1every 12h over 12h 1every 1d over 14d 1every 1d over 8d 1every 1h over 1d 1every 1h over 25h 1every 1h over 6h 1every 6h over 6h 1
Look-back windows in ago()
1d 21h 214d 115m 13d 14d 15m 16h 17d 1
Every rule tagged with it
- AWS Security Hub - Detect EC2 Security groups allowing unrestricted high-risk ports
- Powershell Empire Cmdlets Executed in Command Line
- CloudNGFW By Palo Alto Networks - possible internal to external port scanning
- CloudNGFW By Palo Alto Networks - Threat signatures from Unusual IP addresses
- Abnormal Deny Rate for Source IP
- Port Scan
- Port Sweep
- Several deny actions registered
- App Gateway WAF - Scanner Detection
- Cisco ASA - average attack detection rate increase
- Cisco ASA - threat detection message fired
- Cisco Cloud Security - Hack Tool User-Agent Detected
- Contrast ADR - DLP SQL Injection Correlation
- Cyble Vision Alerts IOC'S
- Cyble Vision Alerts Vulnerability
- CYFIRMA - Attack Surface - Configuration High Rule
- CYFIRMA - Attack Surface - Configuration Medium Rule
- CYFIRMA - Attack Surface - Domain/IP Vulnerability Exposure High Rule
- CYFIRMA - Attack Surface - Domain/IP Vulnerability Exposure Medium Rule
- FortiNDR Cloud - Security Event Detected
- GSA - Detect Source IP Scanning Multiple Open Ports
- GCP Security Command Center - Detect Firewall rules allowing unrestricted high-risk ports
- One HoneyLabs indicator contacting several internal hosts
- Cross-Cloud Suspicious user activity observed in GCP Envourment
- Netskope - Suspicious Network Context (Unusual IPs/Geo/Ports)
- Anomaly found in Network Session Traffic (ASIM Network Session schema)
- Network Port Sweep from External Network (ASIM Network Session schema)
- Port scan detected (ASIM Network Session schema)
- Palo Alto - possible internal to external port scanning
- Palo Alto Threat signatures from Unusual IP addresses
- Silverfort - Lateral movement target discovery
- Port Scan Detected
- Squid malformed requests
- Tailscale Premium: Mass fan-out from single node
- Tailscale Premium: Cross-tag flow matrix
- Vectra RUX - Create Incident for Escalated Host Detection or Unresolved Priority Host
- Whisper - Attack Surface Discovery
- Rare client observed with high reverse DNS lookup count
- High reverse DNS count by host
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.