Attacks and Exploits

A tester has a Meterpreter session on a dual-homed web server that is in scope. The tester wants to run msfconsole scanning modules against the whole internal 172.16.5.0/24 subnet without uploading tools to the server. What should the tester do?

Show the answer

Correct answerC. Add a route for the internal subnet through the session

AWhy not this: A port forward maps a single local port to one host and port, so covering a subnet needs many forwards.

BWhy not this: getsystem escalates privileges on the server; it does not let console modules reach the internal subnet.

CWhy this is right: A route through the session makes msfconsole modules reach the whole subnet via the pivot host.

DWhy not this: A handler only catches payload connections; it does not carry scanner traffic to internal hosts.

A Metasploit route (autoroute) sends module traffic for the subnet through the Meterpreter session, so any module can reach every internal host with nothing uploaded. Port forwards cover one host and port each, so they do not scale to a whole subnet.