Hacking Class 4 – Scanning and Attacking Open Ports

Lokesh Singh October 20, 2009 16

In my Previous class I have explained about footprinting i.e getting the IP of the Person/website/organisation whom you want to attack and extracting the personal Information.. You all were thinking that what was the use of that .. In this class you will came to know why we have undergo footprinting and analysis part…

In Scanning Part We Will Cover the Following Topics in details :

~ Definition of scanning
~ Types and objectives of Scanning
~ Understanding Scanning methodology
~ Checking live systems and open ports
~ Understanding scanning techniques
~ Different tools present to perform Scanning
~ Understanding banner grabbing and OS fingerprinting
~ Drawing network diagrams of vulnerable hosts
~ Preparing proxies
~ Understanding anonymizers
~ Scanning countermeasures

Hacking Class 4 - Scanning and Attacking Open Ports

What Is Scanning ?? And Why We Focus On that ?

 Scanning as from the name means that we will scan something to find some details etc etc… Scanning basically refers to the gathering of following four informations…

We Scan systems for four basic purposes :-

  • To find specific IP address
  • Operating system
  • System Architecture
  • Services Running on system

The various types of scanning are as follows:
~Port Scanning
~Network Scanning
~Vulnerability Scanning

I want to Define These Terms here Only as they are of great use in further tutorial…

PORT SCANNING : There are 64k ports in a computer out of which 1k are fixed for system or OS services. In Port scanning we scan for the open Ports which can be used to attack the victim computer.
In Port scanning a series of messages sent to break into a computer to learn about the computer’s network services. Through this we will know that which port we will use to attack the victim..

Network Scanning : Network scanning is basically a procedure of finding the active hosts on the Network.
i.e We tries to find that system is standalone or multiuser…

This is done either for the purpose of attacking them or for network security assessment i.e how secured the network Is ??

Vulnerability Scanning : As from the name , In this type of scanning We scan the systems for finding the vulnerability i.e the weakness in OS/database … Once we find the vulnerability or loop hole we can utilize it to Best..and attack the victim through that …

These are Primary objectives of scanning i.e why do we do scanning :

~ To detect the live systems running on the network.
~ To discover which ports are active/running.
~ To discover the operating system running on the target system (fingerprinting).
~ To discover the services running on the target system.
~ To discover the IP address of the target system.

We will prefer TOOLS for this because they will reduce our Hectic Work… The first Tool that we Use is the NMAP :
DOWNLOAD :http://nmap.org/dist/nmap-5.00-setup.exe

Features of NMAP :

~ Nmap is used to carry out port scanning, OS detection, version detection, ping sweep, and many other techniques.
~ It scans a large number of machines at one time.
~ It is supported by many operating systems.
~ It can carry out all types of port scanning techniques.

Hacking Class 4 - Scanning and Attacking Open Ports


Itz is a collection of various Networking Tools … must for beginners…
DOWNLOAD: http://www.softpedia.com/progDownload/Net-Tools-Download-22193.html

~ Net Tools Suite Pack is a collection of scanning tools.
~ This toolset contains tons of port scanners, flooders, web rippers, and mass e-mailers.
Note: Some of these tools may not Work but some are too good.

Hacking Class 4 - Scanning and Attacking Open Ports

Hacking Class 4 - Scanning and Attacking Open Ports

I thisnk that’s Enough for Today .We will discuss more on scanning tomorrow Until You try these tools..
If you have any problem in Using these tools then you can ask me ..I will help you use these tools…



  1. Deepak October 20, 2009 at 1:36 am - Reply

    thanks ! I will try these tools..

  2. Ashwin October 20, 2009 at 1:37 am - Reply

    Nettools is really a awesome package.. thanks bro.

  3. Anonymous October 20, 2009 at 2:55 am - Reply

    Both tools are too goood…great info :))

  4. Jeetendra October 20, 2009 at 3:00 am - Reply


  5. Vinay October 20, 2009 at 3:10 am - Reply

    Nmap is master software…lol it extracts all information :P :D

  6. Meghraj October 20, 2009 at 1:58 pm - Reply

    Thanx but u didn’t reply my last question…

  7. LOKESH@ADMIN October 20, 2009 at 2:44 pm - Reply

    which one..

  8. Meghraj October 20, 2009 at 11:29 pm - Reply

    The question was..
    what are this ms ??? which line is for what… its lill different with mine…. many came as timeout or….


    Last time i asked u what are the popups that was bursting and u said it was orkut prob… but now happens quite often and while opening other sites also… plz help!! Are u get boared if i ask u questions ..ha ha .. b’coz everything u want to teach, I want to learn better.. Thank U.

  9. LOKESH@ADMIN October 21, 2009 at 12:41 am - Reply


    Someone has send you an Ebomb… Ebomb is a program which opens a number of windows of your web browser and make ur system Hang… Download Avira antivirus and spyware terminator and run a through scan….It will solve your Problem…

  10. Meghraj October 21, 2009 at 9:28 am - Reply

    Thank U.. I’m using avg 8.5 internet security.. and spybot SD resident ..will it help me…???

  11. LOKESH@ADMIN October 21, 2009 at 11:56 am - Reply

    yaa AVG is too good….and sufficient in itself..

  12. Meghraj October 22, 2009 at 3:55 am - Reply

    Whats up Lokesh… no class.. yesterday???? waiting for the class…hmmm!!

  13. Lokesh@Admin October 22, 2009 at 6:07 am - Reply

    Brother Today I am having my exam of Programming languages and anlysis …. am pity much busy in preparation..

  14. Meghraj October 22, 2009 at 8:25 am - Reply

    ooooo Good Luck for the exam!!!!

  15. Anonymous December 28, 2009 at 3:31 pm - Reply

    hey bro,,,,,how 2 scan,,,,,help me out wid steps….plzz

  16. sandipdey3 January 23, 2010 at 5:10 am - Reply

    Excellent informative article.Good luck for your exams!!

Leave A Response »

Comment moderation is enabled. Your comment may take some time to appear.