Active Directory Enumeration without Admin Rights

Feb 22, 2026/1 min read/4 sections

Setup

Standard domain user. No special privileges. One linux attack box on the internal network.

LDAP enumeration with python

from ldap3 import Server, Connection, ALL
 
server = Server("dc01.corp.local", get_info=ALL)
conn = Connection(server, user="CORP\\lowpriv", password="Summer2026!", auto_bind=True)
conn.search(
    "dc=corp,dc=local",
    "(objectClass=user)",
    attributes=["sAMAccountName", "memberOf", "description"]
)
for entry in conn.entries:
    print(entry.sAMAccountName, entry.memberOf)

SharpHound collector

Even without admin, SharpHound's --CollectionMethod Default gathers:

  • Domain users and groups
  • Group memberships
  • Local admin relationships (via RPC)
  • Session enumeration on accessible hosts
.\SharpHound.exe -c Default --domain corp.local

Results

Mapped 200+ attack paths to Domain Admin in a 500-host environment using only a domain user account and 45 minutes of collection time.