Skip to content
WETNav

eventNameSuspicious

attachrolepolicy: AttachRolePolicy

A managed policy was attached to a role.

Find it

aws cloudtrail lookup-events --region us-east-1 \
  --lookup-attributes AttributeKey=EventName,AttributeValue=AttachRolePolicy --max-results 50

ATT&CK

About eventName

The API call. These are the calls that show credential validation, persistence and defense impairment after an AWS key leaks.

Every AWS CloudTrail eventName value →

Questions

What does eventName attachrolepolicy mean?
AttachRolePolicy. A managed policy was attached to a role.
Is eventName attachrolepolicy a sign of an attack?
It deserves a look. It is associated with MITRE ATT&CK Additional Cloud Roles (T1098.003). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is eventName attachrolepolicy recorded?
In the eventName field of AWS CloudTrail.
How do I search for eventName attachrolepolicy?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.