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 descriptionShow less
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
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.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo 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.