Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8173

performing-active-directory-forest-trust-attack

Skill này làm gì

Công cụ này giúp kiểm tra cách các mạng máy tính (Active Directory forest) khác nhau kết nối với nhau. Nó tìm các cách kẻ tấn công có thể dùng để truy cập thông tin hoặc giành quyền kiểm soát trong các mạng được kết nối khác.

Khi nào nên dùng

  • ✓Khi kiểm thử bảo mật các mạng phức tạp có nhiều kết nối.
  • ✓Khi điều tra khả năng truy cập trái phép giữa các mạng.
  • ✓Khi kiểm tra xem các kết nối giữa mạng có được cấu hình an toàn hay không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-active-directory-forest-trust-attack/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/performing-active-directory-forest-trust-attack/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

“Hãy kiểm tra các kết nối giữa các mạng của chúng tôi và cho tôi biết có rủi ro bảo mật nào không.”

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

Cách hoạt động

Công cụ xem xét các thiết lập tin cậy (trust) giữa các mạng. Nó tìm những điểm yếu cho phép ai đó dùng thông tin xác thực từ mạng này để truy cập mạng khác, hoặc giả mạo vé truy cập.

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.

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
Câu hỏi thường gặp

“Active Directory forest” là gì?

Đây là nhóm các mạng máy tính được quản lý cùng nhau, giống như trong một công ty lớn có nhiều chi nhánh.

“SID filtering” là gì?

Đây là thiết lập bảo mật ngăn một số thông tin nhận diện (SID) được truyền giữa các mạng, giúp phòng ngừa tấn công.

“SID history abuse” là gì?

Đây là kiểu tấn công trong đó kẻ tấn công dùng thông tin nhận diện cũ của một tài khoản để truy cập tài nguyên ở mạng khác.

Chi tiết

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

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8173
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ự