Detection rules › Kusto
Cloudflare - WAF Allowed threat
'Detects WAF "Allowed" action on threat events.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
id: f53fe2a9-96b5-454c-827e-cf1764a67fb1
name: Cloudflare - WAF Allowed threat
description: |
'Detects WAF "Allowed" action on threat events.'
severity: High
status: Available
requiredDataConnectors:
- connectorId: CloudflareDataConnector
dataTypes:
- Cloudflare
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
relevantTechniques:
- T1190
- T1133
query: |
Cloudflare
| where isnotempty(WAFRuleID) or isnotempty(WAFRuleMessage)
| where WAFAction =~ 'Allow'
| extend CompleteUrl = strcat(HttpRequestHeaderHost,ClientRequestPath)
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: SrcIpAddr
- entityType: URL
fieldMappings:
- identifier: Url
columnName: CompleteUrl
version: 1.0.1
kind: Scheduled
Stages and Predicates
Stage 1: source
Cloudflare
Stage 2: where
| where isnotempty(WAFRuleID) or isnotempty(WAFRuleMessage)
Stage 3: where
| where WAFAction =~ 'Allow'
Stage 4: extend
| extend CompleteUrl = strcat(HttpRequestHeaderHost,ClientRequestPath)
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
WAFAction | eq |
| field:"WAFAction" kind:eq value:"Allow" |
WAFRuleID | is_not_null | field:"WAFRuleID" kind:is_not_null | |
WAFRuleMessage | is_not_null | field:"WAFRuleMessage" kind:is_not_null |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
CompleteUrl | extend |