Anda di halaman 1dari 15

WIRELESS NETWORK SECURITY -

LAB 1 ASSIGNMENT
Installation and Configuration of Kali Linux Virtual
Machine and Debian Linux Virtual Machine

Abstract
Aim is to setup a Kali Linux virtual machine and Debian Linux virtual machine and
connect these two machines, so both systems can interact with each-other
Step 1: Launch a New Virtual Machine
On the VMware Workstation Pro Version 15.5, click on "Create a New Virtual Machine," choose the Kali Linux
2019.3 version iso file, and configure virtual machine details. Start the virtual machine by selecting the Kali Linux
VM, and then clicking on the “Power On” button.

Installation Procedure – KALI OS


Once the machine is started, preferred installation mode will be prompted in the GRUB menu. Select
graphical install and continue.

1
 After collecting some local information such as location, country and key board layouts, the loader will
automatically install some additional components and configure network related settings. Then the
installer will prompt for a hostname and domain for this installation.

 Set a password for the Kali Linux machine and hit continue.

2
 After the password is set, the installer will now provide us four choices about the partitions of the disk.
Select the option "Guided – Use Entire Disk."

 Select the partitioning disk (the recommended option is all files in one partition for new users) and then
click on "Continue."
3
 Confirm all changes to be made to the disk on the host machine.

 After that the system will ask to set up a network mirror to obtain future pieces of software and updates.

4
 Next, a prompt will be asked to install the GRUB boot loader. Select "Yes" and click on "Continue” button.

5
 Once the installer finishes installing GRUB to the disk, click on "Continue" to finish the installation; it will
install some final stage files. Once the installation completed, then the VM will reboot.

 Once the VM reboots, we will be able to see the Kali Linux login screen.

6
 Once logged in, we will be able to see the Kali Linux login screen.

 Next we will install Debian Linux Operating system on a new virtual machine workstation

 Choose “Graphic Install” to begin the Debian Installation in graphical mode.

7
Configure the network:

 Set the hostname for the system

 Set the Create a new, non-root user for non-administrative activities.

8
 Next, choose (Guided – use entire disk) partition methods to create partitions during the installation
process and Choose “Yes” to install the GRUB boot loader to the master boot record.

 The installation is now complete, click “Continue” to reboot the system.

9
Debian 9 Gnome Desktop:

 Now Login Kali Linux again as root user and get the IP details

IP Address: 192.168.111.131

10
 Now Login Debian Linux as user “vinish”, open the terminal, type the command “su –“ and enter root
password and hit enter.

 Let’s install our first application on Debian.


 Type :#apt-get install sudo –y

11
 Next we need to add our normal debian user to the sudoers configuration file. To do this
type :#usermod –aG sudo yourusername

 Next reboot the guest user and login with the given username. In Debian, now we need to
renew our IP address (it’s changed because we changed networks) to do this type: $sudo
dhclient

12
 In debian, to get the IP details, type :$ip addr

 Now, let’s make them talk! First let’s ping one guest with the other, leave Debian running and
go back to your kali guest, in the terminal type :#ping 192.168.111.113

13
 Now in Kali guest terminal type :#ssh yourusername@192.168.136.129

 Then answer yes, confirming that that is the correct endpoint and enter your debian user’s
password.

14