The Mindset
When you land on a box, the network answers three questions:
- Where am I? — Subnets, interfaces, routing — what segment of the network is this machine on?
- What can I reach? — Other hosts, internal services, domain controllers, databases
- How do I move? — Pivot routes, port forwards, dual-homed machines
A machine with two network interfaces is almost always a pivot point into a separate network segment.
Network Interfaces
Still widely available, useful to know:
What to look for:
Spot a Dual-Homed Machine
A dual-homed machine means you can use it as a pivot to reach the second subnet.
Routing
Active Connections & Open Ports
ss — Socket Statistics (Modern)
netstat — Legacy But Universal
Services bound to 127.0.0.1 are invisible from outside but fully accessible
once you’re on the box. Always check for internal-only listeners — they’re
often the least hardened services on the system.
DNS & Host Resolution
ping — Host Reachability
traceroute — Path to a Host
Internal Network Discovery
Once you have a foothold, map what else is reachable:
Accessing Internal Services via Port Forwarding
When you find a service listening on localhost of the target, forward it to your machine:
Network Access Control
Understanding what’s in place helps you work around it or identify weaknesses:
Configuring Interfaces (When Needed)
Occasionally you’ll need to configure a network interface — when setting up a pivot or a test environment:
Next: Linux Pillaging — with root privileges, extracting credentials, keys, configs, and sensitive data from every corner of the system.