Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

Process spawned inside an AWS SSM interactive session

Matches a process created with ssm-session-worker.exe as its parent — the AWS Systems Manager Agent's per-session worker, spawned only for an interactive Session Manager connection and not for Run Command document execution. AN0594 names three cloud-native console methods; the other two, Azure Serial Console and EC2 Instance Connect, leave no artifact in the single Windows process_creation logsource this brief offers, so only the SSM path is written. The shell or command that follows is the "command execution on the VM" half of the analytic; the login/auth half and the region/tag context in MITRE's knobs live in the cloud control plane, not the guest OS, so they are not attempted here. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0211, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

title: Process spawned inside an AWS SSM interactive sessionid: 3a5fbce5-c9c9-4539-a2d7-21c56e000e32status: experimentaldescription: |  Matches a process created with ssm-session-worker.exe as its parent — the  AWS Systems Manager Agent's per-session worker, spawned only for an  interactive Session Manager connection and not for Run Command document  execution. AN0594 names three cloud-native console methods; the other two,  Azure Serial Console and EC2 Instance Connect, leave no artifact in the  single Windows process_creation logsource this brief offers, so only the SSM  path is written. The shell or command that follows is the "command execution  on the VM" half of the analytic; the login/auth half and the region/tag  context in MITRE's knobs live in the cloud control plane, not the guest OS,  so they are not attempted here.  UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0211, not hand-written and not tested by its author. Any lab result is on this rule's own page.references:  - https://attack.mitre.org/techniques/T1021/008  - https://attack.mitre.org/detectionstrategies/DET0211author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.lateral-movement  - attack.t1021.008logsource:  category: process_creation  product: windowsdetection:  selection:    ParentImage|endswith: '\ssm-session-worker.exe'  condition: selectionfalsepositives:  - "Sanctioned administrative access. Many AWS estates standardise on SSM Session Manager specifically to avoid opening RDP or SSH, so this event is the normal shape of legitimate interactive administration on any account where that policy is in force."  - "Automated patching, backup or maintenance runbooks that open an SSM session, including port-forwarding sessions, to run scheduled scripts — appearing as this same parent/child pair at a predictable time and from a service identity."  - "Break-glass emergency access used precisely because it needs no open SSH or RDP port after a bastion outage or credential rotation, indistinguishable here from unauthorized use since this event carries no IAM principal."level: low

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where InitiatingProcessFolderPath endswith "\\ssm-session-worker.exe"

Splunk · SPL

Run this as a search.

index=* ParentImage="*\\ssm-session-worker.exe"

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE TO_LOWER(process.parent.executable) LIKE "*\\\\ssm-session-worker.exe"

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="ParentImage" type="pcre2">(?i)\\ssm-session-worker\.exe$</field>    <description>Process spawned inside an AWS SSM interactive session</description>    <mitre>      <id>T1021.008</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.