Practice library / Cloud security basics
Workbook · Medium · 4 hoursFree account
Cloud Security & AWS
AWS IAM, S3 misconfigs, IMDS exploitation, IAM privesc, and cloud hardening.
On this page 10 sections
- ·Chapter 1 — Cloud Security Fundamentals
- ·Chapter 2 — AWS IAM Deep Dive
- Locked: Chapter 3 — S3 Bucket Security
- Locked: Chapter 4 — EC2 & Instance Metadata
- Locked: Chapter 5 — AWS CLI & Enumeration
- Locked: Chapter 6 — IAM Privilege Escalation
- Locked: Chapter 7 — Lambda & Serverless Security
- Locked: Chapter 8 — Logging & Monitoring
- Locked: Chapter 9 — Cloud Attack Scenarios
- Locked: Chapter 10 — Hardening AWS Environments
Cloud infrastructure shifts the attack surface from physical servers to identity and configuration. AWS exposes hundreds of services, but most incidents share a small set of root causes: an over-permissive IAM role, a public S3 bucket, a leaked access key, or a web application that reaches the instance metadata endpoint. This workbook covers the shared responsibility model, IAM policy structure, S3 access controls, the IMDS service, enumeration from the command line, privilege escalation paths, Lambda secrets, and the detection stack of CloudTrail and GuardDuty. The tools fit together because each attack step leaves a trace somewhere in that stack, and each defence depends on the one before it. Pair this workbook with the hands-on Cloud AWS Enumeration lab to practise the commands on a real account.
Chapter 1 — Cloud Security Fundamentals
Cloud security follows the Shared Responsibility Model: AWS secures the infrastructure, and the customer secures everything built on it. Most cloud breaches are not AWS vulnerabilities. They result from misconfigured IAM policies, exposed S3 buckets, and leaked API keys.
Chapter 2 — AWS IAM Deep Dive
IAM is the most critical AWS security control, because IAM authenticates every API call. Key concepts are users, roles, policies (JSON documents that define permissions), and the principle of least privilege.
# Check current identity
aws sts get-caller-identity
# List attached policies
aws iam list-attached-user-policies --user-name TARGET_USER
# Read a policy document
aws iam get-policy-version --policy-arn arn:aws:iam::ACCOUNT:policy/NAME --version-id v1Sign in to continue
8 more sections are for signed-in members. It is free: sign in with Google.
Related
This workbook is extra practice for the course Cloud security basics. Do the lessons first.Open the course