pale-knight/redteam-skill / skills/cloud-recon
cloud-recon
FlaggedCloud control-plane reconnaissance for AWS, Azure/Entra, GCP, and Alibaba Cloud: identity, IAM/RAM, trust, resources, metadata, and managed-Kubernetes cloud-side boundary. Recon only — no policy changes, no privilege escalation. Operator may select /cloud-attack or /k8s.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.1 KB |
| references/alibaba-enum-commands.md | markdown | 4.4 KB |
| references/aws-enum-commands.md | markdown | 3.9 KB |
| references/aws-iam-graph.md | markdown | 1.9 KB |
| references/azure-enum-commands.md | markdown | 1.9 KB |
| references/cloud-k8s-identity.md | markdown | 1.7 KB |
| references/gcp-enum-commands.md | markdown | 1.9 KB |
| references/vulnerability-intelligence.md | markdown | 534 B |
references/azure-enum-commands.md
View on GitHub# Azure / Entra ID 枚举速查
## 1. Tenant
```bash
curl -s https://login.microsoftonline.com/<DOMAIN>/.well-known/openid-configuration | jq .issuer
az account show
az account list --all -o table
```
Azure CLI 现代用户认证可能强制 MFA;自动化优先使用已有 token、Service Principal、Managed Identity 或 workload identity,不把 ROPC/用户名密码作为默认。
## 2. Entra
```bash
roadrecon auth
roadrecon gather
roadrecon gui
```
AzureHound:
```bash
./azurehound list --tenant <TENANT_ID> -o azure.json
```
重点:
```text
Global Administrator / Privileged Role Administrator
Application Administrator / Cloud Application Administrator
App owners
Service principals
App roles / OAuth permissions
Federated credentials
Managed identities
```
## 3. ARM / RBAC
```bash
az group list -o table
az resource list -o table
az role assignment list --all -o table
az role definition list -o table
az identity list -o table
az vm list -d -o table
az keyvault list -o table
az functionapp list -o table
az webapp list -o table
```
## 4. Applications / Credentials
```bash
az ad app list --all
az ad sp list --all
az ad app owner list --id <APP_ID>
az ad app credential list --id <APP_ID>
az ad app federated-credential list --id <APP_ID>
```
这里只枚举 metadata;新增 credential 属于 `/cloud-attack`。
## 5. Managed Identity
VM 内:
```bash
curl -s -H 'Metadata: true' \
'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https://management.azure.com/' | jq
```
记录:client_id / object_id / resource scope / token expiry。
## 6. AKS 云侧
```bash
az aks list -o table
az aks show -g <RG> -n <CLUSTER>
```
如果当前身份可获得集群认证材料,输出 `/k8s` 候选,不继续 K8s 利用。
## 7. Source
- Azure CLI: https://learn.microsoft.com/cli/azure/
- Federated credentials: https://learn.microsoft.com/cli/azure/ad/app/federated-credential
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |