Detection rules › Kusto
Cloudflare - Unexpected client request
'Detects client requests to unusual client request.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access |
Rule body
id: f32142b1-4bcb-45c0-92e4-2ddc18768523
name: Cloudflare - Unexpected client request
description: |
'Detects client requests to unusual client request.'
severity: Medium
status: Available
requiredDataConnectors:
- connectorId: CloudflareDataConnector
dataTypes:
- Cloudflare
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
relevantTechniques:
- T1190
- T1133
query: |
Cloudflare
| where HttpRequestMethod =~ 'GET'
| where DstBytes != 0 or SrcBytes != 0
| where ClientRequestURI has_any ('/admin', '/admin.php', 'wp-admin', '.htaccess', '/etc/shadow', '/etc/passwd', '/etc/hosts', '/etc/ssh/')
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: SrcIpAddr
version: 1.0.2
kind: Scheduled
Stages and Predicates
Stage 1: source
Cloudflare
Stage 2: where
| where HttpRequestMethod =~ 'GET'
Stage 3: where
| where DstBytes != 0 or SrcBytes != 0
Stage 4: where
| where ClientRequestURI has_any ('/admin', '/admin.php', 'wp-admin', '.htaccess', '/etc/shadow', '/etc/passwd', '/etc/hosts', '/etc/ssh/')
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
ClientRequestURI | match |
| field:"ClientRequestURI" kind:match |
DstBytes | ne |
| field:"DstBytes" kind:ne value:"0" |
HttpRequestMethod | eq |
| field:"HttpRequestMethod" kind:eq value:"GET" |
SrcBytes | ne |
| field:"SrcBytes" kind:ne value:"0" |