Showing posts with label Backtrack Tutorials. Show all posts
Showing posts with label Backtrack Tutorials. Show all posts

Friday, 20 September 2013

Things To Know About Backtrack Distribution

There are several organizations that have worked tirelessly to create various security based Linux Distribution . Among the most well known Penetration Testing distribution is known as " BACKTRACK ". Backtrack is not new now .

For  a hacker a Backtrack Linux is like a dream come true . Whole distribution comes preloaded with hundreds of security tools that are already installed .

The Best thing about the Backtrack is : Its FREE!






Point to be Remember 1 : When you  run your Backtrack DVD , shortly after system will presented the menu list . you need to be carefully review this list , its contains several different options .


  • If you have some trouble getting Backtrack to boot , then choose  Backtrack Debug - Safe Mode 
  • If you want to run the system memory test then select Backtrack Memtest - Run memtest
  • If you just wanna start Backtrack Live then Choose Backtrack Text - Default Boot Text Mode
Point To Be Remember  2 : Once system is loaded you will be presented with a log-in prompt. 
                                               You have to enter the username as a root and Password as a toor





Point to Remember 3 : Once you logged into the system it shows root@bt : ~#(shown below )





Here you have to enter startx command . Once enter key is pressed system will begin to load . Once it completely loaded , you will see the desktop .




Point to Remember 4 : Commands used on Backtrack Linux .


  • konsole : This command is used to start the terminal .
  • ifconfig  : This command is used to view system ip address.
  • ifconfig -a : This will shows the interface available like " eth0 " and " lo " .Here eth0 is your " ethernet card" and " lo " is  a loop-back adapter .
  • ifconfig eth0 up : This command is used to turn on the network card.
           Example : ifconfig eth0 up 192.168.127.131
  • poweroff or init 0  : This command is used to shutdown the Backtrack .
  • reboot : This command is used to reboot Backtrack .


These are some points which should remember while using Backtrack Linux OR any other Linux .

How To Install Backtrack In Your System

Backtrack is Linux Based Penetration Testing Operating system which provides many inbuilt tools which are used for vulnerability assessment, exploitation and penetration testing. 
Frist Of all Boot your Backtrack From CD/DVD. Then select option for Default Text Mode. Now Let It load First. After that follow following tutorial:


Lets start with first snapshot i.e Installing of Backtrack .



Step  1 :Click On Backtrack Icon.


Step 2 : Click On Forward Button

Step 3:Select your Time Zone and press Forward button.
Step 4: Keyboard Layout: Select your layout and press Forward Button.

Step 5 : Now here you have 2 options 
  • Erase and use the entire disk : If you use this option it will delete your entire disk and installed  Backtrack on your harddisk  .
  • Specify partitions manually (advanced) : If you opt this option then you have to create partition on harddisk . 
Lets start from 1st Process :Erase and use the entire disk

 

Step 6 : Click on Install Button : In this process  no need to creating any partition on harddisk system will automatically created partition .

Second Option : Specify partitions manually (advanced)



 
Prepare Partitions : Select /dev/sda and click new partition . When new partition created it will look like below image -

Now new partition created now create a Linux Partitions i.e 
/  Partition (also called root ) : It is a partition where all Linux files are stored .
/boot  Partition : All the Linux Booting files are stored on Boot .
swap  Partition : It is a Virtual Memory .
Note :  Always remember that two main files are responsible for booting -

  1. GRUB(Grand Unified Boot Loader)
  2. LILO (Linux Loader)

First : create root partition and put Mount Point as / (root) and press OK

Your root created now .
 Applying same step to create /boot partition -
Select partition as : Logical
Partition Size :1000
Mount Point : /boot

Press OK
After creating /boot partition it will look like this image .
Now create a Swap Partition
The only change we have to do is in Size  and Mount Point 
Size : Give double the size of RAM 
Example : if i have 512 Ram then assigned 1024 mb of size.
Use as : Swap Area
Swap area is created . Now press Forward button




Press Install and start installation.
Installation process running in middle of the process shows this windows shown below -


Installation Process : In the middle  of installation you see this type of process going on .
Installtion Completed 
Restarted Now


Your Installation Completed
Now start Exploiting

Sunday, 15 September 2013

How to use TheHarvester on Backtrack 5 [Tutorial]


  • What is theharvester ?
  • What should we know to use it ?
  • How can I access to theharvester directory ?
What is theharvester

theharvester is the Information Gathering Tool which is already present in the Backtrack 5 .
What should we know to use it 

To use theharvester we must know about the Linux ,today i want you people use linux commands.
Here we use some common commands like :
  • cd     :- Used to changing the directory .
  • cd ..  :- Used to come back one step.
  • ls      :-Used to listing the files and directories without showing permissions.
  • ls -l   :-Used to listing files and directories with permissions.

How can I access to theharvester directory 


To access theharvester directory Firstly open 

Konsole>Type ls : It shows all the files on the directory
Type cd .. : This command  takes you back to the root directory .
Type ls : Now you can see all blue color directories shown in the above image under root directory.


  • Type cd Pentest 
  • Type ls
  • Type cd enumeration
  • Type ls
  •  After this it will shows you theharvester directory .
  • Type cd theharvester.

Now type : ./theHarvester.py -d <domain name> -l 10 -b google
Example : ./theHarvester.py -d amizone.net -l 10 -b google

Here :

  • " ./theHarvester.py " is used to start the tool .
  • -d is used to specify the domain.
  • -l is used to limit the number of results.
  • -b is used to specify that in what search engine we want to search. We can take google,Bing etc.
Here you can see that different hosts are found .This is how we gather Information by using the tool 
'theHarvester "
Only On Backtrack 5 
Enjoy!

Nmap Scanning on Backtrack 5 [Detailed Tutorial]



Nmap is a program that scans all of the ports in your computer and check it  whether they are open or not.

So lets start the scanning process in Backtrack 5 Environment.



Ping Scan 


Range Scan 


Stealth Scan (-sS) 


OS SCAN : It showed us which Operating system is running by 
             the host.



TCP SCAN : This scan will show all the open tcp ports . 

ADVANTAGES :

  1. Speed
  2. Free to use 
  3. Don't need priviledges
DISADVANTAGES
  1. Easily Detectable and Filterable .

FIN SCAN 



NULL SCAN


UDP SCAN
In udp scanning we use udp scan instead of tcp scan .


Protocol Scan -sO <Target Ip >


IP PROTOCOL SCAN 

This Scan is used to find the ip protocols in use .



ACK (Acknowledgement Scan)