跳到正文
Skillpedia
智能体35k · #7888

enumerating-cloud-with-cloudfox

它能做什么

这个工具可以帮你了解云账户(比如 AWS 或 Azure)里都有什么,以及攻击者可能如何利用它。它会查找一些重要信息,比如暴露的机密信息和可以获得更多权限的路径。

适用场景

  • ✓刚刚获得云账户的访问权限之后。
  • ✓想快速找出暴露在互联网上的资源时。
  • ✓计划如何转移到云环境的其他部分时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/enumerating-cloud-with-cloudfox/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/enumerating-cloud-with-cloudfox/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的 AWS 账户里有哪些暴露的机密信息和访问入口?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具使用的命令只会读取你云账户中的信息。它会查找可能被利用的配置,比如泄露的机密信息或权限过大的设置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Enumerating Cloud with CloudFox

Legal Notice: This skill is for authorized cloud penetration testing and assessment only. CloudFox makes read/describe API calls against the cloud account whose credentials you supply. Run it ONLY against accounts you own or are authorized to test under a signed scope. Although CloudFox is read-only by design, the enumeration it performs is reconnaissance against a live environment and must be in scope.

Overview

CloudFox is an open-source command-line tool from Bishop Fox that helps penetration testers and red teamers gain situational awareness in unfamiliar cloud environments. Where tools like ScoutSuite focus on a defender-style configuration audit, CloudFox is built from the attacker's perspective: it answers questions like "what are the most attackable secrets, endpoints, and instances in this account, and what can the identity I just compromised actually reach?" It is read-only — it only performs Describe/List/Get style calls — and writes its findings to per-command CSV/TXT/loot files plus a combined report directory, so output can be triaged offline.

CloudFox covers AWS most deeply (30+ commands) and supports Azure. The workhorse is cloudfox aws all-checks, which runs the full battery of enumeration commands with sensible defaults: inventory, internet-reachable endpoints, EC2 instances (with IPs and instance-profile roles), iam-simulator and permissions for IAM analysis, principals, secrets from Secrets Manager/SSM, buckets, role-trusts (which identities can assume which roles — a core attack-path primitive), access-keys, route53, ecr, lambda, and more. CloudFox also emits ready-to-run command suggestions (e.g. aws s3 ls lines, aws ssm start-session lines) in its "loot" files so an operator can pivot immediately.

This skill covers installing CloudFox, authenticating to AWS and Azure, running targeted and full enumeration, interpreting the high-value outputs (role-trusts, secrets, endpoints), and feeding the results into attack-path planning. Source: github.com/BishopFox/cloudfox.

When to Use

  • Establishing situational awareness immediately after compromising a cloud credential
  • Quickly identifying internet-exposed endpoints, instances, and exposed secrets
  • Mapping sts:AssumeRole trust relationships to plan lateral movement / privesc
  • Triaging an unfamiliar AWS or Azure account during an authorized assessment
  • Producing attacker-centric inventory artifacts that complement a defensive audit

Prerequisites

  • CloudFox installed:
    # Homebrew
    brew install cloudfox
    # Go (1.21+)
    go install github.com/BishopFox/cloudfox@latest
    # or download a release binary from GitHub and chmod +x
    
  • Valid cloud credentials in scope:
    # AWS — configure a named profile and verify
    aws configure --profile assess
    aws sts get-caller-identity --profile assess
    
    # Azure
    az login
    az account show
    
  • A signed authorization / Rules of Engagement defining the in-scope accounts
  • awscli (AWS) and/or azure-cli (Azure) installed for credential setup and follow-up

Objectives

  • Install CloudFox and confirm cloud credentials
  • Run full and targeted enumeration across AWS and Azure
  • Identify internet-reachable endpoints, instances, and exposed secrets
  • Enumerate IAM principals, permissions, and role-trust attack paths
  • Triage CloudFox loot files for immediate pivot commands
  • Export findings to a structured output directory for reporting

MITRE ATT&CK Mapping

ID Name Use in this skill
T1526 Cloud Service Discovery CloudFox enumerates the available cloud services and resources in an account
T1580 Cloud Infrastructure Discovery inventory, instances, buckets map the infrastructure footprint
T1087.004 Account Discovery: Cloud Account principals, access-keys enumerate cloud identities
T1069.003 Permission Groups Discovery: Cloud Groups permissions, iam-simulator, role-trusts reveal entitlements
T1538 Cloud Service Dashboard Aggregated situational-awareness reporting across services

Workflow

1. Confirm the identity and run all AWS checks

aws sts get-caller-identity --profile assess
cloudfox aws --profile assess all-checks -o ./loot

2. Inventory the account footprint

cloudfox aws --profile assess inventory

…

常见问题

这个工具会修改我的云账户吗?

不会,这个工具是只读的。它不会对你的账户做任何修改,只负责收集信息。

使用它需要有技术基础吗?

建议你对命令行和基本的云概念有一些了解,但这个工具的设计目的就是帮你理解环境情况。

什么是“攻击路径”?

指攻击者利用初始访问权限,进一步获得更多权限或访问系统其他部分的方式。

详情

作者的原始描述

Run CloudFox's read-only Describe/List/Get enumeration (all-checks, role-trusts, secrets, endpoints, and permissions commands) to map AWS and Azure attack paths and surface exploitable misconfigurations. Use immediately after obtaining a cloud credential to build situational awareness, find exposed resources and secrets, or map sts:AssumeRole trust relationships for lateral-movement/privilege-esca

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7888
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能