CompTIA Linux+ (XK0-004) — Question 268

After running an Nmap scan on a local area network, a penetration tester notices several older Linux servers have port 23 open. Which of the following should the systems administrator do as a security best practice?

Answer options

Correct answer: A

Explanation

Using a non-standard port for Telnet (option A) can help obscure the service from attackers, thus enhancing security. Disabling and uninstalling the Telnet service (option B) is also a good security practice, but if Telnet is still needed, changing the port is a better immediate step. Keeping kernels updated (option C) is important, but it does not directly address the specific vulnerability of having Telnet open. Configuring the firewall (option D) is beneficial, but does not eliminate the risk associated with an open Telnet service.