This guide will show how to install the Kali Linux ARM port on your Raspberry Pi. The process is pretty simple.
Alert! This process will wipe out your SD card. If you choose the wrong storage device, you may wipe out your computers hard disk. Use lsblk to find out where the storage device is located and change /dev/sdb to whatever is appropiate.
Download the Kali Raspberry Pi image from the Kali downloads page and then extract it. Plug in the SD card to your computer, open up a terminal and type :
root@kali:~ dd if=/home/mic/downloads/kali-pi.img of=/dev/sdb bs=512k
Change the “if” and “of” values to suit you, once you hit enter just sit and wait for it to complete. This process can take a while depending on your storage device speed and image size. Once the dd operation is complete, boot up your Raspberry Pi with the SD card plugged in. You will be able to log in to Kali (root / toor) and startx. That’s it, you’re done!
IMPORTANT Please change your ssh host keys as soon as possible as ALL rpi images have the same keys. You should also change the root password to something more secure, especially if this machine will be publicly accessible!
Changing ssh host keys can be accomplished by doing the following:
root@kali:~ dpkg-reconfigure openssh-server
root@kali:~ service ssh restart