Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: image_load
detection:
selection:
Description: 'System.Management.Automation'
ImageLoaded|contains: 'System.Management.Automation'
filter_generic:
- Image|endswith:
- '\powershell.exe'
- '\mscorsvw.exe'
- Image|startswith:
- 'C:\Program Files (x86)\Microsoft Visual Studio\'
- 'C:\Program Files\Microsoft Visual Studio\'
- 'C:\Windows\System32\'
- 'C:\Program Files\Citrix\ConfigSync\'
- Image: 'C:\Program Files\PowerShell\7\pwsh.exe'
filter_aurora:
# This filter is to avoid a race condition FP with this specific ETW provider in aurora
Image: null
condition: selection and not 1 of filter_*
falsepositives:
- Unknown