TAM-H-DRV-010 · Human · Drive: Why it happens · New in TAM
Keeping a Spare Key
An employee quietly keeps extra access as insurance against layoffs, a reorg, or losing a dispute with their manager.
Some people do not plan harm at first. They plan options. When layoffs are rumored or a project is taken away, an engineer may create a personal IAM user, keep a long-lived token, or add their own account to a break-glass group "just in case".
The access often sits unused for months. That is what makes it dangerous: it survives offboarding, it is not tied to any ticket, and it gives a resentful or desperate person a ready path back in after they leave.
Investigators should look at timing. Credential creation that clusters around reorg announcements, performance reviews, or a resignation is a much stronger signal than the same action on an ordinary week.
What it looks like
- A platform engineer creates an IAM user named after a deprecated service the week a reduction in force is announced.
- A developer generates a GitHub personal access token with no expiry after being moved off the team that owns a repo.
- An admin adds a personal email address as a recovery contact on a shared vendor account shortly before resigning.
Detections (3)
- DET-088New IAM Users and Static KeysAlert on IAM user, access key and console password creation outside the provisioning pipeline.Confidence HighAWSIdentity
- DET-124Role Assumption From Unknown AccountsAlert on AssumeRole calls into your accounts from AWS accounts outside the organization and partner list.Confidence HighAWS
- DET-125Role Trust Policy ChangesFlag edits to role trust policies that add principals outside the organization.Confidence HighAWSAzureGCP
Controls (2)
- CTL-001Access Hoarding Review at Key MomentsReview new credentials and privilege changes around reorgs, layoffs, poor reviews and resignations.ProcessEffort LowEffect Medium
- CTL-074No IAM Users, SSO OnlyDeny creation of IAM users, access keys and console passwords outside an approved break-glass process.TechnicalEffort MediumEffect High