312-50V12 · Question #240
Being a Certified Ethical Hacker (CEH), a company has brought you on board to evaluate the safety measures in place for their network system. The company uses a network time protocol server in the dem
The correct answer is B. ntptrace -m 5192.168.1.1. This question tests knowledge of the ntptrace command and its flags for tracing NTP server hierarchies during network enumeration. The correct syntax uses -m to limit hops while resolving hostnames to trace the NTP chain.
Question
Options
- Antptrace -n -m 5192.168.1.1
- Bntptrace -m 5192.168.1.1
- Cntptrace -n localhost
- Dntptrace 192.168.1.1
How the community answered
(25 responses)- A12% (3)
- B80% (20)
- C4% (1)
- D4% (1)
Why each option
This question tests knowledge of the ntptrace command and its flags for tracing NTP server hierarchies during network enumeration. The correct syntax uses -m to limit hops while resolving hostnames to trace the NTP chain.
The syntax 'ntptrace -n -m 5192.168.1.1' is malformed because there is no space between the maxhosts value (5) and the IP address (192.168.1.1), making it an invalid command that would fail to execute properly.
The command 'ntptrace -m 5 192.168.1.1' uses the -m flag to set a maximum of 5 hops, allowing the tester to trace up to 5 NTP servers in the hierarchy starting from the target IP 192.168.1.1. Without the -n flag, hostnames are resolved (not suppressed), which provides more informative output about each NTP server in the chain. This combination best satisfies the objective of finding where the NTP server gets its time and listing connected NTP servers.
Using 'ntptrace -n localhost' queries only the local machine without specifying a maximum hop count, and the -n flag suppresses hostname resolution, reducing the informativeness of the trace for identifying connected NTP servers in the network.
While 'ntptrace 192.168.1.1' would query the target server, it omits the -m flag to set a maximum number of hops, meaning the trace could be incomplete or unlimited, making it less controlled and precise for enumerating the NTP hierarchy.
Concept tested: NTP enumeration using ntptrace command flags
Source: https://doc.ntp.org/documentation/4.2.8-series/ntptrace/
Topics
Community Discussion
No community discussion yet for this question.