Kali Linux is now available for Raspberry Pi 4!
Offensive Security has released an official version of Kali Linux for Raspberry Pi 4, the last (and most powerful) version of the compact computer board, released just two weeks ago with a 1.5 GHz 64-bit quad-core ARM Cortex-A72 processor and 4GB of RAM.
Kali Linux has always been the number one operating system for ethical hackers and penetration testers, and Raspberry Pi is the standard for inexpensive single-board computing: a sure successful couple!
You can download Kali Linux for the Raspberry Pi 4 on the Kali ARM download page. Currently we only have 32Bit support for it, but expect 64Bit in the near future. The installation instructions are not any different than the Pi2, so feel free to follow our docs on getting it setup if you don’t know how.https://www.kali.org/news/raspberry-pi-4-and-kali/
Once you have it running feel free to let us know how its working for you on our forums. Stay tuned for more Pi updates as we work with the 4 and find new and interesting things to do with it!
How to install
To install a prebuilt image of the standard build of Kali Linux on your Raspberry Pi, the general process goes as follows:
- Get a fast SD card with at least 8 GB capacity. Class 10 cards are highly recommended.
- Download and validate the Kali Linux Raspberry Pi image from the Offensive Security downloads area. The process for validating an image is described in more detail in the article on “Downloading Kali Linux”.
- Use the dd utility to image this file to your SD card. The full process for creating a bootable USB or SD device is described in the article on “Making a Kali Live USB Drive”.
In the following example, we assume that the image is named “kali-2.1.2-rpi.img”, that it’s is in your current working directory, and that the SD card is located at /dev/sdb.
Do not simply copy these value, change this to the correct drive path corresponding to your SD card.
[email protected]:~ dd if=kali-2.1.2-rpi.img of=/dev/sdb bs=512k
This process can take a while depending on your SD card’s device speed and image size. Once the dd operation is complete, insert the SD card into the Raspberry Pi and power it on.
You should be able to log into Kali (as user root, using the password toor) and execute the startx command at the shell prompt to start up the XFCE desktop environment.IMPORTANT! Please change your SSH host keys as soon as possible as all ARM images are pre-configured the same keys. You should also change the root password to something more secure, especially if this machine will be publicly accessible!
Changing the SSH host keys can be accomplished by doing the following:
[email protected]:~ rm /etc/ssh/ssh_host_*
[email protected]:~ dpkg-reconfigure openssh-server
[email protected]:~ service ssh restart