0% found this document useful (0 votes)
14 views20 pages

Kali Linux Installation & Setup Guide

Kali Linux - Guide

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views20 pages

Kali Linux Installation & Setup Guide

Kali Linux - Guide

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of Vulnerability- Updated on: [Link]

Kali Linux - Guide of


Installation and Configuration of

a Hacking Environment
Ethical and Testing
Vulnerability

ABOUT COPYRIGHT 3

USE OF THE BOOK 3

ABOUT PEDRO DELFINO 3

1) About Kali Linux 5

2) System requirements to set up your environment with Kali Linux 6


2.1) Let's go to the requirements for the installation of Kali Linux 7

3) How to create a bootable USB drive for installing Kali Linux 7

3.1) For those who do not use Linux 7


3.2) For those who already use Linux 9

How to create a bootable USB drive with Kali Linux 9

4) Installation of Kali Linux 11

Conclusion 19

2
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdate on:[Link]

ABOUT COPYRIGHT
All rights reserved. No part of this book may be
reproduced or transmitted freely in any form, without the
prior consent of its authors. If by chance you are interested in
publication of a book review please contact
atendimento@[Link]. Updates do book visit always
[Link]

USE OF THE BOOK


The author of this book is not responsible directly or indirectly for
use of any of the exercises or tips contained therein. These
exercises and tips are based on personal and professional experiences of
Pedro Delfino, as well as the experience gained through testimonies of
other users. The aim of this book is to teach how you can set up your
work environment using Kali Linux, focused on Ethical Hacking and Testing
of Vulnerability

ABOUT PEDRO DELFINO


Peter Dolphin é o founder do PROFESSIONALS LINUX
([Link] has the main objective of forming
new professionals to work in the area of LINUX server administration
as well as open source solutions, is the author of E-tinet, ([Link]
blog about LINUX solutions that has already helped thousands of readers with its Ebooks

and online training.

3
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdate on:[Link]

I have been using Linux as a work tool for over 14 years, and for more than 3
for years have been helping thousands of people learn Linux easily
quickly, through articles on your Blog.

4
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdate on:[Link]

1) About Kali Linux


Kali Linux is undoubtedly one of the best Linux distributions.
available for security tests and hackers in general.

Many of the tools from Kali Linux can be installed on most of the
distributions, the Kali development team invested hours and more hours
to improve its distribution 100% focused on security, and ready to
initialize on any computer.

Kali Linux is a distribution focused on information security and


based on Debian. The distribution comes with hundreds of tools for
well-known security, and today it already has a great reputation.

In the image below, a scene from the series Mr. Robot where Kali Linux is widely used.

used.

5
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdate on:[Link]

Kali is still linked to a respected certification industry, called


Pentesting with Kali

The certification is a rigorous 24-hour challenge in which candidates must


successfully compromise a number of computers, write a report
of professional penetration testing that will be sent to the staff of
Offensive Securitysee more here).

The approval of this exam will allow obtaining the OSCP credential.
Security Certified Professional – OSCP Certification

The focus of this guide is to help you become more familiar with Kali Linux and
several of the tools available in the distribution.

Make sure to use extreme caution with the tools included with Kali.
how many of them can accidentally be used in a way that
will break computer systems.

The information contained within this Kali Linux ebook is intended


for legal uses.

2) System requirements for


set up your environment with Kali Linux
Kali has some suggested minimum specifications for the hardware.
Depending on the intended use.

In this guide, we will assume that the reader will install Kali as the only system.
operational on the computer.

"Of course, you can also set up a virtual machine with the"
VirtualBox to install Kali Linux and run it inside your Windows.
Mac or any other Linux distribution, for that you can take a

6
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdate on:[Link]

copy of our ebook aboutVirtualbox In This Link, assemble the machine


virtual and go back to step INSTALLATION OF KALI LINUX of this guide here.

2.1) Let's go to the requirements for the installation of

Kali Linux

At least 10GB of disk space, I suggest you set aside more.


At least 512MB of RAM; it is interesting to have more RAM, especially.
for graphic environments.
●Support for USB or CD/DVD boot
● ISO file of Kali Linux available at
[Link]

3) How to create a bootable USB drive


for the installation of Kali Linux

Let's download the Kali Linux ISO, we will use the latest version of Kali.
with the Enlightenment graphical environment, it is the lightest.

You can access[Link] and download the file Kali Linux


64 bit e17, save the file in your downloads directory.

3.1) For those who do not use Linux


If you do not have a running LINUX environment, use the program
UNetbootinto create the bootable USB drive with Kali Linux, see below:

7
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdated on:[Link]

