*Note: If you find you are not obtaining the results desired, try initiating a NULL
session to the target.
Target Enumeration 105
Lab 16: Target Connectivity/Route
Detect Target Connectivity: PingG
Prerequisites: None
Countermeasures: Deny Internet Control Messenger Protocol (ICMP)
requests/reply
Descriptions: The ping application is used by an attacker to ???see??? if a
target is connected to the network/Internet as the target will respond
with a ping reply.
Procedure: From a DOS prompt or Linux shell type the following with
the syntax of:
ping (Target IP or Hostname)
In this example, the target is active and, based on the hostname of
www.google.com, returns its IP address of 64.233.167.99. Now the attacker
has obtained the IP address of the target.
106 Practical Hacking Techniques and Countermeasures
The ping command works in the same way in the Linux environment.
Notice that when you use the ping command by ???pinging??? the hostname,
the IP address is returned.
Sometimes when searching for the hostname with the ping utility, the
hostname is not received as in the previous example. In Windows computers
ping may still be useful by using the optional ??“a switch (case sensitive).
ping ??“a (Target IP or Hostname)
*Note: One difference between the Windows ping and other operating systems is
that Windows does not provide the option to select the specific NIC to ping
the target (providing you have multiple NICs in the ???pinging??? computer).
Pages:
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66