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
Suspicious AnyDesk Unattended Access Configuration via Command Line (via process_creation)
Suspicious NetSupport client32 Persistence via Run Key from ProgramData
Suspicious Doenerium Host Fingerprinting via cmd.exe
Suspicious Atera Agent Silent Onboarding via Process Creation
Suspicious Remote Access Tool User Agent in Outbound Traffic via Proxy
Suspicious ScreenConnect Remote Access Binary Running Under a Renamed Executable
Malicious Silent AteraAgent RMM Installation via IntegratorLogin
Possible Remote Monitoring and Management Tool Abuse for Remote Access
Suspicious Scheduled Task Creation Referencing dllFake Batch Scripts (via process_creation)
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.