Explain port scanning

A port scan can assist you to figure out whether ports on a network are open, listening, or closed. This is used by administrators to test network security and the firewall strength of the system. It is a common reconnaissance tool for hackers to discover the weak point in a system in order to get in.

The following are some of the most frequent basic port scanning techniques:

  1. UDP
  2. Ping scan
  3. TCP connect
  4. TCP half-open
  5. Stealth scanning