You are on page 1of 13

Lab Setup

MH13CYB3R

Lab for pc

Lab for Android


Lab Setup for Desktop

We will use a program called Virtual Box to setup our pentesting lab.
Virtual Box allows us to create virtual machines inside our current OS.
We will create the following machines in our lab (for now):
1. Attacker machine - Kali Linux
2. Victim 1 - Metasploitable.
3. Victim 2 – Windows.

First of all download and install Virtual Box from


https://www.virtualbox.org/wiki/Downloads

2 MH13CYB3R
The Lab - Configuring Kali Linux

1. Install guest additions


> apt-get install virtualbox-guest-x11
2. Update the source list
> apt-get update
3. Install needed updates
> apt-get upgrade
4. Install terminator
> apt-get install terminator

3 MH13CYB3R
The Lab - Kali Linux

Kali Linux is a linux distribution based on Debian, Kali is especially made for
pentesters, it contains most of the tools that we need, installed and configured
correctly.
This is going to be the attacker machine.
1. You can download Kali Pre Built machines from the following link:
https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-dow
nload/
2. Or use the iso image:
https://www.kali.org/downloads/

4 MH13CYB3R
The Lab - Installing Metasploitable

Metasploitable is a vulnerable linux distro, this OS contains a number of


vulnerabilities, it is designed for pentesters to try and hack it.
This is going to be one of the victims that we will try to hack.

You can download Metasploitable from the following link:

https://information.rapid7.com/metasploitable-download.html

5 MH13CYB3R
The Lab - Installing Windows

We will also install a normal windows machine as a victim, we will be


running our attacks against this machine.
Microsoft has released a number of windows virtual machines that can
be downloaded from the following link (make sure you select windows 10
stable and virtual box)
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

6 MH13CYB3R
Installing Kali NetHunter In Termux

1. Check your path on Termux by typing This Command


termux-setup-storage

2. Install wget Packages for termux type This Command


pkg install wget

3. Install Kali NetHunter Package for wget run This Command


wget -O install-nethunter-termux https://offs.ec/2MceZWr

4. We need to Grant Permission to run the script in order to operate Without Permission Type
chmod +x install-nethunter-termux

7 MH13CYB3R
4. We need to Grant Permission to run the script in order to operate Without Permission
Type
chmod +x install-nethunter-termux

5. Run Kali Installing Script


./install-nethunter-termux

6. Set NetHunter and vnc Server Password


nethunter kex passwd

8 MH13CYB3R
Run Vnc Server to use This Command (Desktop user sessions)

Start VncServer Sessions


nethunter kex &

Stop Vncserver Sessions


nethunter kex stop

9 MH13CYB3R
Run NetHunter Termux steps

Run NetHunter Termux Command Line Interface

>nethunter

Run NetHunter Root User Command Line Interface

>nethunter -r

Set NetHunter Root Password

>nethunter -r kex passwd

10 MH13CYB3R
Run NetHunter Vnc Server Root User

Start VncServer Sessions

>nethunter -r kex &

Stop Vncserver Sessions

>nethunter -r kex stop

Run NetHunter Shortcut key

>nh

11 MH13CYB3R
Kali update

Launch

> sudo apt update && sudo apt-full upgrade -y

the first step after installing Kali update.

If you have more storage space available you may want to use

> sudo apt install -y kali-linux-default

again.

12 MH13CYB3R
Whatsapp:https://wa.me/+918087028651

13

You might also like