本文へスキップ
Skillpedia
セキュリティ35k · #8158

mapping-attack-paths-with-bloodhound-ce

できること

このツールは、攻撃者が重要なシステムにアクセスするために使う可能性のある、隠れた攻撃経路を見つける手助けをします。ユーザーやコンピューターがどのようにつながっているか、それぞれがどのような権限を持っているかを整理し、地図のように表示します。

使う場面

  • ✓ネットワークのセキュリティを、許可を得たうえでテストするとき。
  • ✓攻撃者がより多くのアクセス権を得る方法を見つけたいとき。
  • ✓オンプレミスとクラウドが混在するネットワークのリスクを把握したいとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/mapping-attack-paths-with-bloodhound-ce/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/mapping-attack-paths-with-bloodhound-ce/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“管理者になるための最短経路を表示してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

プログラムを使って、オンプレミスおよびクラウドのネットワークにあるユーザーと権限の情報を収集します。その後、この情報を視覚的な地図に整理し、攻撃の可能性がある経路を表示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Mapping Attack Paths with BloodHound CE

Legal Notice: This skill is for authorized security testing, red-team engagements, and educational purposes only. Active Directory and Entra ID reconnaissance reveals privilege-escalation chains that lead to full domain/tenant compromise. Use only against environments you own or have explicit written authorization (rules of engagement) to test. Unauthorized use violates the Computer Fraud and Abuse Act and equivalent laws.

Overview

BloodHound Community Edition (CE) is SpecterOps's graph-based attack-path-management platform. It models security principals (users, computers, groups, OUs, GPOs, Entra ID users/groups/apps/roles) as nodes and the permissions, group memberships, sessions, trusts, and ACLs between them as edges. By framing Active Directory and Entra ID as a directed graph, BloodHound turns the question "can this low-privileged account reach Domain Admins / Global Administrator?" into a shortest-path query that finds escalation chains a human reviewer would miss.

BloodHound CE replaced the legacy Neo4j-only BloodHound with a containerized stack: a Go API server, a PostgreSQL relational store, and a Neo4j graph database, all behind a modern web UI and REST API. Data is gathered by two collectors maintained by SpecterOps:

  • SharpHound (the CE/.NET collector, run on or against a domain-joined Windows host) gathers on-prem AD: objects, group membership, ACLs, sessions, local-admin rights, trusts, GPOs, certificate services (ADCS), and LAPS readability. It emits a ZIP of JSON.
  • AzureHound (a cross-platform Go binary) gathers Entra ID and Azure Resource Manager data via the Microsoft Graph and Azure REST APIs: users, groups, app registrations, service principals, directory roles, subscription/role assignments, and key vaults. It emits a single JSON file.

As of recent CE releases, when both an AD domain and its synced Entra ID tenant are ingested, BloodHound automatically renders Hybrid Attack Paths — chains that cross the on-prem/cloud boundary (for example, an on-prem user synced to a cloud account that holds a privileged Entra role). Mapped to MITRE ATT&CK, the core activity is T1069 – Permission Groups Discovery, supported by T1087 (Account Discovery), T1482 (Domain Trust Discovery), and T1018 (Remote System Discovery).

When to Use

  • During an authorized internal penetration test or red-team engagement after obtaining any domain foothold or Entra credentials
  • When you need to prioritize escalation routes from owned principals to Tier-0 assets (Domain Admins, Global Administrator)
  • When assessing hybrid identity risk where on-prem AD is synced to Entra ID
  • During purple-team exercises to validate that detections fire on collection and on path-execution steps
  • When producing attack-path evidence and remediation guidance for a defensive client

Prerequisites

  • Authorized scope covering AD/Entra reconnaissance
  • A foothold: any valid domain user (for SharpHound) and/or valid Entra credentials or a token (for AzureHound)
  • Docker + Docker Compose on the analysis workstation
  • The collectors:
    # Deploy BloodHound CE (pulls Postgres, Neo4j, and the BloodHound API)
    curl -L https://ghst.ly/getbhce -o docker-compose.yml
    docker compose pull
    docker compose up -d
    # Reveal the randomly generated initial admin password
    docker compose logs bloodhound | grep -i "Initial Password"
    
    # AzureHound (download the release binary for your OS from the GitHub releases page)
    #   https://github.com/SpecterOps/AzureHound/releases
    chmod +x ./azurehound
    
    # SharpHound CE collector: download SharpHound.zip from the BloodHound CE
    # web UI (Administration -> Download Collectors), transfer to a domain-joined host.
    

Objectives

  • Deploy BloodHound CE and authenticate to the web UI and API
  • Collect AD data with SharpHound and Entra data with AzureHound
  • Ingest both datasets and mark compromised principals as Owned
  • Run built-in analysis (Shortest Path to Domain Admins, Kerberoastable accounts, ADCS abuse)
  • Author custom Cypher queries for bespoke and hybrid attack paths
  • Prioritize and document escalation routes for the engagement report

MITRE ATT&CK Mapping

ID Technique Application in this skill
T1069 Permission Groups Discovery Enumerating AD/Entra group memberships and the permissions between principals to build the attack graph

…

よくある質問

「攻撃経路」とは何ですか?

攻撃者が、限られたアクセス権から、システムやネットワークの完全な制御を得るまでにたどる一連の手順のことです。

このツールを使うのにセキュリティの専門家である必要がありますか?

ネットワークとセキュリティの基礎知識があることが推奨されます。このツールは、許可を得たセキュリティテストに使うものだからです。

どのネットワークでも使えますか?

いいえ。このツールは、自分が所有しているネットワーク、または明示的に書面でテストの許可を得たネットワークでのみ使用できます。

詳細

作者による元の説明

Collect Active Directory data with SharpHound and Entra ID data with AzureHound, ingest into BloodHound Community Edition, and analyze on-prem, cloud, and hybrid attack paths using built-in queries and custom Cypher. Use during authorized red-team or penetration-test engagements to map privilege-escalation chains toward domain/tenant compromise.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

GitHubのスター
35k
ランキング
#8158
ライセンス
Apache-2.0
更新日
2026/8/31

このスキルは役に立ちますか?

0

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

コメント

  • …

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

似ているスキル