How you might know
- A billing alert you did not expect.
- Usage in regions or services you never use.
- A provider warns about unusual activity.
Do this now
Look at the usage breakdown
Open the billing or usage page and sort by service and by day. Note which service, which key or project, and when it started.
Cancel the key or access that is being used
If you can see which key is responsible, cancel it. If not, replace all the keys for that service.
Stop the running resources
On cloud providers, stop or delete servers and jobs you did not start. Take a note or screenshot first so you can show support what you saw.
Hunt for backdoors and hidden resources
Attackers who borrow a key often create their own: new users, new keys, servers and scheduled jobs. Check every region, including ones you never use. Remove anything you did not create, and replace those keys too.
Turn on a budget and alert
Set a spending limit and an email alert so this cannot run unnoticed again.
Ask the provider for help
Contact support and explain that you believe your credentials were misused. Providers often review unauthorized charges.
Do not do this
- Do not just pay and hope it stops.
- Do not delete accounts or projects before saving the evidence.
- Do not ignore small charges. Attackers often test with small usage first.
Who to tell
- Provider support
- Whoever owns the account and budget
- Your finance contact
What to save before you clean up
- Screenshots of the billing breakdown
- Access and audit logs
- A list of resources that were running
In the next 24 hours
- Rotate every key for that provider.
- Turn on multi-factor authentication for all admin accounts.
- Review which tools hold keys and remove unused ones.
Official help for the platforms involved
Links open each provider's own documentation, so you do not have to search for it.
What to write in the post mortem afterwards
- What alert, if any, fired and when
- How the access was obtained
- What limit would have capped the cost
Finished this one?
Add it to What I learned and earn 30 Trust. You can open your list from the badge at the bottom of the page.