How To Install Kali on Raspberry Pi
Install Kali Linux on Raspberry Pi, a new article on our free training course about Penetration Testing with a Raspberry Pi.
As you knew, we have shared with you how to purchase a Raspberry Pi, Assembling it, and also Preparing the MicroSD. So in this part of the training course we will show you how to install Kali Linux on Raspberry Pi 3,2,1 and zero form Windows or Mac platforms.
You are now prepared to download Kali Linux on your Raspberry Pi. The Kali Linux installation for the Raspberry Pi use optimized for the storage and ARM processor of the Pi, by default.
We recovered that this works fine for specific penetration attacks objectives. You will find that the performance of the device may become unusable for anything outside a lab environment, if you attempt to add too many tools or functions.
You can also install a full version of Kali Linux on Raspberry Pi using the Kali Linux metapackages, that required a more powerful system.
In this tutorial, we will install the custom Raspberry Pi image from the official developers of kali Linux website, you should download it from this link.
After downloading the image, you will need to write it to the microSD card. You can use the dd built-in utility from the command line, if you are using a Linux or Mac platform. Or use the Win32 Disk Imager utility on Windows system.
Raspberry Pi from Windows System
To Install Kali Linux on Raspberry Pi from windows, we will use the Win32 Disk Imager utility.
The Win32 Disk Imager utility is a Windows program for saving and restoring images from removable drives (USB drives, SD Memory cards, etc). It can be used to write boot images to a SD Flash device or USB flash device, making it bootable. Download the Win32 Disk Imager utility from this link.
Once the tool is downloaded, select the image file and your removable media to start the image writing process.
Now, you are ready to install Kali Linux image that you downloaded earlier. You need to Uncompress the archive onto your desktop.
Install Kali Linux from Mac Platform
On Mac Platform, to install kali linux on raspberry pi use diskutil list command to determine from where the operating system is reading your SDcard.
As shown on the screenshot the SD card is listed as disk1. I have also existing partitions on the microSD card to indicate that I did not format my media. Make sure that you have formatted your media before you continue further.
Format the SD card directly from the command line on your Mac using the following steps, or use the SD Card Formatter application described earlier:
- First, unmount your SD card by issuing the diskutil unmountDisk /dev/disk1
- Use: sudo newfs_msdos -F 16 / dev/disk1 command, to format the SD card. (Make sure you select the correct disk.)
- Enter your Mac OS System/Administrator password.
One thing to note is that we will be using the dd command, meaning it is not required to format your SD card since the dd command performs a bit-by-bit copy from the image to the SD card. Formatting is recommended to prevent other errors and anomalies.
Now uncompress the Kali Linux image that you downloaded earlier onto your desktop. You can use The Unarchiver or Keka for Mac to uncompress the archive.
Then, determine the name of your uncompressed image. You will once again need to identify how the system sees your SD card by issuing the diskutil list command.
You can create and install the image by issuing the following command (you may be asked for your Mac OS System/Administrator password again):
sudo dd if=~/Desktop/kali-1.0.9-rpi.img of=/dev/disk1
The command prompt will freeze while the image is written to the microSD card.
Include the sudo command or you may experience a permission denied error when you write the image to the microSD card on OS X.
Boot up Kali Linux On Raspberry Pi
Insert the microSD card into your Raspberry Pi and boot the system by plugging in its power source, after the ending of the installation of the Kali linux image. You will be able to log in to the system after booting, use root as the username and toor as the password.
To start the graphical environment, simply type startx in the terminal. Congratulations!
You now have a working Kali system on your Raspberry Pi.
We recommend that you only use the command line on the Raspberry Pi. The GUI can take up to 20 minutes to load and possibly act very slow or unresponsive.
Install Kali Linux on Raspberry Pi – Video Tutorial
This Video Tutorial will show you all the steps to Install Kali Linux on Raspberry Pi.
If you have encountered a problem or you have any questions or remarks please feel free to set a comment.
If this article helped you to solve your problem please feel free to share it with your friends … with love and prosperity K4LINUX–TEAM.
With Love and Prosperity K4LINUX-TEAM.