🛠️Trusts

This is a work-in-progress. It's indicated with the 🛠️ emoji in the page name or in the category name

Theory

Practice

Enumeration

From UNIX-like systems, tools like NetExec (Python) and ldapsearch (C) can be used to enumerate trusts.

# ldapsearch
ldapsearch -h ldap://$DC_IP -b "CN=SYSTEM,DC=$DOMAIN" "(objectclass=trustedDomain)"

# NetExec
nxc ldap <DC_IP> -u <USER>-p <PASSWORD> -M enum_trusts

Forging Tickets

Resources

Last updated