Build a Raspberry Pi Ethical Hacking Computer
In this training lab you will learn how to set up an ethical hacking computer using the Raspberry Pi. (wow readers with raspberry pi facts/stats) The affordability of the Raspberry Pi and its stealthy size makes it a perfect testing device. (INTRO TO KALI) For our operating system we'll be using Kali Linux. If you are not familiar with Kali Linux, you should know that it is an advanced penetration testing and network security assessment tool.
- Raspberry Pi 3 B+ Motherboard
- 16GB micro SD card (32GB recommended)
- Wireless Keyboard with Mouse Touchpad
- Case with fan, power supply
The CanaKit Raspberry Pi 3 B+ bundle is a good starter kit as well.
Supported models for this build:
- Raspberry Pi 3 B+
- Raspberry Pi 3 B
- Raspberry Pi 2
- Raspberry Pi Zero W
Step 1: Download Kali Linux
Download the Kali Linux ARM image for Raspberry Pi here.
Download Kali Linux image from the Re4son's kernel here.
For extra security, verify the download. This step is optional, but wise to consider if you're downloading the Kali Linux image over a network other than your own.
Step 2: Flash Kali Linux Image
Format micro SD card before use with SD Memory Card Formatter.
Windows Use Win32 Disk Imager to write the Kali Linux image to the micro SD card.
Mac Use Etcher to write the Kali Linux image to the micro SD card.
Step 3: Boot into Kali Linux
Default credentials for logging in are Username:
A welcome panel will appear after login. Select "Use default config" (picture of screen saved on iPhone)
Step 4: Change the default password
Go to terminal, type
$ passwd root
Step 5: Update & Upgrade
This step requires an internet connection.
Step 6: Resize Partition
Two ways to do this: via terminal or graphical user interface.
Step 7: Change hostname
nano /etc/hostname In this example we'll use "Kali_Pi" Press CTRL + X to exit. You will then be prompted to save your changes. Press Y to save. Press Enter to confirm the file name the changes will be applied to.
nano /etc/hosts Change "kali" to "Kali_Pi" CTRL+X, Y, Enter
Reboot. We should now see the hostname changed in our terminal prompt.
Step 8: Setup SSH
Verify whether the SSH service is installed:
Step 9: Change the Default SSH keys
Step 10: Reverse Shell Through SSH
Enable Auto Login with SSH
- prevent Kali Linux from sleeping
- Disable screen lock
Things to do after installing Kali Linux: