Threats, Vulnerabilities, and Attacks

A scan shows TCP 21 open to the internet on a public web server that only needs to serve HTTPS. Administrators upload files over SFTP. What is the BEST action?

Show the answer

Correct answerB. Disable the FTP service and close TCP 21

AWhy not this: FTPS encrypts the traffic but keeps an unnecessary service exposed, since SFTP already meets the upload need.

BWhy this is right: Disabling an unneeded service and closing its port removes the exposure entirely, following least functionality.

CWhy not this: Stronger passwords make guessing harder but leave the unneeded service running and exposed.

DWhy not this: A nonstandard port is only obscurity; the unneeded service remains reachable and exploitable.

Nothing needs FTP, so removing the unneeded service and its open port shrinks the attack surface. Encrypting or relocating a service that serves no purpose still leaves an exposed service to attack.