OpenEDR ssh-shellhost Spawning Cmd or PowerShell With PTY on Windows

Alerts when OpenEDR ssh-shellhost.exe starts cmd.exe or PowerShell with --pty from under ITSMService.exe.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
@kostastsale (SigmaHQ), DRL 1.1
Published
2026-02-19
Updated
2026-07-31

ATT&CK techniques

Execution → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. Exfiltration

  12. Impact

What it detects

This rule matches Windows process creation where ITSMService.exe launches ssh-shellhost.exe with a command line containing '--pty', and the spawned command line contains 'cmd', 'powershell', or 'pwsh' (as well as 'bash'). The behavior is significant because PTY-backed remote shell capabilities can be used to execute arbitrary commands and enable follow-on actions like lateral movement or command-and-control. It relies on process creation telemetry that includes parent process image/path and the full command line of the spawned process.

Related detections9 linkedT1219 — drag to rearrange
Malicious Bad Apples Remote Apple Events Lateral Movement via osascript
Suspicious n8n Campaign RMM Installer Masquerading as OneDrive Document
Suspicious Velociraptor Agent Deployment via msiexec From Cloud Storage
Suspicious OpenSSH Reverse Tunnel Over HTTPS Port (Chaos Ransomware)
Malicious Scheduled Task Masquerading as GoogleUpdate Launching SSH Reverse Shell
Malicious NetSupport RAT Client32 Execution
Possible AnyDesk RMM Silent MSI Installation via Windows Installer (via process_creation)
Suspicious Outbound Connection To MoonPeak C2 High Ports
Suspicious Remote Management C2 Subdomain Resolution
OpenEDR ssh-shellhost Spawning Cmd or PowerShell With PTY on Windows
Pivot detection · T1219 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.