net-02-ldap-ad
Installation
SKILL.md
Net 02 Ldap Ad — Offensive Methodology
Shortcut
- Check for anonymous LDAP bind on port 389/636
- Enumerate users, groups, computers from AD
- Password spray with common passwords
- Kerberoast service accounts for offline cracking
Hacker Mindset
AD is a graph of trust relationships. Every object has permissions on other objects. A single compromised workstation can escalate to Domain Admin via ACL abuse paths.
Detection
# Anonymous LDAP query
ldapsearch -x -H ldap://target.com -b "dc=target,dc=com" "(objectClass=user)" sAMAccountName