If you are using telnet, a port number is assigned when the session starts. The number is canceled when the connection is closed. Port scanning is a way to probe a remote computer to find out what ports are open. There are literally dozens of programs available in various places on the Web that that can be used to ping a machine and find out what ports are responding. After discovering what ports are accessible, the next step is to look for ways to use the open port as a doorway into the machine.
Hackers look for vulnerabilities in the programs that are reachable through an open port.
These vulnerabilities are known as exploits, and catalogs of exploits are available on numerous Web sites. Once a hacker finds an exploit, attacking a machine can be pretty easy. Todd Campbell is a writer and Internet consultant living in Seattle. The Answer Geek appears Mondays and Thursdays. I L Log in or register to join the Answer Geek e-mail list.