A leaked long-lived access key is used
A long-lived access key is exposed — committed to code, left on a host, or leaked through an application — and the attacker uses it to make authenticated API calls as that identity.
Authenticate to the AWS account with a valid programmatic credential.
- Eliminate long-lived keys in favour of short-lived, federated credentials
- Secret scanning and automated key rotation
- Restrict key use by network origin where feasible
- API calls from a new source IP or unusual region
- First-seen API actions for the credential
- Access-key use outside its normal service context
- Scan code and infrastructure for exposed keys
- Review whether long-lived keys can be replaced with short-lived credentials
- Test detection of anomalous key use
The attacker holds a valid cloud identity and can query what it is allowed to.