HostedDB - Dedicated UNIX Servers

ICMP_Scanning_28
ICMP Usage in Scanning 28 Copyright Ó Ofir Arkin, 2000 http://www.sys-security.com zuul:~>traceroute -p28 10.0.0.10 traceroute to 10.0.0.10 (10.0.0.10), 30 hops max, 40 byte packets 1 10.0.0.1 (10.0.0.1) 0.501 ms 0.399 ms 0.395 ms 2 10.0.0.2 (10.0.0.2) 2.433 ms 2.940 ms 2.481 ms 3 10.0.0.3 (10.0.0.3) 4.790 ms 4.830 ms 4.885 ms 4 10.0.0.4 (10.0.0.4) 5.196 ms 5.127 ms 4.733 ms 5 10.0.0.5 (10.0.0.5) 5.650 ms 5.551 ms 6.165 ms 6 10.0.0.6 (10.0.0.6) 7.820 ms 20.554 ms 19.525 ms 7 10.0.0.7 (10.0.0.7) 88.552 ms 90.006 ms 93.447 ms 8 10.0.0.8 (10.0.0.8) 92.009 ms 94.855 ms 88.122 ms 9 10.0.0.9 (10.0.0.9) 101.163 ms * * 10 * * * But with the regular traceroute program we now face another difficulty. After the datagram have passed the ACL of the Firewall (and we assume the firewall lets ICMP TTL Exceeded messages out) and listed the outer leg of the Firewall itself as the next hop, the next UDP datagram sent would be with a different port number - Than again it would be blocked by the firewall.   A modification to the traceroute program has been made by Michael Shiffman25 in order to stop the port incrementation. One side affect from sending traceroutes with a fixed port number, which is allowed on the firewalls ACL, is the final datagram, which normally would generate an ICMP Port Unreachable message now would not be generated since the UDP port would be in a listening state on the probed machine and would not provide an answer. zuul:~>traceroute -S –p53 10.0.0.15 traceroute to 10.0.0.15 (10.0.0.15), 30 hops max, 40 byte packets 1 10.0.0.1 (10.0.0.1) 0.516 ms 0.396 ms 0.390 ms 2 10.0.0.2 (10.0.0.2) 2.516 ms 2.476 ms 2.431 ms 3 10.0.0.3 (10.0.0.3) 5.060 ms 4.848 ms 4.721 ms 4 10.0.0.4 (10.0.0.4) 5.019 ms 4.694 ms 4.973 ms 5 10.0.0.5 (10.0.0.5) 6.097 ms 5.856 ms 6.002 ms 6 10.0.0.6 (10.0.0.6) 19.257 ms 9.002 ms 21.797 ms 7 10.0.0.7 (10.0.0.7) 84.753 ms * * 8 10.0.0.8 (10.0.0.8) 96.864 ms 98.006 ms 95.491 ms 9 10.0.0.9 (10.0.0.9) 94.300 ms * 96.549 ms 10 10.0.0.10 (10.0.0.10) 101.257 ms 107.164 ms 103.318 ms 11 10.0.0.11 (10.0.0.11) 102.847 ms 110.158 ms * 12 10.0.0.12 (10.0.0.12) 192.196 ms 185.265 ms * 13 10.0.0.13 (10.0.0.13) 168.151 ms 183.238 ms 183.458 ms 14 10.0.0.14 (10.0.0.14) 218.972 ms 209.388 ms 195.686 ms 15 10.0.0.15 (10.0.0.15) 236.102 ms 237.208 ms 230.185 ms                                                  25 http://www.packetfactory.net