Back to services
directory88/tcp

Active Directory / LDAP

ADWindows DomainActive Directory Domain ServicesAD DS

Active Directory is Microsoft's identity and access management directory service. It stores domain user credentials, group memberships, and provides authentication and authorization services across Windows networks.

Ports

PortProtocolDescription
88tcpKerberos authentication
389tcp/udpLDAP directory services
636tcpLDAPS (encrypted LDAP)
3268tcpGlobal Catalog
3269tcpGlobal Catalog SSL
53tcp/udpDNS
135tcpMSRPC
139tcpNetBIOS session
445tcpSMB over TCP
464tcp/udpKerberos kpasswd
749tcpKerberos admin

Fingerprints

Banner / ProbeExpected Response
nmap -sV -p <port> <target>Service banner and version info
nc -nv <target> <port>Raw banner grab

Key Files

PathDescription
C:\Windows\NTDS\ntds.ditAD database with all password hashes
C:\Windows\System32\config\SAMLocal SAM password hashes
C:\Windows\System32\config\SYSTEMSystem hive (boot key for hash decryption)
C:\Windows\System32\config\SECURITYSecurity policy and cached domain credentials
%USERPROFILE%\AppData\Roaming\Microsoft\Credentials\Saved Windows credentials

Default Credentials

UsernamePasswordContext
adminadminGeneric admin account
rootrootGeneric root account

Known CVEs

IdentifierTypeDescription
InfoLDAP null bind allows anonymous queries

Exploitation Primitives

TechniqueTool / CommandResult
Reconnmap -sV -sC -p- <target>Full port/service scan
Enumerationnmap --script <service>-* -p <port> <target>Service-specific NSE scripts

Notes

Always start with full port scan: `nmap -sV -sC -p- <target>`.

Check for default credentials before brute-forcing.

Use service-specific NSE scripts: `nmap --script <service>-* -p <port> <target>`.

Remember to check both IPv4 and IPv6 if applicable.

Seen on

ShodanCensysFOFAZoomEye

References