Detection rules › Kusto
Cloudflare - Multiple error requests from single source
'Detects multiple failure requests from single source in short timeframe.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
id: ef877d68-755f-4cf1-ac1d-f336e395667d
name: Cloudflare - Multiple error requests from single source
description: |
'Detects multiple failure requests from single source in short timeframe.'
severity: Low
status: Available
requiredDataConnectors:
- connectorId: CloudflareDataConnector
dataTypes:
- Cloudflare
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
relevantTechniques:
- T1190
- T1133
query: |
let threshold = 100;
Cloudflare
| where HttpRequestMethod =~ 'GET'
| summarize err_cnt = count() by SrcIpAddr, bin(TimeGenerated, 5m)
| where err_cnt > threshold
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: SrcIpAddr
version: 1.0.1
kind: Scheduled
Stages and Predicates
Parameters
let threshold = 100;
Stage 1: source
Cloudflare
Stage 2: where
| where HttpRequestMethod =~ 'GET'
Stage 3: summarize
| summarize err_cnt = count() by SrcIpAddr, bin(TimeGenerated, 5m)
Stage 4: where
| where err_cnt > threshold
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
HttpRequestMethod | eq |
| field:"HttpRequestMethod" kind:eq value:"GET" |
err_cnt | gt |
| field:"err_cnt" kind:gt value:"100" |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
SrcIpAddr | summarize |
err_cnt | summarize |