Sigma rule: Potential Amazon SSM Agent Hijacking
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e5118f5d564d, updated 2023-08-02T00:00:00.000Z.
Rule
- Title
- Potential Amazon SSM Agent Hijacking
- Status
- test
- Level
- medium
- Author
- Muhammad Faisal
- Date
- 2023-08-02
- File
- rules/windows/process_creation/proc_creation_win_ssm_agent_abuse.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects potential Amazon SSM agent hijack attempts as outlined in the Mitiga research report.
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\amazon-ssm-agent.exe'
CommandLine|contains|all:
- '-register '
- '-code '
- '-id '
- '-region '
condition: selectionFalse positives (as the rule lists them)
- Legitimate activity of system administrators
Tags
- attack.command-and-control
- attack.persistence
- attack.t1219.002
MITRE ATT&CK ids this rule names
References
- https://www.mitiga.io/blog/mitiga-security-advisory-abusing-the-ssm-agent-as-a-remote-access-trojan
- https://www.bleepingcomputer.com/news/security/amazons-aws-ssm-agent-can-be-used-as-post-exploitation-rat-malware/
- https://www.helpnetsecurity.com/2023/08/02/aws-instances-attackers-access/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_ssm_agent_abuse.yml
Sources and licences
SigmaHQ
"Potential Amazon SSM Agent Hijacking" by Muhammad Faisal (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_ssm_agent_abuse.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential Amazon SSM Agent Hijacking",
entity page, dataset version ref-e5118f5d564d, updated 2023-08-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d20ee2f4-822c-4827-9e15-41500b1fff10 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d20ee2f4-822c-4827-9e15-41500b1fff10, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.