Created
April 11, 2018 14:55
-
-
Save p0w3rsh3ll/d93044b3c5d9b98ffc1e628280c8c131 to your computer and use it in GitHub Desktop.
This file contains 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
Get-WinEvent -FilterXml @' | |
<QueryList> | |
<Query Id="0" Path="Microsoft-Windows-AppLocker/MSI and Script"> | |
<Select Path="Microsoft-Windows-AppLocker/MSI and Script"> | |
*[System[(EventID=8007)]] | |
and | |
*[UserData[RuleAndFileData[(FileHash!="6B86B273FF34FCE19D6B804EFF5A3F5747ADA4EAA22F1D49C01E52DDB7875B4B")]]] | |
</Select> | |
</Query> | |
</QueryList> | |
'@ -MaxEvents 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment