Files
olafhartong-sysmon-modular/7_image_load/exclude_dotnet_load_powershell.xml
2023-04-13 13:44:17 -04:00

15 lines
687 B
XML

<Sysmon schemaversion="4.30">
<EventFiltering>
<RuleGroup name="" groupRelation="or">
<ImageLoad onmatch="exclude">
<Rule groupRelation="and">
<!-- COMMENT: Removes unnecessary ImageLoaded events. These 4 DLLs flag as Process Injection normally -->
<!-- COMMENT: I consider this to be noise - there are many other notifications PowerShell has been started. -->
<Image condition="is">powershell.exe</Image>
<OriginalFileName condition="excludes all">mscoree.dll;mscoreei.dll;mscoreeis.dll;clr.dll;clrjit.dll</OriginalFileName>
</Rule>
</ImageLoad>
</RuleGroup>
</EventFiltering>
</Sysmon>