本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/enumerating-cloud-with-cloudfox/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル