389, 636, 3268, 3269 - LDAP
PORT STATE SERVICE REASON
389/tcp open ldap syn-ack
636/tcp open tcpwrappednmap -n -sV --script "ldap* and not brute" <IP> #Using anonymous credentialsLdapsearch
ldapsearch -x -H ldap://<IP> -D '' -w '' -b "DC=<1_SUBDOMAIN>,DC=<TLD>"
ldapsearch -h <IP> -bx "DC=<SUBDOMAIN>,DC=<TLD>"
ldapsearch -x -H ldap://<IP> -D '<DOMAIN>\<username>' -w '<password>' -b "DC=<1_SUBDOMAIN>,DC=<TLD>"# CREDENTIALS NOT VALID RESPONSE
search: 2
result: 1 Operations error
text: 000004DC: LdapErr: DSID-0C090A4C, comment: In order to perform this opera
tion a successful bind must be completed on the connection., data 0, v3839LDAP enumeration with Python
Last updated