Detection rules › Sigma

Suspicious Processes Spawned by WinRM

Severity
high
Author
Andreas Hunkeler (@Karneades), Markus Neis
Source
upstream

Detects suspicious processes including shells spawnd from WinRM host process

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1190 Exploit Public-Facing Application

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

or:
Image|endswith: '\bash.exe'
Image|endswith: '\bitsadmin.exe'
Image|endswith: '\certutil.exe'
Image|endswith: '\cmd.exe'
Image|endswith: '\powershell.exe'
Image|endswith: '\pwsh.exe'
Image|endswith: '\schtasks.exe'
Image|endswith: '\sh.exe'
Image|endswith: '\whoami.exe'
Image|endswith: '\wsl.exe'
ParentImage|endswith: '\wsmprovhost.exe'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Imageends_with
  • \bash.exe corpus 17 (sigma 17)
  • \bitsadmin.exe corpus 23 (sigma 23)
  • \certutil.exe corpus 34 (sigma 34)
  • \cmd.exe corpus 92 (sigma 92)
  • \powershell.exe corpus 143 (sigma 143)
  • \pwsh.exe corpus 140 (sigma 140)
  • \schtasks.exe corpus 45 (sigma 45)
  • \sh.exe corpus 13 (sigma 13)
  • \whoami.exe corpus 18 (sigma 18)
  • \wsl.exe corpus 8 (sigma 8)
ParentImageends_with
  • \wsmprovhost.exe corpus 2 (sigma 2)