Kali Linux is one of the best operating systems to perform penetration and security testing. To perform the test you need to have tools and the right tools will make your work easier. Linux is very much different from windows and if you have recently migrated to Kali Linux from windows then you must be through the commands. There are a lot of tools available for penetration testing and here are a few things to do after you install kali Linux on your computer.
Note: Be through the basics of linux command to make things easier. Know the advantages and disadvantages of using linux. Before you perform pen testing make sure you know the legal perspectives.
1. Update/Upgrade and Dist-Upgrade
apt-get is a free utility command-line program that is used to perform installation, removing, upgrading, and doing a lot more operations in Kali Linux. It is used to check dependencies and is used with the Sudo command.
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade –y
Use the above code to run apt-get update, upgrade, and dist-upgrade all at once. Make sure you have enough space, a faster internet connection, and a lot of time.
2. Check your IP address
Your IP address is something you should always be concerned about when you are stepping into hacking. The first step to when after installing kali Linux is checking your IP address and it is easy to check the IP address on Kali Linux, use the following commands –
Using this command you can look at what is the IP address of your system. If you are using an ethernet connection you will find an eth0 field where your IP address is specified and if you are connected through Wifi you can check IP address by seeing the Wlan) field. Your IP address is present in the field Inet and may look something like 192.yyy.yyy.yy or 172.yyy.yyy.yy or anything similar to this.
Never share this IP address with anyone because this is your system on the network’s personal unique identification. Also, this IP address is used in various parts of hacking such as listening to packets and establishing connections.
3. Install git
There are a lot of hacking tools available on GitHub shared by a lot of other developers and hackers. The git command is used for sharing your piece of code, copying the code, and also editing it. Here, it is used for copying the code on to your kali Linux system.
apt-get install git
You can clone the git project using the above code. Just copy the link of the GitHub piece of code and paste it after the git.
apt-get install git https://github.com/wireshark/wireshark.git
Using the above command you can install Wireshark using the apt-get command. The link is copied from the GitHub repository.
4. Install pip, pip3, python-2, and python-3
Python is the most important language for hacking and most of the tools are written using python in Kali Linux. Once you have copied the git project in your Linux system, you have to execute those python scripts. To make it happen, you need to install python in your kali system. Use the below code to install python in Kali Linux.
apt install python-pip sudo apt-get install python3-pip
5. Create low privileged user
It is important that you don’t allow all the apps to use the root privileges. There are some apps and scripts that shouldn’t be allowed to run as the root user.
You can add a new user using the following command –
Now it is necessary that you add Sudo to the user because you will use it to execute the Sudo commands. If you don’t add the user to the Sudo group you won’t be able to run the Sudo commands such as “sudo apt-get update”. It will fail to execute. To add users to the Sudo group use the following command.
usermod -aG sudo USERNAME
Use can use the bash to set up automatic login for users.
6. Terminal multiplexer
A terminal multiplexer is a must-have tool in kali Linux. Now if you are going to perform hacking then you will be running a lot of terminal windows and monitoring them is not that easy. To monitor all of those terminals in a single command window, you can use a terminal multiplexer. Terminal multiplexers will load all those terminals in a single terminal window.
Tilix is one of the terminal multiplexer using which you can monitor all of your running terminal sessions in the same terminal. To install tilix use the following command.
apt-get install tilix
7. Install TOR and Privoxy
If you know the basics of penetration testing then you must know about the tor browser. Tor is a web browser that can be used to anonymously surf the web and access onion sites. Here is a complete guide on the installation of TOR and Privoxy by nixCraft.
8. Install Lazy Script
Tired of remembering all the commands? But it is important to realize that some changes are to be made when you are using Kali Linux. Such as Geolocate an IP, Tools, handshake, Port forwarding Ngrok, SQL map automated, and many more commands and tools.
But why Lazy script?
The lazy script is the laziest script on kali Linux and this is because it is totally easy and lazy to use. Let us install Lazy script on kali Linux and I will meantime tell you why it is also the laziest script.
How to install Lazy script on Kali Linux?
Open a terminal on your kali Linux and type the following command
git clone https://github.com/arismelachroinos/lscript.git
The script will be cloned from the GitHub
Now, change your directory to the lazy script by using the command
We have an install.sh file and we need to install the lazy script using the install.sh command. To make the install.sh file usable, we will use the following command –
chmod +x install.sh
Now we will install the lazy script using the below command –
The installation will begin and during installation, you have to accept the terms and conditions. Once you have accepted the terms and conditions, you have to enter the name of the wireless interface and other details such as the ethernet name and other details. They all are suggested automatically with the prompt and you have to enter the same.
After entering the details, the lazy script is now installed. You can start browsing all the tools.
Next time you want to open the lazy script in your terminal, use the laziest command in Kali Linux –
Type ‘l’ in your terminal window and hit enter. The Lazy script will be opened for you.
Do you want to learn about the best hacking tools? let us know in the comment section.
You may also like,