Ask HN: My GCP Account Has been Hacked What do I do?
1–6 of 6 posts
Re: Ask HN: My GCP Account Has been Hacked What do I do?
#2Start a Google Takeout immediately if you have any personal data, and if you use Gmail then update all accounts to a non-Google email address.
Google Takeout: https://www.lifewire.com/what-is-google-takeout-4173795
Re: Ask HN: My GCP Account Has been Hacked What do I do?
#3You just did exactly what you needed to do! Post to HN and hope the thread gets enough upvotes to reach the frontpage to find a human at Google.
Re: Ask HN: My GCP Account Has been Hacked What do I do?
#4I wouldn't worry. You just did exactly what you needed to do! Post to HN and hope the thread gets enough upvotes to reach the frontpage to find a human at Google.
Re: Ask HN: My GCP Account Has been Hacked What do I do?
#5In general, as first thing stop the bleeding:
1. Stop your services from running
2. Check your IAM policies for anything suspicious, new service accounts, new users. Clean up.
3. Rotate all your Service Accounts and Service Account’s keys! If possible re-provision your machines (with a new SA) and redeploy your apps.
4. Check your VPC’s firewall
Then you absolutely need to figure out how you’ve been hacked. If the breach is on the application layer you must figure out where and patch it. Check your application logs.
Then check your GCP activity logs, search for unexpected calls from service accounts - assume the attacker has compromised a service account and search for attempt to persist with calls to `setIam` or other sensitive api calls.
Sorry, I’m on mobile but feel free to reach out If you need (email in profile)
Re: Ask HN: My GCP Account Has been Hacked What do I do?
#6Also, I’ve seen a trend of terrible google support. Is this the norm?