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

executing-active-directory-attack-simulation

Skill này làm gì

Công cụ này mô phỏng các cuộc tấn công được phép vào hệ thống mạng Active Directory. Nó tìm các lỗ hổng bảo mật, mật khẩu yếu và đường đi mà kẻ tấn công có thể dùng để kiểm soát toàn bộ hệ thống.

Khi nào nên dùng

  • ✓Để kiểm tra bảo mật của một mạng doanh nghiệp.
  • ✓Để tìm cách kẻ tấn công có thể truy cập các tài khoản quản trị viên.
  • ✓Để kiểm tra xem các cài đặt bảo mật có chống được các tấn công đã biết không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/executing-active-directory-attack-simulation/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/executing-active-directory-attack-simulation/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 mô phỏng một cuộc tấn công được phép vào Active Directory của chúng tôi để tìm lỗ hổng.”

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 chương trình chuyên biệt để thu thập thông tin về mạng, phân tích cách kẻ tấn công có thể di chuyển, và thử khai thác mật khẩu yếu hoặc lỗi cấu hình.

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.

Executing Active Directory Attack Simulation

When to Use

  • Assessing the security of an Active Directory domain and forest against common and advanced attack techniques
  • Identifying attack paths from low-privilege domain user to Domain Admin using privilege relationship analysis
  • Validating that Kerberos security configurations, credential policies, and delegation settings resist known attacks
  • Testing detection capabilities of the SOC and EDR tools against Active Directory-specific TTPs
  • Evaluating the effectiveness of tiered administration models and privileged access workstations

Do not use without explicit written authorization from the domain owner, against production domain controllers during business hours unless approved, or for testing that could cause account lockouts affecting real users without prior coordination.

Prerequisites

  • Written authorization specifying the target AD domain, testing constraints, and any off-limits accounts or systems
  • Low-privilege domain user account (minimum starting point) to simulate realistic attacker position
  • Testing workstation joined to the domain or network access to domain controllers on ports 88, 135, 139, 389, 445, 636, 3268, 3269
  • BloodHound Community Edition or Enterprise with SharpHound/AzureHound collectors
  • Impacket toolkit, Mimikatz (or pypykatz), Rubeus, and CrackMapExec installed on the attack platform
  • Hashcat or John the Ripper with current wordlists (rockyou.txt, SecLists) for offline credential cracking

Workflow

Step 1: Active Directory Reconnaissance

Enumerate the AD environment from a low-privilege domain user position:

  • Domain enumeration: Get-ADDomain or crackmapexec smb <dc_ip> -u <user> -p <pass> --domains to identify domain name, functional level, domain controllers, and forest trusts
  • User enumeration: Get-ADUser -Filter * -Properties ServicePrincipalName,AdminCount,PasswordLastSet to identify service accounts, privileged accounts, and stale passwords
  • Group enumeration: Map membership of high-value groups (Domain Admins, Enterprise Admins, Schema Admins, Account Operators, Backup Operators) using net group "Domain Admins" /domain
  • GPO enumeration: Get-GPO -All | Get-GPOReport -ReportType XML to identify Group Policy configurations including password policies, audit settings, and software deployment
  • Trust enumeration: nltest /domain_trusts /all_trusts to map inter-domain and inter-forest trusts, noting trust direction and transitivity
  • LDAP queries: Use ldapsearch or ADExplorer to search for accounts with userAccountControl flags indicating "password never expires", "password not required", or "DES-only Kerberos"

Step 2: BloodHound Attack Path Analysis

Collect and analyze AD relationship data to identify the shortest paths to Domain Admin:

  • Run SharpHound collector: SharpHound.exe -c All,GPOLocalGroup --outputdirectory C:\temp\ to collect users, groups, sessions, ACLs, trusts, and GPO data
  • Import the JSON output into BloodHound and run built-in queries:
    • "Shortest Paths to Domain Admins from Owned Principals"
    • "Find Principals with DCSync Rights"
    • "Find Computers where Domain Users are Local Admin"
    • "Shortest Paths to Unconstrained Delegation Systems"
    • "Find All Paths from Kerberoastable Users"
  • Mark the compromised user as "owned" in BloodHound and analyze the resulting attack paths
  • Identify ACL-based attack paths: GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword on high-value objects
  • Document each identified attack path with the chain of relationships and affected objects

Step 3: Kerberos Attacks

Execute Kerberos-based attacks against identified vulnerable accounts:

  • Kerberoasting: Request TGS tickets for accounts with SPNs: impacket-GetUserSPNs <domain>/<user>:<pass> -dc-ip <dc_ip> -request -outputfile kerberoast.hashes. Crack offline with hashcat -m 13100 kerberoast.hashes /usr/share/wordlists/rockyou.txt
  • AS-REP Roasting: Target accounts without Kerberos pre-authentication: impacket-GetNPUsers <domain>/ -dc-ip <dc_ip> -usersfile users.txt -format hashcat -outputfile asrep.hashes. Crack with hashcat -m 18200 asrep.hashes /usr/share/wordlists/rockyou.txt
  • Silver Ticket: If a service account's NTLM hash is cracked, forge a TGS ticket for that service using impacket-ticketer -nthash <hash> -domain-sid <sid> -domain <domain> -spn <service/host> <username>

…

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

Tôi có cần được phép để dùng công cụ này không?

Có, điều quan trọng là phải có sự cho phép bằng văn bản từ chủ sở hữu hệ thống trước khi tiến hành mô phỏng tấn công.

Active Directory là gì?

Đó là hệ thống nhiều công ty dùng để quản lý máy tính, người dùng và quyền hạn trong mạng.

Công cụ này có thể gây thiệt hại thực sự không?

Nếu dùng bất cẩn hoặc không được phép, nó có thể ảnh hưởng đến hoạt động bình thường của mạng. Vì vậy, sự cho phép và lập kế hoạch là rất cần thiết.

Chi tiết

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

Executes authorized attack simulations against Active Directory environments to identify misconfigurations, weak credentials, dangerous privilege paths, and exploitable trust relationships that could lead to domain compromise. The tester uses BloodHound for attack path analysis, Mimikatz for credential extraction, and Impacket for protocol-level attacks including Kerberoasting, AS-REP Roasting, an

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

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