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
Which TCP port is the default for LDAP over TLS (LDAPS)?
- 389
- 636
- 88
- 445
Show answer
Answer: B. 636
LDAPS uses 636; plain LDAP uses 389. 88 is Kerberos and 445 is SMB.
Which statements about NFS enumeration are correct?
- showmount -e lists a server's exports
- An export open to every client is a risk
- The RPC portmapper helps locate NFS services
- showmount -e requires domain admin rights
- 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.
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.
