Post-exploitation and Lateral Movement
A tester finds TCP 389 open on a domain controller. Which service is this, used to query Active Directory objects?
Show the answer
Correct answerB. LDAP
AWhy not this: VNC on TCP 5900 offers remote graphical desktop access, not directory lookups.
BWhy this is right: LDAP on TCP 389 is used to query directory objects such as Active Directory users and groups.
CWhy not this: LPD on TCP 515 accepts print jobs and manages print queues.
DWhy not this: Telnet on TCP 23 provides a remote text shell, not directory queries.
LDAP on TCP 389 is the protocol used to query directory services such as Active Directory for users, groups and computers. Telnet also uses a well-known port but gives a remote text shell, not directory queries.