Skip to content
LDAP
Service

LDAP

LDAP directory service attacks covering anonymous binds, injection, enumeration of users and groups, relay attacks, credential extraction, and leveraging AD trust paths for lateral movement

:389 :636 13 guides 3 phases
1 min read Created: Dec 28, 2025 Updated: Jul 13, 2026

LDAP (Lightweight Directory Access Protocol) runs on TCP port 389 (plaintext/STARTTLS) and TCP port 636 (LDAPS with TLS). Nmap identifies them as ldap and ldaps. In Active Directory environments, LDAP is the primary protocol for querying the directory: users, groups, computers, policies, and more.

Anonymous or null-bind LDAP access can expose the entire directory structure. Even without credentials, the root DSE and naming contexts are often readable, revealing the domain name and forest structure. With valid credentials, LDAP queries return detailed information about every object in the domain, including password policies, group memberships, SPNs, and delegation settings.

Check for anonymous bind access, then query the base DN, users, groups, and computer objects. Tools like ldapsearch, ldapdomaindump, and windapsearch automate this. Look for accounts with descriptions containing passwords, unconstrained delegation, and AS-REP roastable accounts.

Enumeration

Enumerate LDAP via anonymous and auth binds, users, groups, misconfigs

5
LDAP Anonymous Enumeration

LDAP Anonymous Enumeration

Enumerate LDAP directory objects, users, and attributes without authentication by exploiting anonymous bind misconfigurations on port 389/636.

Jan 4, 2026 • 4 min read
LDAP Authenticated Deep Dive

LDAP Authenticated Deep Dive

Perform authenticated LDAP enumeration to extract users, groups, OUs, ACLs, and domain info using ldapsearch, ldapdomaindump, and BloodHound.

Apr 5, 2026 • 4 min read
LDAP Authenticated User Group Enumeration

LDAP Authenticated User Group Enumeration

Enumerate Active Directory user groups via authenticated LDAP queries using tools like ldapsearch, BloodHound, and PowerView to map privilege relationships.

Jan 4, 2026 • 6 min read
LDAP RootDSE and Anonymous Bind Checks

LDAP RootDSE and Anonymous Bind Checks

Enumerate LDAP server metadata via unauthenticated RootDSE queries and anonymous bind attempts to identify naming contexts, supported controls, and misconfigurations.

Jan 4, 2026 • 4 min read
LDAP Targeted Misconfiguration Searches

LDAP Targeted Misconfiguration Searches

Leverage targeted LDAP queries to uncover misconfigurations, exposed attributes, and privilege escalation paths within Active Directory environments.

Jan 4, 2026 • 5 min read

Vulnerability Discovery

Guides on finding LDAP misconfigs via null bind, signing, and relay checks

2
LDAP Null Bind and Anonymous Access

LDAP Null Bind and Anonymous Access

Exploiting LDAP null bind and anonymous access to enumerate directory objects, users, and attributes without authentication.

Apr 5, 2026 • 3 min read
LDAP Signing and Channel Binding

LDAP Signing and Channel Binding

Covers detection and exploitation of misconfigured LDAP signing and channel binding settings, enabling relay attacks and unauthorized directory access.

Apr 5, 2026 • 3 min read

Exploitation

Anonymous bind, injection, pass-back, brute force, and credential extractio

6
LDAP Brute Force and Password Spraying

LDAP Brute Force and Password Spraying

Exploit LDAP authentication via brute force and password spraying techniques to enumerate valid credentials against directory services.

Mar 11, 2026 • 4 min read
LDAP Relay and Signing Abuse

LDAP Relay and Signing Abuse

Exploiting missing LDAP signing/channel binding to relay authentication, modify AD objects, and escalate privileges via coerced or captured credentials.

Apr 5, 2026 • 4 min read