Question 51
Security EngineeringAn attacker on a compromised workstation connected straight to a file server's SMB port on the same VLAN, and the perimeter firewall never saw the traffic. Which control on the server BEST prevents this?
Show the answer
Correct answerC. A host-based firewall rule limiting inbound SMB to named admin hosts
AWhy not this: East-west traffic on one VLAN never reaches the perimeter device, so this rule cannot stop the connection.
BWhy not this: Allowlisting restricts which code runs, not which hosts may reach a listening service.
CWhy this is right: A local inbound rule restricted to approved source hosts drops the attacker's SMB connection at the server itself.
DWhy not this: A HIDS alerts on suspicious activity but does not block the connection, and the stem asks for prevention.
Traffic inside the same VLAN never crosses the perimeter, so only a filter on the server itself can block it. A host-based firewall with a source-restricted inbound rule prevents the connection. A HIDS only detects after the fact.