Validate the stolen key
The adversary confirms the key works and learns which identity and account it belongs to.
- Preconditions
- Key is active
- Key is not restricted by source IP or VPC conditions
- Required access
- Possession of the access key ID and secret.
- Potential evidence
- CloudTrail: sts GetCallerIdentity from an unfamiliar IP or user agent
- GuardDuty findings for credential use from unusual infrastructure
- Defensive controls
- Replace long-term keys with roles or federation
- Restrict key use with aws:SourceIp / aws:SourceVpce conditions where feasible
- Representative AWS API calls
- sts:GetCallerIdentity