September 2018
Intermediate to advanced
480 pages
9h 45m
English
So far, we have seen methods for pivoting in scenarios in which the machines are in the same subnet and are reachable. However, during a RedTeam activity, we may come across a network which has different subnets that we know exist but are not reachable by the system we have a Meterpreter shell on. In this section, we will look at an example of how to pivot to those networks.
The Windows system has a command-line tool that makes it possible to view the routing table. This tool is called route. The routing table consists of destinations, routes, and next hops. These entries define a route to a destination network.
To view a routing table of the system, we have to do the following: