azureblog.co.uk
← cd ~/events
// events/4672 · Sign-in

Event ID 4672Special privileges assigned to new logon

A new logon was given one or more sensitive privileges, such as SeDebugPrivilege, SeTcbPrivilege, SeBackupPrivilege or SeTakeOwnershipPrivilege. In practice it marks an administrative logon.

LogSecurity
SourceMicrosoft-Windows-Security-Auditing
AreaSign-in

What to check

Alert when the account is not SYSTEM, NETWORK SERVICE, LOCAL SERVICE or an expected admin. Search the Privileges field for rights that only a few accounts should hold.

Find it with PowerShell

Run on the machine that logs it, as an administrator.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4672 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

Security events land in the SecurityEvent table when you collect them with the Windows Security Events connector or a data collection rule.

kql5 lines
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4672
| project TimeGenerated, Computer, Account, Activity
| order by TimeGenerated desc

Related Sign-in events

Search all 123 event IDs →