Last active
March 11, 2025 16:11
-
-
Save DaveRandom/288dc9e7003aad03a82c08ed843a26e1 to your computer and use it in GitHub Desktop.
Windows log filter for finding interactive logon events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<QueryList> | |
<Query Id="0" Path="Security"> | |
<Select Path="Security"> | |
Event[ | |
System[EventID=4624] | |
] | |
[ | |
EventData[ | |
Data[@Name='LogonType'] | |
and (Data=2 or Data=7 or Data=10 or Data=11) | |
] | |
] | |
</Select> | |
</Query> | |
</QueryList> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment