Is running the Microsoft FTP Service (Version 5.0).
To install amap on a Windows computer:
From the directory containing the amap executable, to scan a target
with an IP address of 24.227.197.21 run the FTP service and grab the
banner information by typing the following:
amap ??“B 172.16.1.40 21
Banner Identification 83
Amap for Windows will execute:
As in the Linux example, the target:
Resolves to the hostname of win2000s-v.
Is running the Microsoft FTP Service (Version 5.0).
84 Practical Hacking Techniques and Countermeasures
Lab 6: Banner Identification
Banner Grabbing: BANNER.C
Prerequisites: None
Countermeasures: Uninstall/disable unnecessary services, SSH, VPN,
IPSEC, banner alteration.
Description: The banner.c script is compiled and used to obtain specific
banner information from other running services by connecting to other
ports on the target. An attacker uses this information to launch appropriate
attacks for the results obtained. Remember that all commands
in Linux are case sensitive.
Procedure: From a Linux terminal, compile the banner.c script and then
type the following with the syntax of:
./banner (Start IP) (End IP) (Start Port) (End Port)
From the Linux directory containing the script compile the banner.c script
first by typing gcc banner.c ??“o banner.
Once compiled, type:
./banner 192.168.11.120 192.168.11.120 21 21
*Note: Your target IP may vary as in this example, the IP address of my target was
192.
Pages:
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56