Enumerate material found on the machine.
Use pre-installed tools on the machine
Use statically compiled tools
Use scripting techniques
Use local tools through a proxy (last resort ; very slow)
Check arp cache, static mappings, local DNS servers and interfaces (Linux)
arp -a cat /etc/hosts cat /etc/resolv.conf ip a
Check arp cache, static mappings and interfaces (Windows)
arp -a type C:\Windows\System32\drivers\etc\hosts ipconfig /all
Start off with uploading nmap and scanning the network from the compromised server
./nmap -sn 10.200.72.0/24 -oN hosts
Bash one-liner ping sweep
Bash one-liner port scan
Windows ping sweep tools
https://github.com/MuirlandOracle/C-Sharp-Port-Scan
https://github.com/MuirlandOracle/CPP-Port-Scanner
Last updated 2 years ago
for i in {1..255}; do (ping -c 1 192.168.1.${i} | grep "bytes from" &); done
for i in {1..65535}; do (echo > /dev/tcp/192.168.1.1/$i) >/dev/null 2>&1 && echo $i is open; done