AWS STS GetCallerIdentity Bulk Account Enumeration
Identifies three or more distinct AWS principals calling STS "GetCallerIdentity" from the same source IP and autonomous system within a 10-minute window. "GetCallerIdentity" returns the account and identity behind a…
Description
Identifies three or more distinct AWS principals calling STS "GetCallerIdentity" from the same source IP and autonomous system within a 10-minute window. "GetCallerIdentity" returns the account and identity behind a credential and requires no permissions, so a burst of different non-role identities from one external address is a common credential-validation and account-enumeration step. Assumed roles, Vault OIDC users, and calls from major cloud and carrier networks are excluded.
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
- ESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
Known benign triggers
- A corporate NAT, jump host, or CI runner that is not in the excluded ASN list can send `GetCallerIdentity` for several IAM users from one IP. Confirm the source IP, user agent, and user list against approved automation before treating the activity as malicious.
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 |
|---|---|
| detectioninthe.cloud/ttps/discovery/sts_get_caller_identity | 3 |
| docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html | 4from 2 sources |
| www.secureworks.com/research/detecting-the-use-of-stolen-aws-lambda-credentials | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- dad4a0c7-f529-4d3d-b4f0-a2c97b8f7dfa
- Tagged by the source as
- Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailDomain: CloudPlatform: AWSResources: Investigation GuideRule Type: ES|QLService: AWS STSTactic: DiscoveryUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Nov 3, 2026
- Version
- 1