Chuyển đến nội dung
Skillpedia
Agent35k · #7888

enumerating-cloud-with-cloudfox

Skill này làm gì

Công cụ này giúp hiểu những gì có trong tài khoản đám mây (như AWS hoặc Azure) và cách kẻ tấn công có thể khai thác. Nó tìm các thông tin quan trọng như bí mật bị lộ và đường dẫn để giành thêm quyền truy cập.

Khi nào nên dùng

  • ✓Ngay sau khi có được quyền truy cập vào một tài khoản đám mây.
  • ✓Để nhanh chóng tìm các tài nguyên bị phơi ra internet.
  • ✓Để lập kế hoạch di chuyển sang các phần khác của đám mây.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/enumerating-cloud-with-cloudfox/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Những bí mật và điểm truy cập nào đang bị lộ trong tài khoản AWS của tôi?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các lệnh chỉ đọc thông tin từ tài khoản đám mây của bạn. Nó tìm các cấu hình có thể bị khai thác, như bí mật bị rò rỉ hoặc quyền quá mức.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

…

Câu hỏi thường gặp

Công cụ này có thể thay đổi tài khoản đám mây của tôi không?

Không, công cụ chỉ đọc. Nó không thực hiện bất kỳ thay đổi nào với tài khoản, chỉ thu thập thông tin.

Tôi có cần kiến thức kỹ thuật để dùng không?

Nên quen với dòng lệnh và các khái niệm đám mây cơ bản, nhưng công cụ được thiết kế để giúp bạn hiểu môi trường.

“Đường tấn công” (attack paths) là gì?

Đó là những cách kẻ tấn công có thể dùng quyền truy cập ban đầu để giành thêm quyền hoặc truy cập các phần khác của hệ thống.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7888
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự