Sigma rule: Potential Lateral Movement via Windows Remote Shell

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-dcaf9a117fd1, updated 2025-10-22T00:00:00.000Z.

Rule

Title
Potential Lateral Movement via Windows Remote Shell
Status
experimental
Level
medium
Author
Liran Ravich
Date
2025-10-22
File
rules/windows/process_creation/proc_creation_win_winrshost_command_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a child process spawned by 'winrshost.exe', which suggests remote command execution through Windows Remote Shell (WinRs) and may indicate potential lateral movement activity.

Log source

product
windows
category
process_creation

Detection

selection:
    # Note: Example of command to simulate (winrm needs to be enabled): "c:\Windows\System32\winrs.exe" powershell
    ParentImage|endswith: '\winrshost.exe'
filter_main_conhost:
    Image: 'C:\Windows\System32\conhost.exe'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Legitimate use of WinRM within the organization

Tags

  • attack.lateral-movement
  • attack.t1021.006

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_winrshost_command_execution.yml

Sources and licences

  • SigmaHQ

    "Potential Lateral Movement via Windows Remote Shell" by Liran Ravich (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_winrshost_command_execution.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Lateral Movement via Windows Remote Shell",
entity page, dataset version ref-dcaf9a117fd1, updated 2025-10-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/79df3f68-dccb-48e9-9171-b75cbc37c51d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 79df3f68-dccb-48e9-9171-b75cbc37c51d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.