This article is written for those who are just about to take their first steps.
Let's go!
Download the program https://rufus.ie/, you will need it to write the image to a USB flash drive.
Then download the Kali Linux image https://cdimage.kali.org/kali-2020.4/kali-linux-2020.4-installer-amd64.iso
Format the USB stick completely before starting the installation.
Go to /etc/apt/sources.list manually.
The file should contain the following lines:
If not, then register manually and save.
There should be no problems now.
He looked something like this.
Try to imagine: you enter a room in which there is something that looks like a TV screen fixed on a huge computer, this TV screen was called a terminal. Basically, the terminal was a display that would display the actions and the result of any command executed.
The display itself did not understand what you were entering, it did not understand your actions, it was needed only in order to accept commands and show the result. Your actions were understood by the program running in the background. She understood what you were entering, what keys you pressed, processed the information received and produced the result that is displayed in the terminal.
At that time, 2 components were needed: the physical screen itself or the terminal + the program that worked in the background.
On Linux, this program is located in the directory /bin/bash
Let's go and look at this program and find it, this program, it understands what you enter in the terminal.
To see select the file system on the desktop and go further through the directories.
Why am I telling all this? Because in Linux, work happens exclusively with the terminal, you must understand this.
The terminal symbolizes the computer screen from the 90s. If you open a terminal, then this program will already work in it. This is called a shell , and bash is already running in it .
Press ctrl + alt + f1 and you will see a clean linux-system without a graphical interface (it was invented much later), you can work from there, as it was before. To go back press ctrl + alt + f7.
Bash runs in the terminal by default. Otherwise, the terminal would not be able to receive information for input and display the result. This shell processes commands in the background and sends the result back to the terminal for display.
It is much more efficient than the graphical user interface, as opposed to it is always available on servers. When you make hacks, you will often come across servers without a beautiful graphical interface, since it requires a lot of resources, it needs disk space and RAM. Such costs are unaffordable for servers and should not affect performance.
In fact: the terminal is always on the servers, but there is no graphical interface. Therefore, it is very important that you know how to navigate any Linux system using a terminal or shell. As a rule, when you hack something, your goal is to gain access to the shell on a remote machine, on your victim's machine. This is done, for example, by a warrior, botnet, stealer or rootkit.
There are no C, D drives, and so on, familiar to Windows users. The Linux file system has a tree structure and is based on the root directory, which is denoted by the " / " symbol, followed by the rest of the directories.
Many people are stopped by the stereotype that Kali Linux is very difficult and you need to be a cool hacker. In fact, this is complete nonsense, there is nothing supernatural in this operating system, and after some time of use, you will feel 10 times more comfortable in it than in Windows.
After downloading, prescribe:
A text document will open for you.
In this text document, you need to specify at the end of the line and save:
1 this is for wifi, 2 is for wired connection.
After that, you need to restart Network Manager in the terminal:
Now your MAC address will change to a random one after every Kali boot.
Thank you all for your attention!
Let's go!
Start
The first thing you need to do is purchase an 8 gigabyte flash drive (minimum).Download the program https://rufus.ie/, you will need it to write the image to a USB flash drive.
Then download the Kali Linux image https://cdimage.kali.org/kali-2020.4/kali-linux-2020.4-installer-amd64.iso
Format the USB stick completely before starting the installation.
After you have successfully completed the steps above:
- Feel free to open Rufus;
- Click to choose an .iso image;
- Choose the previously downloaded Kali image;
- Press "Start";
- After that a window will come out in which you need to click "Yes" and select an entry in the "DD image" mode;
- You wait for the end of the recording and close Rufus.
You have coped with the creation of the installation flash drive. Move on:
- Reboot your PC;
- Put your USB flash drive like an installation one in BIOS. Or just select it in the Boot Menu, it usually opens via f5 or f8 or by pressing the Delete key;
- Choose INSTALL (don't mix it up with the instal graphics, we don't need this);
- When installing, select disk encryption lvm (you will need to come up with a password for encrypting the hard disk by at least 40-50 characters and keep this password in your head).
You can install the system as the main one or next to another OS.
You installed the system. Congratulations, let's move on:
After installation, create a root user with full access rights to the system:- Open the terminal (in the upper left corner there is a black square);
You can also open the terminal by pressing Ctrl + Alt + T (I advise you to open this way).
- Write in it: sudo su
- Further: passwd root
- Come up with a new password and enter it 2 times. (the main thing is not to forget it, otherwise you will have to reinstall the system), the password is written, it just does not appear on the screen;
- Next, restart your computer and log in as root and a new password .
- Open a terminal and write: apt update
With this command you will update application packages to the latest versions. - Then write: apt dist-upgrade
With this command you will update the system itself.
Go to /etc/apt/sources.list manually.
The file should contain the following lines:
Code:
deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb http://http.kali.org/kali kali-rolling main non-free contrib
If not, then register manually and save.
There should be no problems now.
What is Terminal in Kali Linux
Many do not understand what a terminal is in Kali Linux and where it came from at all. A long time ago, in the 90s, to configure and administer the system, someone had to go to the terminal, log in and make the necessary changes.He looked something like this.
Try to imagine: you enter a room in which there is something that looks like a TV screen fixed on a huge computer, this TV screen was called a terminal. Basically, the terminal was a display that would display the actions and the result of any command executed.
The display itself did not understand what you were entering, it did not understand your actions, it was needed only in order to accept commands and show the result. Your actions were understood by the program running in the background. She understood what you were entering, what keys you pressed, processed the information received and produced the result that is displayed in the terminal.
At that time, 2 components were needed: the physical screen itself or the terminal + the program that worked in the background.
On Linux, this program is located in the directory /bin/bash
Let's go and look at this program and find it, this program, it understands what you enter in the terminal.
To see select the file system on the desktop and go further through the directories.
Why am I telling all this? Because in Linux, work happens exclusively with the terminal, you must understand this.
The terminal symbolizes the computer screen from the 90s. If you open a terminal, then this program will already work in it. This is called a shell , and bash is already running in it .
Press ctrl + alt + f1 and you will see a clean linux-system without a graphical interface (it was invented much later), you can work from there, as it was before. To go back press ctrl + alt + f7.
Bash runs in the terminal by default. Otherwise, the terminal would not be able to receive information for input and display the result. This shell processes commands in the background and sends the result back to the terminal for display.
It is much more efficient than the graphical user interface, as opposed to it is always available on servers. When you make hacks, you will often come across servers without a beautiful graphical interface, since it requires a lot of resources, it needs disk space and RAM. Such costs are unaffordable for servers and should not affect performance.
In fact: the terminal is always on the servers, but there is no graphical interface. Therefore, it is very important that you know how to navigate any Linux system using a terminal or shell. As a rule, when you hack something, your goal is to gain access to the shell on a remote machine, on your victim's machine. This is done, for example, by a warrior, botnet, stealer or rootkit.
File system
Now let's deal with directories or, as they are also called, directories. Open the filesystem on your desktop and find these directories. Now I will explain what is needed and why.There are no C, D drives, and so on, familiar to Windows users. The Linux file system has a tree structure and is based on the root directory, which is denoted by the " / " symbol, followed by the rest of the directories.
Many people are stopped by the stereotype that Kali Linux is very difficult and you need to be a cool hacker. In fact, this is complete nonsense, there is nothing supernatural in this operating system, and after some time of use, you will feel 10 times more comfortable in it than in Windows.
Now let's run all your traffic through the TOR network
- Open the terminal and write: apt install tor(install the tor network itself). apt is the application that looks for what you need to install, the install command is to install, tor is the application that you need to install;
- systemctl start tor (we give the services team permission to start traffic through tor);
- git clone https://github.com/ruped24/toriptables2 (install the utility from github);
- cd toriptables2 (go to the folder with our utility);
- Fill in next: mv toriptables2.py /usr/local/bin/
Code:
toriptables2.py -l (include);
toriptables2.py -f (turn off).
Now let's make it so that every time the system boots, your mac address changes to a random one
First you need to download the leafpad text editor:
Code:
apt install leafpad
After downloading, prescribe:
Code:
leafpad /etc/NetworkManager/NetworkManager.conf
A text document will open for you.
In this text document, you need to specify at the end of the line and save:
Code:
[connection]
wifi.cloned-mac-address=random
[connection]
ethernet.cloned-mac-address=random
1 this is for wifi, 2 is for wired connection.
After that, you need to restart Network Manager in the terminal:
Code:
service network-manager restart
Now your MAC address will change to a random one after every Kali boot.
Thank you all for your attention!