1
0
Форкнуть 0
Microsoft-365-Defender-Hunt.../Lateral Movement/Non-local logons with -500 ...

7 строки
414 B
Plaintext

////////////////////////////////////////////////////////////////////
// Non-local logons with the built-in administrator (-500) account
////////////////////////////////////////////////////////////////////
DeviceLogonEvents
| where AccountSid endswith '-500' and parse_json(AdditionalFields).IsLocalLogon != true
| join kind=leftanti IdentityLogonEvents on AccountSid // Remove the domain's built-in admin acccount