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?

0 0

Readers' Questions

  • ISENGRIN
    Which tool is a port scanner?
    1 month ago
  • Nmap (Network Mapper) is a commonly used port scanner.
    • REGINA
      What are port scanners?
      1 month ago
    • Port scanners are tools used to scan a computer or network for open ports. They are used to identify which ports are open and what services may be available through those ports. It can also be used to detect security vulnerabilities and to notify administrators of open ports that should be closed.
      • william
        What is a port scanner?
        7 months ago
      • A port scanner is a type of software that enables users to scan for open ports on a networked device or host. By scanning for open ports, attackers are able to identify services that are running on the system, as well as determine which ports can potentially be used to gain access to the system.