Post-exploitation and Lateral Movement
A tester on a compromised dual-homed Windows host sees one default gateway in the adapter settings but suspects a static route sends a hidden subnet through another router. Which built-in command lists the static routes, including persistent ones?
Show the answer
Correct answerC. route print
AWhy not this: net view lists computers visible on the network, not the routes the host uses to reach them.
BWhy not this: arp -a lists IP-to-MAC mappings for recent neighbors; it shows no gateways for remote subnets.
CWhy this is right: route print shows the full routing table and a Persistent Routes section with every static gateway entry.
DWhy not this: netstat -ano lists sockets and owning PIDs, not the static routes configured on the host.
route print displays the IPv4 routing table, including a Persistent Routes section that holds static entries, revealing gateways beyond the default one. arp -a only lists neighbors the host recently contacted and cannot show routes.