Port Scanning Tools
Port-scanning tools function by attempting to connect to a host using a range of TCP and UDP ports. This information can then be used to determine which ports are listening, and thus which applications are probably running on the host. Portscanning tools are one of the best ways to test your firewall ruleset, because the ruleset should allow traffic only on the ports that you have defined. If you port scan the firewall (or the IP addresses of the protected hosts the firewall is protecting) and find that it responds on ports other than the ones that you have defined, there is a good chance that the firewall ruleset is misconfigured and therefore may be exposing the protected host/network to external threats.
The most common and popular port scanner is Nmap. Nmap is an open source utility that runs on Windows, Linux, and UNIX hosts and can be downloaded from http://www.insecure.org. Nmap contains both a command-line utility and a graphical front end; however, the Windows graphical front end has not been maintained and updated for quite some time.
Running Nmap is a straightforward process. Running Nmap without any options brings up the usage screen, as shown in Example A-9.
Continue reading here: Example A10 Basic Nmap SYN Port Scan Against a Cisco Secure PIX Firewall
Was this article helpful?
Readers' Questions
-
ISENGRIN1 month ago
- Reply
-
REGINA1 month ago
- Reply
-
william7 months ago
- Reply