A tester's reverse shell from an internal server to the tester's host got past the client's firewall, which already denies inbound connections. Which change would MOST directly stop it?
Show the answer
Correct answerB. Default-deny outbound rules allowing only required destinations
AWhy not this: Counters a bind shell, which waits on an inbound port. A reverse shell opens no listening port on the target.
BWhy this is right: Egress filtering blocks the outbound callback to the tester's listener, which a reverse shell depends on.
CWhy not this: Protects remote logins, but the reverse shell uses an outbound connection from the server, not a VPN login.
DWhy not this: Stops added-account persistence, but the reverse shell needs no new account to call out.
A reverse shell is started by the target, which calls out to the tester's listener. Default-deny egress filtering blocks that callback. Closing inbound ports only counters a bind shell, which waits for an inbound connection.