LDAP - 389/636

Checking for null credentials

ldapsearch -x -H ldap://192.168.73.122 -D '' -w ''  -b "DC=hutch,DC=offsec"

Authenticated LDAP Query for LAPS password

Authenicated LDAP queries will give you a whole lot of information the ms-MCS-Adm part of this command just filters the output so you so the LAPS password.

CrackMapExec can also be used to pull this information. Maybe even more easily. https://wiki.porchetta.industries/ldap-protocolarrow-up-right

https://github.com/T3KX/Crackmapexec-LAPSarrow-up-right

https://github.com/ropnop/windapsearcharrow-up-right

https://www.geeksforgeeks.org/ldap-enumeration/arrow-up-right

Last updated