Port Scan | SEEzer - Aravindhan's BLOG

Monday, February 15, 2010

Port Scan

Scanning, as a method for discovering exploitable communication channels, has been around for ages. The idea is to probe as many listeners as possible, and keep track of the ones that are receptive or useful to your particular need. Much of the field of advertising is based on this paradigm, and the "to current resident" brute force style of bulk mail is an almost perfect parallel to what we will discuss. Just stick a message in every mailbox and wait for the responses to trickle back.


Scanning entered the h/p world along with the phone systems. Here we have this tremendous global telecommunications network, all reachable through codes on our telephone. Millions of numbers are reachable locally, yet we may only be interested in 0.5% of these numbers, perhaps those that answer with a carrier.

The logical solution to finding those numbers that interest us is to try them all. Thus the field of "wardialing" arose. Excellent programs like Toneloc were developed to facilitate the probing of entire exchanges and more. The basic idea is simple. If you dial a number and your modem gives you a CONNECT, you record it. Otherwise the computer hangs up and tirelessly dials the next one.


While wardialing is still useful, we are now finding that many of the computers we wish to communicate with are connected through networks such as the Internet rather than analog phone dialups. Scanning these machines involves the same brute force technique. We send a blizzard of packets for various protocols, and we deduce which services are listening from the responses we receive (or don't receive).

Some of the techniques are:
TCP connect() scanning
TCP SYN scanning
TCP FIN scanning
Fragmentation scanning
TCP reverse ident scanning
FTP bounce attack

No comments:

Post a Comment

About Me

My photo
Erode, Tamilnadu, India
Not much to say, I wish privacy on all aspects and a key role on way i came threw...

Followers

 
Copyright SEEzer - Aravindhan's BLOG 2010.
Maintained by by Aravindhan P .