Skip to content

Instantly share code, notes, and snippets.

@MHaggis
Created February 14, 2017 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MHaggis/4d7e4bb1fa75d304316d1d0c4ad6e176 to your computer and use it in GitHub Desktop.
Save MHaggis/4d7e4bb1fa75d304316d1d0c4ad6e176 to your computer and use it in GitHub Desktop.
<Sysmon schemaversion="3.20">
<HashAlgorithms>md5,imphash</HashAlgorithms>
<EventFiltering>
<ProcessCreate onmatch="include">
<Image condition="contains">cmd.exe</Image>
<Image condition="contains">powershell.exe</Image>
<Image condition="contains">wmic.exe</Image>
<Image condition="contains">cscirpt.exe</Image>
<Image condition="contains">wscript.exe</Image>
<Image condition="contains">net.exe</Image>
<Image condition="contains">psexec.exe</Image>
<ParentImage condition="contains">cmd.exe</ParentImage>
<ParentImage condition="contains">powershell.exe</ParentImage>
<ParentImage condition="contains">wmic.exe</ParentImage>
<ParentImage condition="contains">cscirpt.exe</ParentImage>
<ParentImage condition="contains">wscript.exe</ParentImage>
<ParentImage condition="contains">net.exe</ParentImage>
<ParentImage condition="contains">psexec.exe</ParentImage>
<ParentImage condition="contains">explorer.exe</ParentImage>
</ProcessCreate>
</EventFiltering>
</Sysmon>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment