You are on page 1of 8

Network

Security Lab Manual - Pondicherry University

Table of Contents
Introduction 0
Chapter 1 - Virtualization 1

2
Network Security Lab Manual - Pondicherry University

Network Security Lab Manual


Network Securiy is a lab course offered at Pondicherry Universtity as a part of post graduate
M.Tech Networks & Internet Engineering programme.

The objective of this lab course is to study various crypto tools and algorithms. Througout
this manual we will try to stick with Free Software tools.

Introduction 3
Network Security Lab Manual - Pondicherry University

Chapter 1 - Virtualization

Objective
Learn how to install Virtualbox and use the same to run a GNU/Linux based operating
system as a guest operating system on top of host operating system.

Terminologies
Before getting started, lets get familiar with some terminologies.

Virtualization: In computing, virtualization refers to the act of creating a virtual (rather


than actual) version of something, including virtual computer hardware platforms,
operating systems, storage devices, and computer network resources. (Source:
Wikipedia)
Hypervisor: A hypervisor or virtual machine monitor (VMM) is a piece of computer
software, firmware or hardware that creates and runs virtual machines. (Source:
Wikipedia) In our experiment, Virtualbox is a hypervisor.
Host Operating System: Operating system that you have installed in your computer
hard disk. In this experiment you could use any operating system that supports
Virtualbox.
Guest Operating System: Operating system that you are going to use virtually inside
your host operating system using a hypervisor like Virtualbox. In this experiment we are
going to use KALI GNU/Linux operating system as guest OS.
i386: 32 Bit Architecture.
AMD64: 64 Bit Architecture.
OVA: Open Virtualizaton Archive is a open standard format for storing virtual images.

Downloads
Note: If you run Windows operating system proceed with 1 and skip 2, else if you run a
GNU/Linux based operating system proceed with 2 and skip 1. 3rd download is mandatory.

1. Virtualbox for Windows hosts - Visit https://www.virtualbox.org/wiki/Downloads and


download virtualbox for windows hosts if your host operating system is Windows.
2. Virtualbox for GNU/Linux hosts - Visit https://www.virtualbox.org/wiki/Linux_Downloads

Chapter 1 - Virtualization 4
Network Security Lab Manual - Pondicherry University

and download 32 bit or 64 bit binary according to the distribution that you have installed.
3. KALI GNU/Linux Virtualbox Image (download either 32 or 64 bit depending on your host
operating system's architecture type)
i. 32 Bit - https://images.offensive-security.com/virtual-images/Kali-Linux-2016.1-
vbox-i686.7z
ii. 64 Bit - https://images.offensive-security.com/virtual-images/Kali-Linux-2016.1-
vbox-amd64.7z
4. 7zip compression and decompression tool
i. 7zip for Windows - http://www.7-zip.org/
ii. 7zip for GNU/Linux (run these on terminal)
i. Ubuntu / LinuxMint - sudo apt-get install p7zip-full p7zip-rar
ii. Fedora / Redhat / CentOS - sudo yum install p7zip p7zip-plugins
iii. Arch Linux - sudo pacman -S p7zip

Steps
1. Install Virtualbox
2. Decompress the Kali Linux 2016 vbox 7z file.
3. Once decompressed, Kali Linux 2016 vbox ova file will be available for you.
4. Open this ova file with Virtualbox.

Chapter 1 - Virtualization 5
Network Security Lab Manual - Pondicherry University

5. Press Import button and wait till it gets completed.

Chapter 1 - Virtualization 6
Network Security Lab Manual - Pondicherry University

6. You should see Kali-Linux-2016.1-vbox Image entry on the left panel

7. Press Start button after selection Kali Linux. A new window should pop up starting KALI
GNU/Linux. The Username is root and password is toor.

Chapter 1 - Virtualization 7
Network Security Lab Manual - Pondicherry University

Congratulations, we have successfully installed Virtualbox and operated a guest operating


system (Kali GNU/Linux). We did not create a new virtual machine, we have used a
snapshot (.ova file) of already built virtual machine and imported into virtualbox which
created everything for us.

From next time, you have to open Virtualbox and select KALI Linux and Press Start.

Chapter 1 - Virtualization 8