Security Architecture

A vulnerability scan shows a web server running FTP, Telnet, and a print service that the application never uses. Which action best reduces the attack surface?

Show the answer

Correct answerD. Disable the unused services and close their ports

AWhy not this: 802.1X authenticates devices at the switch port and does not close services running on the server.

BWhy not this: An IDS sensor only alerts on activity; the vulnerable services stay exposed, so the attack surface is unchanged.

CWhy not this: A load balancer spreads requests for availability but does not remove the unused services.

DWhy this is right: Removing unused services and closing ports eliminates entry points, which directly reduces the attack surface.

Attack surface is the set of points an attacker can target, so removing unneeded services and open ports shrinks it directly. An IDS sensor only detects attempts against those services and leaves the exposure in place.