Persistence (TA0003)(external, opens in a new tab or window)
Resource Development (TA0042)(external, opens in a new tab or window)
text code block:data_stream.dataset: "aws.cloudtrail" and event.provider: "iam.amazonaws.com" and event.action: ("AttachUserPolicy" or "AttachRolePolicy" or "AttachGroupPolicy") and event.outcome: "success" and aws.cloudtrail.flattened.request_parameters.policyArn: "arn:aws:iam::aws:policy/AmazonSESFullAccess"
Install detection rules in Elastic Security
Detect AWS SES Full Access Policy Attached to IAM Entity by Unusual User in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).