Skip to content

Kali Linux

Installing Docker in Kali Linux


Add Docker PGP key, Configure Docker APT repository

curl -fsSL | apt-key add -
echo 'deb [arch=amd64] buster stable' > /etc/apt/sources.list.d/docker.list
apt-get update

Install Docker

apt-get install docker-ce

Start Docker

systemctl start docker

Enable on Boot

Start Docker

Allow Secure SSH to Kali linux


Uncomment PermitRootLogin and change it to yes should look like this: PermitRootLogin yes

Start and enable SHH service on boot

systemctl start ssh
systemctl enable ssh

Try to connect via ssh with user root and its password.

Start SSH service at boot

sudo systemctl enable ssh.service

Reboot, check everything is working.

Follow SSH_Login_With_RSA_Keys Guide for securing your ssh login.

Install OpenVM Tools - VMware Tools

apt update && apt -y full-upgrade
apt -y --reinstall install open-vm-tools-desktop fuse

Install rtl88xxua-dkms Driver for Wireless Wifi Card

sudo apt-get install realtek-rtl88xxau-dkms

Auto login ROOT user when VM starts

nano /etc/gdm3/daemon.conf


  AutomaticLoginEnable = true
  AutomaticLogin = root

save and exit.

Disable Update Notifications

nano /etc/apt/apt.conf.d/99kali-menu

Commnet the like this:

#DPkg::Post-Invoke { "[ ! -x /usr/share/kali-menu/update-kali-menu ] || /usr/share/kali-menu/update-kali-menu wait_dpkg"; }

Installing ADB and Fastboot For Android

apt-get install lib32z1
apt-get update && apt-get install android-tools-adb android-tools-fastboot

Fix SSH Broken Pipe in Kali

nano ~/.ssh/config

add this:

Host *

Instaling Metasploit Framework

apt-get install metasploit-framewor
systemctl enable postgresql
systemctl start postgresql
msfdb init