Network Enumeration

Network interfaces

ifconfig

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.240 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::20c:29ff:fe97:c7a5 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:97:c7:a5 txqueuelen 1000 (Ethernet)
RX packets 1212 bytes 337995 (330.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 586 bytes 89310 (87.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ip a

eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:97:c7:a5 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.240/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe97:c7a5/64 scope link
valid_lft forever preferred_lft forever

Routing table

route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

ARP Table

arp -a

(192.168.1.1) at 1c:3b:f3:4d:ab:0a [ether] on eth0

ip neigh

192.168.1.1 dev eth0 lladdr 1c:3b:f3:4d:ab:0a REACHABLE
fe80::1e3b:f3ff:fe4d:ab0a dev eth0 lladdr 1c:3b:f3:4d:ab:0a router STALE

Listening and open ports

netstat -ano

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
tcp 0 0 127.0.0.1:12300 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 10.10.14.126:40064 10.10.110.100:22 ESTABLISHED keepalive (5632.23/0/0)
tcp6 0 0 127.0.0.1:43993 :::* LISTEN off (0.00/0/0)
tcp6 0 0 127.0.0.1:8080 :::* LISTEN off (0.00/0/0)
tcp6 0 0 :::36043 :::* LISTEN off (0.00/0/0)
tcp6 1 0 192.168.1.240:50125 67.199.248.11:443 CLOSE_WAIT off (0.00/0/0)
tcp6 25 0 192.168.1.240:49693 185.199.108.133:443 CLOSE_WAIT off (0.00/0/0)
tcp6 25 0 192.168.1.240:54799 172.67.129.53:443 CLOSE_WAIT off (0.00/0/0)
tcp6 25 0 192.168.1.240:39925 104.21.1.121:443 CLOSE_WAIT off (0.00/0/0)
tcp6 25 0 192.168.1.240:49025 185.199.108.133:443 CLOSE_WAIT off (0.00/0/0)
udp 89216 0 192.168.1.240:38748 104.16.160.101:443 ESTABLISHED off (0.00/0/0)
udp 0 0 0.0.0.0:39413 0.0.0.0:* off (0.00/0/0)