Kali Linux Installation & Setup Guide
Kali Linux Installation & Setup Guide
a Hacking Environment
Ethical and Testing
Vulnerability
ABOUT COPYRIGHT 3
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]
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]
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.
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]
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.
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]
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.
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
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!
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.
# 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
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.1) After starting with the USB unit, the installer will be presented as per the
Below, you have the option 'Install' or 'Graphical Installation'.
The next screen will prompt the user to select information from
locale, such as language, country, and keyboard layout.
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
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 -
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.
startx
16
Kali Linux - Installation and Configuration Guide for an Ethical Hacking and Testing Environment
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.
20