Microsoft Sentinel medium experimental kql
Cloudflare - XSS probing pattern in request
'Detects XSS probing patterns.'
Detection Logic
let s_threshold = 3;
Cloudflare
| where HttpRequestMethod in~ ('POST', 'PUT')
| extend susp_ch = countof(ClientRequestURI, '%00')
| where ClientRequestURI matches regex @'(alert\()
| (alert\%28)
| (String\.fromCharCode\()
| (expression\(alert)' or susp_ch > s_threshold
| extend CompleteUrl = strcat(HttpRequestHeaderHost,ClientRequestPath) Field Validations
Loading…
Comments (0)
Loading comments...