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

performing-active-directory-forest-trust-attack

できること

このツールは、異なるコンピューターネットワーク(Active Directoryフォレスト)が互いにどのように接続されているかを確認するのに役立ちます。接続された他のネットワークで、攻撃者が情報を入手したり支配権を得たりするために使える方法を探します。

使う場面

  • ✓複数の接続を持つ複雑なネットワークのセキュリティを検証するとき。
  • ✓ネットワーク間での不正アクセスの可能性を調査するとき。
  • ✓ネットワーク間の接続が安全に設定されているかを確認するとき。

スキルのリンク

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-active-directory-forest-trust-attack/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“当社のネットワーク間の接続を確認し、セキュリティリスクがあるかどうか教えてください。”

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

仕組み

このツールは、ネットワーク間の信頼関係の設定を調べます。ある網の認証情報を使って別の網にアクセスしたり、アクセスチケットを偽造したりできる弱点を探します。

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

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

Performing Active Directory Forest Trust Attack

Overview

Active Directory forest trusts enable authentication across organizational boundaries but introduce attack surface if misconfigured. This skill uses impacket to enumerate trust relationships, analyze SID filtering configuration, detect SID history abuse vectors, perform cross-forest SID lookups via LSA/LSAT RPC calls, and assess inter-realm Kerberos ticket configurations for trust ticket forgery risks.

When to Use

  • When conducting security assessments that involve performing active directory forest trust attack
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Python 3.9+ with impacket, ldap3
  • Domain credentials with read access to AD trust objects
  • Network access to Domain Controllers (ports 389, 445, 88)
  • Authorized penetration testing engagement or lab environment

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Steps

  1. Enumerate forest trust relationships via LDAP trusted domain objects
  2. Query trust attributes and SID filtering status for each trust
  3. Perform SID lookups across trust boundaries using LsarLookupNames3
  4. Enumerate foreign security principals in trusted domains
  5. Check for SID history on cross-forest accounts
  6. Assess trust direction and transitivity for lateral movement paths
  7. Generate trust security audit report with risk findings

Expected Output

  • JSON report listing all trust relationships, SID filtering status, foreign principals, trust direction/transitivity, and risk assessment
  • Cross-forest attack path analysis with remediation recommendations
よくある質問

「Active Directoryフォレスト」とは何ですか?

大企業が複数の拠点を持つように、複数のコンピューターネットワークをまとめて管理するグループのことです。

「SIDフィルタリング」とは何ですか?

特定の識別情報(SID)がネットワーク間で渡されないようにする、セキュリティ設定です。攻撃の防止に役立ちます。

「SID履歴の悪用」とは何ですか?

攻撃者が、アカウントに残っている古い識別情報を使って、別のネットワーク上のリソースにアクセスする種類の攻撃です。

詳細

作者による元の説明

Enumerate and audit Active Directory forest trust relationships using Impacket for SID filtering analysis, trust key extraction, cross-forest SID history abuse detection, and inter-realm Kerberos ticket assessment. Use when red-teaming multi-forest AD environments or auditing forest trusts for cross-forest privilege escalation and trust ticket forgery exposure.

repo: mukul975/Anthropic-Cybersecurity-Skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル