Detectionhightest

Suspicious Processes Spawned by WinRM

Detects suspicious processes including shells spawnd from WinRM host process

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Andreas Hunkeler, Markus NeisCreated Thu May 20Updated Thu Jul 145cc2cda8-f261-4d88-a2de-e9e193c86716windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ParentImage|endswith: '\wsmprovhost.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\sh.exe'
            - '\bash.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\wsl.exe'
            - '\schtasks.exe'
            - '\certutil.exe'
            - '\whoami.exe'
            - '\bitsadmin.exe'
    condition: selection
False Positives

Legitimate WinRM usage

References
1
Resolving title…
Internal Research
Rule Metadata
Rule ID
5cc2cda8-f261-4d88-a2de-e9e193c86716
Status
test
Level
high
Type
Detection
Created
Thu May 20
Modified
Thu Jul 14
Path
rules/windows/process_creation/proc_creation_win_winrm_susp_child_process.yml
Raw Tags
attack.t1190attack.initial-accessattack.persistenceattack.privilege-escalation
View on GitHub