Installing Kali Linux on a Raspberry Pi and Connecting to it Remotely

Kali Linux

Kali is the newest version of the Backtrack security penetration testing Linux platform. You can run Kali as a LiveCD or install it to a hard drive. But wouldn’t it be cool if you could run Kali from a $35 Raspberry Pi computer?

Well you can!

In this article we will look at installing Kali Linux on a Raspberry Pi.

The good folks at Offensive Security have created a Kali Linux image for the Raspberry Pi, so installation could not be easier. All you need is a Raspberry Pi, the Kali Image, and an SD Card. I will also use a Windows system to write the image to the SD card.

1. Download the Kali Linux Image (Located about halfway down the page)

2. The image file is compressed you will need to expand it.

3. Next, Install the image to your SD card – Disk Imager works great.

Just plug your SD card into your Windows Laptop, and run Disk Imager. Point the image file to your Kali image that you downloaded and point the device to the drive letter of your SD card.

Then just hit “Write”:

Kali Disk Imager Installing

Disk Imager will write the Kali Linux image to your SD card.

4. Now eject the SD card from your windows laptop and insert it into the SD card slot on your Raspberry Pi. Connect your video, Ethernet cable, and keyboard and mouse.

5. Connect power to the Raspberry Pi and in a few seconds it will boot up into Kali.

That is it! You know have a Raspberry Pi Pentesting platform!

Connecting to the Raspberry Pi remotely from a Windows system using SSH

Now you can run commands from the command prompt, or if you want to run the Raspberry Pi headless (without monitor or keyboard). You can connect to the Pi from a Windows system remotely using SSH!

To Do so:

1. Download Putty for Windows

2. Run Putty and put in the IP address for your Kali System. You can get this by typing “ifconfig” if you have a keyboard attached or by checking the address given to it by your router if you are running Kali headless.

My IP address was 192.168.1.135 in this case. Also, make sure port 22 is entered and select SSH as shown below:

Putty

Then just hit “Open”.

You will be asked asked to log into the Raspberry Pi. If this is the first time, just use the Kali default credentials:

Username: root
Password: toor

Remote Login

That’s it!

Now you can run any of the commands you want on your Raspberry Pi remotely from your Windows System.

Advertisements

Kali Linux (aka Backtrack 6) has been Released!

Kali Linux

The moment we have been waiting for has finally arrived, Kali Linux has been released!

This is huge news for Backtrack Linux fans. Kali is, in essence, Backtrack 6. All you have come to expect from Backtrack is present, and more, but the tool has been reworked from the ground up. Hence the name change to Kali.

One of the biggest things you will notice when installing is that Kali is based off of Debian Linux, instead of Ubuntu. The install routine is slightly more involved than Backtrack 5.

The desktop still uses Gnome, but it does seem to have a different look/ feel to it:

Kali Linux Menu

A quick peek at the menu shows a very good addition. A “Top Ten Security Tools” menu has been added so you can get into your favorite tools faster.

Metasploit, Aircrack, Burpsuite, Nmap, Wireshark and several other top programs are now right at your fingertips:

Kali Security Menu

But no worries, all the regular tools are still there too in the same menu system that Backtrack used.

The change to Debian also means that updating will be much easier and more streamlined. If you used Backtrack a lot, it seemed that updating some of the utilities got a little funky in recent times.

Just a note, be careful with some of the torrent downloads of Kali. I couldn’t get on Kali’s download page earlier today (lottsa people downloading it!) so I went directly to the Torrents. One of the OS images I grabbed off Torrent didn’t match the posted SHA1 Hash  (You do check that right?).

Kali Linux, the most advanced do-it-all Pentesting Linux Distro.

Check it out!

Other Articles:

Installing Kali Linux on a Raspberry Pi and Connecting to it Remotely