Certified Ethical Hacker (CEH v13) — Question 122
A Certified Ethical Hacker (CEH) is given the task to perform an LDAP enumeration on a target system. The system is secured and accepts connections only on secure LDAP. The CEH uses Python for the enumeration process. After successfully installing LDAP and establishing a connection with the target, he attempts to fetch details like the domain name and naming context but is unable to receive the expected response. Considering the circumstances, which of the following is the most plausible reason for this situation?
Answer options
- A. The system failed to establish a connection due to an incorrect port number.
- B. The enumeration process was blocked by the target system's intrusion detection system.
- C. The secure LDAP connection was not properly initialized due to a lack of 'use_ssl = True' in the server object creation.
- D. The Python version installed on the CEH's machine is incompatible with the Idap3 library.
Correct answer: C
Explanation
The correct answer is C because without 'use_ssl = True', the secure LDAP connection cannot be properly established, leading to the failure in fetching the required details. Option A is incorrect because the connection was established, and option B is not applicable as there’s no indication of the intrusion detection system interfering. Option D is also wrong since the Python version does not affect the initialization of the secure LDAP connection.