localAdminAccountLogon
Description
This query looks for local admin account used to logon into the computer. This can help to detect malicious insiders that were able to add a local account to the local admin group offline.
Query · kql
DeviceLogonEvents | where IsLocalAdmin == 1 and AccountDomain == DeviceName