Suspicious Non PowerShell WSMAN COM Provider
Description
Detects suspicious use of the WSMAN provider without PowerShell.exe as the host application.
Query · sigma
selection:
Data|contains: ProviderName=WSMan
filter_main_ps:
Data|contains:
- HostApplication=powershell
- HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell
- HostApplication=C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell
- HostApplication=C:/Windows/System32/WindowsPowerShell/v1.0/powershell
- HostApplication=C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell
filter_main_host_application_null:
Data|re: HostId=[a-zA-Z0-9-]{36}\s+EngineVersion=
filter_optional_hexnode:
Data|contains: HostApplication=C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
Known false positives
- Unknown