8
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of Vulnerability- Update on:[Link]

Can you do theDownloadsdoUNetbootincreate the bootable USB drive as


above, and go back to the step INSTALLATION OF KALI LINUX of this guide here.

3.2) For those who already use Linux

Let's assume that you have a flash drive in the USB drive, and you also are

It's important to say that we need a 4 / 8GB USB drive and that ALL OF THE
DATA WILL BE REMOVED!

Make sure to back up all data before proceeding. Let's go


create this bootable USB drive with Kali from another Linux machine.

How to create a bootable USB drive with Kali Linux

The next process is to record the ISO file to a USB drive to


initialize the installer.

9
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdate on:[Link]

To do this, we can use the 'dd' tool, which is already built into Linux.
First, let's locate with the lsblk command which device the
our flash drive.

Type the command below:

# lsblk

Soon, now we know that our pendrive is on the device /dev/sdc, and
We can now write the Kali ISO using the 'dd' tool.

$ sudo dd if=~/Downloads/[Link]
of=/dev/sdc

Important: The command above requires root privileges, so use the


sudo or log in as the root user to execute the command. Moreover, this
This command will REMOVE EVERYTHING from the USB drive. Make sure to back up.

the necessary data.

At the end of this process, we can start the installation of Kali Linux.

10
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdated on:[Link]

4) Installation of Kali Linux


First, plug the bootable USB drive into the computer's USB port.
that Kali should be installed, and boot from the USB drive.

4.1) After starting with the USB unit, the installer will be presented as per the
Below, you have the option 'Install' or 'Graphical Installation'.

This guide will use the 'Graphical Installation' method.

The next screen will prompt the user to select information from
locale, such as language, country, and keyboard layout.

Once the location information is displayed, the installer


it will request a hostname and a domain for this installation. Provide the

11
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdated on:[Link]

appropriate information for the environment and continue installing. If you have
If you have any questions about this information, you can use it as per the example below:

4.3) After setting the hostname and the domain name, the password of
root user needs to be defined. DO NOT FORGET THIS PASSWORD.

12
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of Vulnerability- Updated on: [Link]

4.4) After setting the password, the installer will request time zone information and,
next, it goes to disk partitioning.

If Kali is the only one operating on the machine, the easiest option is to use Guided -

Use Entire Disk and then select the storage device


What do you want to install on Kali.

The next question will ask the user to determine the


partitioning on the storage device. Most installations
You can simply put all the data in one partition, as below.

13
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdate on:[Link]

4.6) The final step will ask the user to confirm all the changes to
will be done on the machine's disk. Be aware that continuing will ERASE
ALL DISK DATA.

4.7) After confirming the partition changes, the installer will proceed to
the installation process of the files. Once completed, the system will
want to set up a network mirror to obtain future updates from
software. Make sure to activate this feature if you wish to use the
Kali repositories, as shown in the image below.

14
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdated on:[Link]

4.8) After selecting a network mirror, the system will prompt to install the
grub. Once again this guide assumes that Kali is the only system
operational on this computer or that you are installing on a machine
virtual from VirtualBox.

Selecting 'Yes' on this screen will allow the user to choose the device for
record the necessary information from the boot manager, use the
option as shown in the image below.

15
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdated on:[Link]

4.9) When the installer finishes installing GRUB on the disk, it will alert you.
user to restart the machine, so that finally the newly installed Kali can enter
in action.

Note: As we installed Enlightenment as the desktop environment in this guide.


Kali will probably be initialized by default in a shell.

To start Enlightenment, log in as root, and once logged in everything


What you need to do to start Enlightenment is to type the command 'startx'.

startx

The first time Enlightenment is run, it will ask the user


some configuration preferences and then it will start the environment
graph.

16
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of Vulnerability- Updated on: [Link]

At this point, Kali is installed and ready to be used.

17
Kali Linux - Installation and Configuration Guide for an Environment for Ethical Hacking and Testing

of VulnerabilityUpdate on:[Link]

18
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdated on:[Link]

Conclusion
Developed by Offensive Security, it was actually a rewrite of the
BackTrack.

19
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment

of VulnerabilityUpdate on:[Link]

Among the best operating systems for hackers, it is definitely the most
famous of all.

Kali Linux is a Debian-based operating system, comes with more than


600 pre-installed testing tools, it is literally a box of
tools for those who work with information security.

These versatile tools are regularly updated and are available


for different platforms like ARM and VMware.

For forensic work, this hacking operating system comes with a


the ability to start via LIVE is indeed a perfect environment for detection of
vulnerabilities.

20

You might also like