November 9, 2026
Stolen EC2 Credentials, Replayed Off-Box: Why I Locked Instance Credentials to the VPC — and Why AWS Should Too
An attacker stole an EC2 instance role's temporary IAM credentials and replayed them from their own laptop. IMDSv2 did not stop the replay — one IAM condition key, aws:Ec2InstanceSourceVpc, did. Here is the incident, why IMDSv2 is not enough, the trade-offs of VPC-binding credentials, and the question I keep asking AWS: why is this opt-in instead of the default?
READ ARTICLE