Bert-Jan Pals unknown stable kql

AzureActivity Compromised Account

This query list all the actions (ACTION, DELETE, WRITE, etc) by a compromised account.

View Source

Detection Logic

let CompromisedAccountUPN = "test@test.com";
let SearchWindow = 48h; //Customizable h = hours, d = days
AzureActivity
| where Caller =~ CompromisedAccountUPN
| where TimeGenerated > ago(SearchWindow)
| summarize TotalEvents = count() by OperationNameValue
| sort by TotalEvents desc

Field Validations

Loading…

Comments (0)

Loading comments...