13
How to Setup your own Pen-testing Laboratory In order to practice your hacking skills you need a virtual environment. Many of you have a lot of difficulty setting up your hacking environment to practice your hacks. In this document, I will show you the simplest and fastest way to set up a lab in order to practice your hacks before taking them out into the real world where any slip-ups could be devastating.

H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

How to Setup your own Pen-testing Laboratory In order to practice your hacking skills you need a virtual environment. Many of you have a lot of difficulty setting up your hacking environment to practice your hacks. In this document, I will show you the simplest and fastest way to set up a lab in order to practice your hacks before taking them out into the real world where any slip-ups could be devastating.

Page 2: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

Step 1: Download the VMware Workstation

Download Link : here Step 2: Now, Install VMware Workstation.

1. Double click on vmware.exe file.

2. Accept the Licence Agreement. Click on “I Accept the terms in Licence Agreement”.

Page 3: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

3. Click on Next after custom Settings.

4. Click on Install and install the VMware Workstation.

Page 4: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

5. Click on finish. 6. Now open the VMware Workstation.

Step 3: Download Kali Linux and Install Kali Linux.

Page 5: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

Download Link : here Choose the Kali Linux VMware image and download it.

Unzip the downloaded file and open it with VMware workstation. Follow the steps:

1. Open the VMware Workstation.

Page 6: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

2. Locate the file(.vmdk) in local system and open it with VMware Workstation.

3. Once you open the you can edit the virtual machine settings a. Edit the information like RAM b. Network Adapter Setting

Page 7: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

4. Click on “Power on this virtual machine” and start your Kali Linux machine

5. Default Username and password are:

a. Username : root b. Password : toor

6. Your Kali Machine is up and running

Page 8: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

7. Click on “Enter Full Screen mode” as shown above.

Step 4: Update your Kali Linux system and change the repositories

Page 9: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

1. Open the terminal 2. Type the following commands:

a. nano /etc/apt/sources.list

b. Remove all the text written in the sources.list and paste the following in sources.list file.

deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib

Page 10: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

c. Save and exit from the file using ctrl+X and enter Y to save the changes. 4. Type the following command to update your system: apt-get update

5. Now Kali Linux is updated and you can use this machine for hacking. All the tools like wireshark, burp suite, etc are preinstalled in it.

Page 11: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

How to Install Windows On VMware and Tools for Reverse Engineering: 1: Download the Windows 7 and install on vmware. Follow the process as shown below in images.

2. Click on Create a New Virtual Machine and select iso image of windows 7.

a. Select Typical(recommended) and click on next. b. Browse the iso image and click on next.

Page 12: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

c. Fill in the details like username and password. d. Select the folder (where you want to store all the files.) e. Click on Next and finish the initial configuration. f. Now start the Windows Virtual Machine and install the windows 7.

Page 13: H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o …...H o w to S e tu p y o u r o w n P e n -te s ti n g L a b o r a to r y In order to practice your hacking skills you

g. Once the Windows 7 is installed,download the VM tools. (Allow System to Download VM tools)

h. Download the Immunity Debugger tool from the here and install it in Windows