What is Kali Linux?
Kali Linux is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali Linux contains several hundred tools which are geared towards various information security tasks, such as Penetration Testing, Security research, Computer Forensics and Reverse Engineering. Kali Linux is developed, funded and maintained by Offensive Security, a leading information security training company.
Installing Kali on OCI –
- Follow my previous article to install Debian on OCI: Installing Debian on OCI
- Login to your Debian server over SSH and sudo to root:
sudo su -
- Then setup the Kali Linux repo by issuing these commands:
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
apt-get -y --allow-unauthenticated install kali-archive-keyring
apt-get -y update
- Next you will decide which Kali Linux setup you want to install. Use the following command to see what packages are available:
apt-cache search kali-linux
- I chose to install kali-linux-default:
apt-get -y install kali-linux-default
During the installation, the installer will ask you some questions, like setting your language and other service related questions. Ensure you add your user to the Kismet group.
- Once the Kali Linux installation process is completed, perform a full system update:
apt-get -y update
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get -y autoremove
- Then reboot the machine to apply all the changes:
shutdown now -rf
- Once the server is back up, verify that the kernel you are loading is the Kali kernel:
uname -r
If you see “kali”, then it’s loading a Kali Linux kernel. Another way to test this is by typing the name of any of the popular cybersecurity tools shipped with Kali, such as DNSChef, etc.
┌──(root💀kali-linux-oci)-[~]
└─# dnschef
_ _ __
| | version 0.4 | | / _|
__| |_ __ ___ ___| |__ ___| |_
/ _` | '_ \/ __|/ __| '_ \ / _ \ _|
| (_| | | | \__ \ (__| | | | __/ |
\__,_|_| |_|___/\___|_| |_|\___|_|
iphelix@thesprawl.org
(12:57:15) [*] DNSChef started on interface: 127.0.0.1
(12:57:15) [*] Using the following nameservers: 8.8.8.8
(12:57:15) [*] No parameters were specified. Running in full proxy mode
Hope this article was helpful. Feel free to reach to me if you face any errors.