Microsoft Sentinel medium experimental kql

API - Kiterunner detection

'42Crunch API protection against Kiterunner enumeration'

View Source

Detection Logic

let discoveryRecords = FortyTwoCrunchAPIProtection
| where TimeGenerated >= ago(5m)
| project-away NonBlockingMode, SourcePort, DestinationPort, Query, ApiId, RequestHeader, ResponseHeader, Errors, EventType, Uuid
| where Status == 404 and ErrorMessage startswith "path not defined in OAS";
let discoveryCnt = (toscalar(discoveryRecords
| count));
let recCount = iff((discoveryCnt > 500), 1, 0);
discoveryRecords
| top recCount by Timestamp desc

Field Validations

Loading…

Comments (0)

Loading comments...