Privileged Accounts Locked Out
Description
'Identifies privileged accounts that have been locked out. Verify these lockout are due to legitimate user activity and not due to threat actors attempting to access the accounts. Ref : https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-privileged-accounts#things-to-monitor'
Query · kql
let admins = (IdentityInfo | where AssignedRoles contains "Admin" or GroupMembership has "Admin" | summarize by tolower(AccountUPN)); SigninLogs | where ResultType == 50053 | extend AccountUPN = tolower(UserPrincipalName) | extend AltUPN = tolower(AlternateSignInName) | where AccountUPN in (admins) or AltUPN in (admins) | extend AccountCustomEntity = AccountUPN, IPCustomEntity = IPAddress