XK0-004 · Question #460
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 secunty…
The correct answer is B. Disable and umnstall the Telnet service. Port 23 is used by Telnet, a legacy protocol that transmits all data including credentials in plaintext. The correct security practice is to remove it entirely and replace it with SSH.
Question
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 secunty best practice?
Options
- AUse a non-standard port for Telnet
- BDisable and umnstall the Telnet service
- CEnsure the kernels are up to date with the latest patches
- DConfigure the firewall to allow Telnet access only from trusted networks
How the community answered
(41 responses)- B95% (39)
- C2% (1)
- D2% (1)
Why each option
Port 23 is used by Telnet, a legacy protocol that transmits all data including credentials in plaintext. The correct security practice is to remove it entirely and replace it with SSH.
Moving Telnet to a non-standard port is security through obscurity and does not eliminate the plaintext transmission vulnerability that makes Telnet dangerous.
Telnet has no encryption, meaning any traffic including passwords is visible to anyone with network access or a packet capture tool. Disabling and uninstalling the service eliminates the attack surface completely, which is the only way to prevent exploitation of the plaintext protocol. SSH (port 22) should be used as a secure replacement.
Patching the kernel is good hygiene but does not address the fundamental risk of Telnet transmitting all data unencrypted over the network.
Restricting Telnet via firewall reduces exposure but leaves an unencrypted service running, which remains exploitable from any permitted host that is compromised.
Concept tested: Disabling insecure legacy protocols in favor of SSH
Source: https://www.ncsc.gov.uk/guidance/network-protocols-security
Topics
Community Discussion
No community discussion yet for this question.