So You Think You Can Secure Your Cloud: Red Team...
summary
Step-by-step adversary playbook for GCP: how to grab cleartext gcloud credentials (~~ ~/.config/gcloud), find JSON and p12 service-account keys, and use gcp-hound to enumerate IAM, projects, GCS, KMS and create service-account keys for persistence; examples of adding project-wide SSH metadata, attaching startup scripts that execute on reboot, using gcloud compute reset-windows-password and gcloud compute ssh (no external IP required), running patch jobs that execute payloads (GCS versioning required), plus lightweight C2 via Google Sheets C2 or dnscat2 and KMS-backed decryption/exfiltration.
AI-written summary · about
chapters (23)
- 0:00Introduction and speaker intro
- 1:51Disclaimer and speaker background
- 3:39Red team engagement overview
- 5:45Initial foothold tactics
- 11:49Service account keys in GCP
- 12:09Persistence strategies
- 15:21Startup scripts for persistence
- 17:29GUI-based persistence methods
- 19:14Project-level persistence
- 20:58Privilege escalation with GCP Hound
- 23:51Command and control options
- 25:37Google Sheets C2 setup
- 27:44DNS C2 for restricted environments
- 30:09Default compute service accounts
- 32:13Windows host lateral movement
- 33:37Patch management for persistence
- 35:45SSH key lateral movement
- 37:54Firewall rules overview
- 38:15Gcloud compute SSH feature
- 39:39Data exfiltration and decryption
- 40:21GCP Hound for bucket exfil
- 41:45KMS decryption process
- 43:30Closing remarks and practical advice
