Detectionmediumtest
Potential Linux Amazon SSM Agent Hijacking
Detects potential Amazon SSM agent hijack attempts as outlined in the Mitiga research report.
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|endswith: '/amazon-ssm-agent'
CommandLine|contains|all:
- '-register '
- '-code '
- '-id '
- '-region '
condition: selectionFalse Positives
Legitimate activity of system administrators
MITRE ATT&CK
Sub-techniques
Rule Metadata
Rule ID
f9b3edc5-3322-4fc7-8aa3-245d646cc4b7
Status
test
Level
medium
Type
Detection
Created
2023-08-03
Author
Path
rules/linux/process_creation/proc_creation_lnx_ssm_agent_abuse.yml
Raw Tags
attack.command-and-controlattack.persistenceattack.t1219.002