Query Details
Use Case: Monitoring security events to identify potential unauthorized privilege escalations or access attempts within the last 7 days.
Query:
WindowsEvent('Security', 7d)
| where Message contains 'primary token was assigned'The query is looking for security events in the Windows Event log that occurred within the last 7 days. It specifically filters for events that contain the message "primary token was assigned". The purpose is to monitor for any potential unauthorized privilege escalations or access attempts.

Ugur Koc
Released: February 4, 2024
Tables
Keywords
Operators