Which command directs traffic from a target subnet through a Meterpreter session to another victim?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which command directs traffic from a target subnet through a Meterpreter session to another victim?

Explanation:
Pivoting traffic through a compromised host relies on telling Metasploit which subnet should be reached via the existing Meterpreter session. The command you use to set that up is the msf route command in the console, which adds a routing entry that directs all traffic for the specified target network through the chosen Meterpreter session. Once this route is in place, modules and tools inside Metasploit will send packets for that subnet via the pivot, enabling you to reach additional hosts behind the compromised machine. This is how you extend access from one victim to others in the same network. The other options don’t represent the standard way to configure this routing in Metasploit. They don’t reflect the actual Metasploit command used to manage pivot routes, whereas the msf route command encapsulates this routing capability.

Pivoting traffic through a compromised host relies on telling Metasploit which subnet should be reached via the existing Meterpreter session. The command you use to set that up is the msf route command in the console, which adds a routing entry that directs all traffic for the specified target network through the chosen Meterpreter session. Once this route is in place, modules and tools inside Metasploit will send packets for that subnet via the pivot, enabling you to reach additional hosts behind the compromised machine. This is how you extend access from one victim to others in the same network.

The other options don’t represent the standard way to configure this routing in Metasploit. They don’t reflect the actual Metasploit command used to manage pivot routes, whereas the msf route command encapsulates this routing capability.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy