Cloud Security — Track
Provider-specific and provider-agnostic security for modern cloud-native systems.
Set up the lab environment below once, then work the lessons — each one is hands-on-first.
Lab Environment
Set up once, then use it for every chapter in the Cloud Security part. Everything runs locally and isolated — you never touch a system you don't own.
Cloud, locally: LocalStack emulates AWS APIs so you can create, misconfigure, attack and fix cloud resources with zero cost and zero blast radius.
What you get
| Target | How to reach it |
|---|---|
LocalStack | http://localhost:4566 — emulated AWS (IAM, S3, EC2 metadata, Lambda) |
Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):
# cloud-lab/docker-compose.yml — Cloud Security part environment
services:
localstack:
image: localstack/localstack
ports: ["4566:4566"]
environment:
- SERVICES=iam,s3,ec2,lambda,sts,logs
networks: [labnet]
networks:
labnet:
driver: bridgeAttacker box. Drive it with the AWS CLI pointed at LocalStack: aws --endpoint-url http://localhost:4566 s3 ls. Attack tooling: pacu, prowler, scoutsuite, cloudsplaining all work against the emulated endpoint or a real free-tier account you own.
Verify it works
curl http://localhost:4566/_localstack/healthreturns running services.aws --endpoint-url http://localhost:4566 iam list-userssucceeds.
Notes
- For behaviours LocalStack can't emulate (GuardDuty, real IMDS), use a free-tier account you own and delete resources after.
Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.
Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.
Lessons
| # | Lesson | Difficulty | Hands-on | What you'll do |
|---|---|---|---|---|
| 1 | Cloud Security Fundamentals | 🟢 Beginner | ~48m | Shared responsibility, cloud-native threat models, the control plane and blast radius. |
| 2 | AWS Security | 🟡 Intermediate | ~96m | IAM, organisations, VPC, GuardDuty, S3 exposure and common AWS attack paths. |
| 3 | Azure Security | 🟡 Intermediate | ~84m | Entra ID, RBAC, management groups, Defender and Azure-specific privilege escalation. |
| 4 | GCP Security | 🟡 Intermediate | ~72m | IAM, org policy, service accounts, VPC-SC and GCP privilege-escalation chains. |
| 5 | Cloud Identity and Access Management | 🟠 Advanced | ~72m | Policy evaluation, trust relationships, privilege escalation and least-privilege design. |
| 6 | Cloud Networking Security | 🟡 Intermediate | ~48m | VPCs, security groups, private endpoints, egress control and network segmentation. |
| 7 | Cloud Container and Registry Security | 🟠 Advanced | ~60m | Managed Kubernetes, registry trust, IRSA/workload identity and runtime protection. |
| 8 | Managed Kubernetes Security | 🟠 Advanced | ~72m | EKS/AKS/GKE hardening, node identity, admission control and multi-tenant isolation. |
| 9 | Infrastructure as Code Security | 🟡 Intermediate | ~60m | Terraform/CloudFormation scanning, drift, module trust and policy as code. |
| 10 | Cloud Security Posture Management | 🟡 Intermediate | ~48m | Misconfiguration detection, benchmarks, guardrails and remediation automation. |
| 11 | Cloud Detection and Monitoring | 🟠 Advanced | ~72m | CloudTrail/Activity logs, threat detection services and cloud-native SIEM. |
| 12 | Cloud Incident Response | 🟠 Advanced | ~72m | Cloud evidence acquisition, containment via API, credential invalidation and forensics. |
| 13 | Serverless and PaaS Security | 🟡 Intermediate | ~48m | Function isolation, event-source trust, secrets and cold-path telemetry gaps. |
| 14 | Multi-Cloud and Hybrid Security | 🟠 Advanced | ~48m | Identity federation, consistent policy, cross-cloud blast radius and tooling. |
14 lessons.