AWS IAM User Created Access Keys For Another User
An adversary with access to a set of compromised credentials may attempt to persist or escalate privileges by creating a new set of credentials for an existing user. This rule looks for use of the IAM…
Description
An adversary with access to a set of compromised credentials may attempt to persist or escalate privileges by creating a new set of credentials for an existing user. This rule looks for use of the IAM `CreateAccessKey` API operation to create new programmatic access keys for another IAM user.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
Known benign triggers
- While this can be normal behavior, it should be investigated to ensure validity. Verify whether the user identity should be using the IAM `CreateAccessKey` for the targeted user.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| cloud.hacktricks.xyz/pentesting-cloud/aws-security/aws-persistence/aws-iam-persistence | Only this detection cites it |
| docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html | 2 |
| hackingthe.cloud/aws/exploitation/iam_privilege_escalation/#iamcreateaccesskey | 7 |
| permiso.io/blog/lucr-3-scattered-spider-getting-saas-y-in-the-cloud | 7 |
From the source
- At source
- Open at source
- Upstream identifier
- 696015ef-718e-40ff-ac4a-cc2ba88dbeeb
- Tagged by the source as
- Data Source: AWS CloudTrailDomain: CloudNoise: LowPerformance: NormalPlatform: AWSResources: Investigation GuideRule Type: ES|QLService: AWS IAMTactic: PersistenceTactic: Privilege Escalation
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3