Bitzu

312-50 ยท Enumeration

What do LDAP, NTP and NFS enumeration expose?

LDAP directory queries and ports 389/636, ntpdate/ntptrace queries, NFS exports with showmount, and Active Directory exposure.

Key points

  • LDAP (389, 636 for LDAPS) holds directory objects such as users, groups and computers; open binds can leak them.
  • NTP queries can reveal server and peer details.
  • NFS exports, listed with showmount -e, show which directories are shared and to whom.
  • In Active Directory, permissive LDAP is a rich source of account names.

Source: https://linux.die.net/man/8/showmount

Practice questions

Single choice

Which TCP port is the default for LDAP over TLS (LDAPS)?

  1. 389
  2. 636
  3. 88
  4. 445
Show answer

Answer: B. 636

LDAPS uses 636; plain LDAP uses 389. 88 is Kerberos and 445 is SMB.

Select all that apply

Which statements about NFS enumeration are correct?

  1. showmount -e lists a server's exports
  2. An export open to every client is a risk
  3. The RPC portmapper helps locate NFS services
  4. showmount -e requires domain admin rights
  5. NFS only runs over NTP
Show answer

Answer: A. showmount -e lists a server's exports, B. An export open to every client is a risk, C. The RPC portmapper helps locate NFS services

showmount queries the server's mount daemon for its export list, and wide-open exports are a classic misconfiguration. It needs no domain rights.

True or false

ntpdate -q changes the local system clock to match the queried server.

Show answer

Answer: False

The -q option means query only: it prints the offset without setting the clock.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module