{"id":"7f3a9c2d-4e8b-4a7f-9d3e-5c6f8a9b2e1d","title":"OpenEDR Spawning Command Shell","description":"Detects the OpenEDR ssh-shellhost.exe spawning a command shell (cmd.exe) or PowerShell with PTY (pseudo-terminal) capabilities.\nThis may indicate remote command execution through OpenEDR's remote management features, which could be legitimate administrative activity or potential abuse of the remote access tool.\nThreat actors may leverage OpenEDR's remote shell capabilities to execute commands on compromised systems, facilitating lateral movement or other command-and-control operations.\n","author":"@kostastsale","status":"experimental","level":"medium","date":"2026-02-19","modified":"","tags":["attack.execution","attack.t1059.003","attack.lateral-movement","attack.t1021.004","attack.command-and-control","attack.t1219"],"technique_ids":["T1021.004","T1059.003","T1219"],"logsource":{"product":"windows","category":"process_creation"},"falsepositives":["Legitimate use of OpenEDR for remote command execution"],"references":["https://kostas-ts.medium.com/detecting-abuse-of-openedrs-permissive-edr-trial-a-security-researcher-s-perspective-fc55bf53972c"],"source_path":"rules/windows/process_creation/proc_creation_win_comodo_ssh_shellhost_cmd_spawn.yml","source_sha256":"81c36420d5f42cf2f166c694b63eaf9fce1b2555008ee9e7ddd78334ccde5624","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_comodo_ssh_shellhost_cmd_spawn.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: OpenEDR Spawning Command Shell\nid: 7f3a9c2d-4e8b-4a7f-9d3e-5c6f8a9b2e1d\nstatus: experimental\ndescription: |\n    Detects the OpenEDR ssh-shellhost.exe spawning a command shell (cmd.exe) or PowerShell with PTY (pseudo-terminal) capabilities.\n    This may indicate remote command execution through OpenEDR's remote management features, which could be legitimate administrative activity or potential abuse of the remote access tool.\n    Threat actors may leverage OpenEDR's remote shell capabilities to execute commands on compromised systems, facilitating lateral movement or other command-and-control operations.\nauthor: '@kostastsale'\ndate: 2026-02-19\nreferences:\n    - https://kostas-ts.medium.com/detecting-abuse-of-openedrs-permissive-edr-trial-a-security-researcher-s-perspective-fc55bf53972c\ntags:\n    - attack.execution\n    - attack.t1059.003\n    - attack.lateral-movement\n    - attack.t1021.004\n    - attack.command-and-control\n    - attack.t1219\nlogsource:\n    product: windows\n    category: process_creation\ndetection:\n    selection_img:\n        ParentImage|endswith: '\\ITSMService.exe'\n        Image|endswith: '\\ssh-shellhost.exe'\n        CommandLine|contains: '--pty'\n    selection_cli_shell:\n        CommandLine|contains:\n            - 'bash'\n            - 'cmd'\n            - 'powershell'\n            - 'pwsh'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate use of OpenEDR for remote command execution\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.004","id":"T1021.004","name":"SSH","page":"techniques/enterprise/T1021.004/"},{"key":"enterprise/T1059.003","id":"T1059.003","name":"Windows Command Shell","page":"techniques/enterprise/T1059.003/"},{"key":"enterprise/T1219","id":"T1219","name":"Remote Access Tools","page":"techniques/enterprise/T1219/"}],"data_path":"data/detection-rules/7f3a9c2d-4e8b-4a7f-9d3e-5c6f8a9b2e1d.json","kind":"sigma"}
