Security Operations

An application authenticates users to a directory server with a simple bind on TCP 389, and a packet capture shows the passwords in cleartext. What should the administrator do?

Show the answer

Correct answerD. Require LDAPS on TCP 636

AWhy not this: OAuth issues tokens for delegated authorization and does not secure an LDAP bind to the directory.

BWhy not this: A simple bind needs the real password; a client-side hash would just become the replayable secret.

CWhy not this: TCP 3389 is the RDP port; changing ports does nothing to encrypt the credentials.

DWhy this is right: LDAPS wraps the directory session in TLS, so the bind credentials are no longer readable on the network.

A simple LDAP bind sends the password as-is, so the channel must be encrypted. LDAPS (or StartTLS) wraps the bind in TLS. Hashing in the application does not help because a simple bind expects the actual password, so the hash would become the password.