Elastic high stable kql
AWS SSM Command Document Created by Rare User
Identifies when an AWS Systems Manager (SSM) command document is created by a user or role who does not typically perform this action. Adversaries may create SSM command documents to execute commands on managed instances, potentially leading to unauthorized access, command and control, data exfiltration and more.
Detection Logic
data_stream.dataset: "aws.cloudtrail"
and event.provider: "ssm.amazonaws.com"
and event.action: "CreateDocument"
and event.outcome: "success"
and aws.cloudtrail.flattened.response_elements.documentDescription.documentType: "Command" False Positives
- ⚠ Legitimate users may create SSM command documents for legitimate purposes. Ensure that the document is authorized and the user is known before taking action.
Field Validations
Loading…
Comments (0)
Loading comments...