Post-exploitation and Lateral Movement

A tester holds a low-privileged domain account on a Linux host. Only TCP 389 on the domain controller is reachable, and TCP 135 and 445 are filtered. Which action is BEST to list domain users and group memberships?

Show the answer

Correct answerC. Bind to LDAP with the account and query user and group objects

AWhy not this: RDP uses TCP 3389, which is not reachable, and a low-privileged account may not be allowed to log on.

BWhy not this: A null session needs TCP 445, which is filtered here, so it cannot be used.

CWhy this is right: LDAP on TCP 389 is reachable and serves user and group objects to an authenticated bind.

DWhy not this: The endpoint mapper on TCP 135 is filtered and lists RPC services, not user accounts.

Active Directory exposes users and groups as directory objects over LDAP, so an authenticated bind on TCP 389 can query them. SMB enumeration needs TCP 445, which is filtered, and the endpoint mapper only lists RPC services.