heroui logo

AWS Identity Verification Followed by IAM Discovery

Splunk Security Content

View Source
Summary
This detection analyzes AWS CloudTrail data to identify a potential credential compromise chain where a successful identity verification via GetCallerIdentity is followed by IAM discovery actions (ListAccessKeys, ListAttachedUserPolicies, ListRoles, or ListUsers) performed by the same caller ARN within five minutes. It returns one finding per matching identity-check session and summarizes the subsequent IAM discovery, including the number of discovery calls and the time window between the identity check and the last discovery. The correlation is based on the caller ARN and does not require the same access-key ID or source IP, allowing cross-credential or cross-session linkage if the ARN remains the same. The rule uses event sequencing to ensure the identity verification precedes discovery within the 0–300 second window and excludes same-timestamp discoveries to preserve ordering. It surfaces a finding titled with the authenticated user and the count of IAM discovery calls, and provides details such as first/last discovery times, the APIs invoked, and their sources. This pattern can indicate credential compromise followed by enumeration, though legitimate administrative or tooling activity may also trigger matches. It aligns with MITRE ATT&CK technique T1087.004 (Account Discovery) and supports investigators with drill-downs to inspect the discovered IAM APIs and their origins. Potential false positives include inventory tools, deployment pipelines, and approved admin actions; analysts should review the caller ARN, source addresses, and expected IAM discovery behavior before escalation. The rule is implemented as a split of identity-check events and subsequent discovery within a 5-minute window to minimize noise while capturing meaningful sequences of authentication followed by permission enumeration.
Categories
  • Cloud
  • AWS
Data Sources
  • Cloud Service
ATT&CK Techniques
  • T1087
  • T1087.004
Created: 2026-12-02