AWS IAM Long-Term Access Key First Seen from Source IP
Identifies the first time, within the configured history window, that a long-term IAM access key ID (prefix AKIA) is used successfully from a given source.ip in AWS CloudTrail. Long-term access keys belong to IAM…
Description
Identifies the first time, within the configured history window, that a long-term IAM access key ID (prefix AKIA) is used successfully from a given source.ip in AWS CloudTrail. Long-term access keys belong to IAM users or the account root user. They are a common target after credential theft or leakage, including supply-chain and exposed-key scenarios. Temporary security credentials (prefix ASIA) and console sessions are excluded so the signal emphasizes programmatic access patterns.
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 2 ATT&CK techniques it maps to.
- Log source category
- event_index
Known benign triggers
- Legitimate users may travel, rotate through VPN egress IPs, or run automation from new build hosts, producing a first-seen IP for an existing access key. Baseline the principal, confirm with the key owner, and extend the history window or add exceptions for known automation networks if needed.
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 |
|---|---|
| kudelskisecurity.com/research/investigating-two-variants-of-the-trivy-supply-chain-compromise | 6 |
From the source
- At source
- Open at source
- Upstream identifier
- 9f8e3c5e-f72e-4e91-93f6-e98a4fae3e4f
- Tagged by the source as
- Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailData Source: AWS IAMDomain: CloudNoise: HighPerformance: NormalPlatform: AWSProfile: AggressiveResources: Investigation GuideRule Type: New TermsService: AWS IAMTactic: Credential AccessTactic: Initial AccessUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3