Kali-Linux on microSD for Rasperry Pi 3


For Mac-book-pro and raspberry-Pi 3

Download Kali-Linux from https://www.offensive-security.com/kali-linux-arm-images/ under the RasperryPi Foundation section. It should appear in your downloads directory as kali-2017.2-rpi3-nexmon.img.xz

Unzip this with,

$ gunzip kali-2017.2-rpi3-nexmon.img.xz

This should create the image file kali-2017.2-rpi3-nexmon.img

Insert microSD card, use an adaptor if you don’t have a slot for it. I used a 16GB class 10 microSD card.

Check the path to the microSD with,

$ diskutil list

If your microSD card may be at something such as /dev/disk2. It is very important that you get this correct, because using it incorrectly later, could wipe your hard-drive.

Unmount this,

$ diskutil unmountDisk /dev/disk2

Put the image file on the microSD with,

$ sudo dd if=~/Downloads/kali-2017.2-rpi3-nexmon.img of=/dev/disk2 bs=2m

Insert the microSD in the R-Pi, works for me on a Pi 3, not working on a Pi-zero.

Power it up and that’s it.

Next you should change the SSH host key. See here,