Enumerating Network Information

Windows

Info to look for

  • current ip address & network adapter

  • internal networks

  • tcp/udp services running and their respective ports

  • other hosts on the network

  • routing table

  • windows firewall state

Commands

  • ipconfig

  • ipconfig /all

  • route print

  • arp -a -> check devices on network

  • netstat -ano -> check ports

  • netsh firewall show state

  • netsh advfirewall firewalll show

  • netsh advfirewall show allprofiles

Linux

Info to look for

  • current ip address & network adapter

  • internal networks

  • other hosts on the network

  • tcp/udp services running and their respective ports

Commands

  • ifconfig

  • netstat

  • route

  • ip a s

  • cat /etc/networks

  • cat /etc/hostname

  • cat /etc/hosts

  • cat /etc/resolv.conf

  • arp -a

  • arp -> msf

Last updated