ad-ldap-attack

Enumerate Active Directory LDAP environments to reveal users, groups, SPNs, and credential artifacts.

60|14|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/brucesongs/kali-claw --skill ad-ldap-attack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ad-ldap-attack
Source: https://github.com/brucesongs/kali-claw/tree/main/skills/ad-ldap-attack
Command: npx skills add https://github.com/brucesongs/kali-claw --skill ad-ldap-attack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Active Directory LDAP environments expose critical credential data and misconfigurations that adversaries can exploit. By orchestrating recon, enumeration, and credential harvesting within AD, this skill guides defenders and red teams through the full lifecycle of AD attacks.

Core Features & Use Cases

  • Recon and enumeration: identify domain structure, domain controllers, users, groups, SPNs, trusts, and ACLs.
  • Credential harvesting & auditing: collect AS-REP roastable accounts, SPN-based tickets, and DCSync-like data for analysis (in authorized engagements).
  • Lateral movement planning: map attack paths with BloodHound and related tooling to demonstrate potential impact in an enterprise AD.
  • Use Case: For a corporate AD with 10k users, run LDAP queries and BloodHound ingestion to visualize attack paths to Domain Admins.

Quick Start

Run the AD LDAP attack workflow against a permitted target to enumerate domain objects and collect credential artifacts for assessment.

Frequently Asked Questions about ad-ldap-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enumerate Active Directory users and groups via LDAP?

Active Directory LDAP enumeration uses authenticated domain credentials to query the directory for users, groups, SPNs, and trusts. Tools like ldapsearch and ldapdomaindump extract and export domain structure data for security assessments.

What is the best way to map attack paths to Domain Admins in a Windows domain?

Mapping attack paths to Domain Admins uses BloodHound to ingest LDAP enumeration data and visualize lateral movement routes. This reveals ACL misconfigurations and trust relationships exploitable during internal red-team engagements.

How does AS-REP roasting work for credential harvesting in Active Directory?

AS-REP roasting harvests credential artifacts by requesting authentication tickets for accounts with pre-authentication disabled. The extracted hashes are then audited offline to identify weak passwords within the domain environment.

Do I need domain credentials to perform LDAP enumeration and extraction?

Yes, authenticated access or valid domain credentials are required to query AD LDAP services. This access enables security assessments to retrieve domain objects and extract credential artifacts using Impacket and related tooling.

Can I use Impacket to collect SPN-based tickets for Kerberoasting?

Impacket supports collecting SPN-based tickets during Active Directory assessments. It extracts Service Principal Name tickets from the domain for offline cracking to audit credential weaknesses in authorized engagements.

What are the limitations of using LDAP queries for AD domain reconnaissance?

LDAP queries require network access to domain controllers and authenticated domain accounts. Reconnaissance is limited by ACLs governing the querying user, meaning unprivileged accounts may not reveal sensitive trust configurations or DCSync data.