TL;DR

Grab a Raspberry Pi 5 (8GB), a fast microSD, the 27W USB-C PSU, and the active cooler. Flash the official Kali Linux ARM image with Raspberry Pi Imager, boot it, log in with kali/kali, and change that password before you do anything else. Enable SSH so you can run it headless, add a monitor-mode WiFi adapter, and you've got a pocket-sized pentest box you can drop anywhere on a network. It won't out-muscle a laptop, but for portability and drop-box work nothing beats it.

I keep a Raspberry Pi running Kali in my bag more or less permanently. It's the smallest complete pentest machine I own — no display, no keyboard, just a board the size of a credit card that I can SSH into from my phone or laptop. On an engagement I can leave it plugged into a network closet, walk away, and reach it over the wire later. For learning, it's a cheap sandbox I don't mind breaking.

This is a build tutorial, not a shopping list. Every step forces a hardware decision, so the gear picks are the substance here — I link the exact parts I use as they come up rather than dumping a table at the top. If you've already installed Kali another way, my guides on running Kali from a USB drive and the Kali VirtualBox image on a Mac cover those routes. This one is all about the Pi.

Why a Raspberry Pi makes a great portable pentest box

The appeal is physical. A Pi 5 draws its power from a single USB-C cable, fits in a shirt pocket, and costs a fraction of a laptop. Three things make it useful rather than just cute:

⚠️ Be honest about the limits. A Pi is not a replacement for a laptop. The CPU is modest, so anything CPU-bound — hash cracking with hashcat, big wordlist attacks, heavy Metasploit sessions — will crawl compared to a real machine, and there's no GPU worth cracking on. Treat the Pi as a portable staging and recon box, not your cracking rig. Offload the heavy math to a proper workstation.

Picking the hardware

You have two honest paths: buy a kit that bundles everything, or buy the board and pick each part yourself. Both are fine. The kit is faster and usually cheaper than sourcing separately; going board-only lets you upgrade the microSD or cooler to exactly what you want.

The easiest start: a full kit

If you want one box that arrives ready to flash, get a Pi 5 kit. A good one bundles the board, a case, the active cooler, the correct PSU, and a microSD — so you don't end up one cable short on build night. The RasTech Pi 5 8GB full kit is the one I'd hand a beginner; it has everything in a single order.

RasTech Pi 5 8GB Full Kit → View on Amazon Alternative Pi 5 8GB Starter Kit → View on Amazon

The flexible path: board-only

If you already have spare microSD cards and USB-C bricks, or you want to hand-pick every part, buy the board on its own. Get the 8GB model — Kali plus a browser plus a few tools will use the RAM, and the price gap over 4GB is small enough that I never regret the extra headroom.

Raspberry Pi 5 8GB (board only) → View on Amazon

The parts that actually matter

Going board-only, these are the pieces worth spending on. Skimping on any of them causes the exact problems people blame on "the Pi being slow."

SanDisk Extreme Pro microSD → View on Amazon

For actual field use

Two additions turn a desk toy into a portable rig:

USB-C power bank for field use → View on Amazon

Affiliate links — I may earn a commission at no extra cost to you. Full disclosure.

Flashing Kali ARM with Raspberry Pi Imager

Kali publishes an official ARM image for the Pi, and the cleanest way to write it is Raspberry Pi Imager. Install Imager on your main computer (Windows, macOS, or Linux — it's a free download from raspberrypi.com), then put the microSD in a card reader.

  1. Open Raspberry Pi Imager.
  2. Under Choose Device, pick Raspberry Pi 5.
  3. Under Choose OS, scroll to Other specific-purpose OS → Kali Linux and select the Raspberry Pi (ARM64) image. If you don't see it, download the RPi image from kali.org/get-kali and use the Use custom option to point Imager at the file.
  4. Under Choose Storage, select your microSD. Double-check this — Imager will erase whatever you pick.
  5. Click Next, decline the OS-customization prompt for now (Kali's defaults are fine, and we'll harden it on first boot), and let it write and verify.
💡 Tip: If you already downloaded the .img.xz from kali.org, you don't need to unzip it. Imager reads the compressed file directly with "Use custom."

Writing and verifying takes a few minutes. When Imager says it's done, eject the card and move it to the Pi.

First boot and the kali/kali login

For the first boot it's easiest to plug in a monitor, keyboard, and Ethernet — you only need them once, to enable SSH. Insert the microSD, attach the active cooler and PSU, and power on.

Kali boots to a desktop and a login screen. The default credentials on the ARM image are:

Default login
username: kali password: kali
🚨 Change this password immediately. Every Kali install on earth ships with kali/kali. A drop box on a client network with the default password is an open door. Change it the moment you're logged in.

Open a terminal and set a real password:

Terminal
passwd

It'll prompt for the current password (kali), then your new one twice. While you're here, update the system so you're not running month-old packages:

Terminal
sudo apt update sudo apt full-upgrade -y

That first upgrade can take a while on a fresh image — the microSD choice you made earlier is exactly why. Once it finishes, my things to do after installing Kali checklist walks through the rest of the setup I run on every new box.

Enabling SSH for headless use

The whole point of a Pi pentest box is running it without a monitor. SSH is what makes that work. On the Kali ARM image the SSH server is installed but not enabled by default, so turn it on:

Terminal
sudo systemctl enable ssh sudo systemctl start ssh

Confirm it's listening:

Terminal
sudo systemctl status ssh

Find the Pi's IP address so you can reach it from your laptop:

Terminal
ip addr show

Look for the address on your eth0 or wlan0 interface (something like 192.168.1.x). Now unplug the monitor and keyboard, and from your main machine connect over the network:

Terminal
ssh kali@192.168.1.50
💡 Tip: On many networks you can skip the IP hunt and use the hostname instead: ssh kali@kali.local (or kali@raspberrypi.local). If mDNS is working, this resolves without you ever knowing the address — handy for a drop box on a network you don't control.

Once you're in over SSH, the Pi never needs a screen again. Power it from the wall as a desk sandbox, or from the power bank when you're moving around.

Checking that monitor mode works

If WiFi work is why you built this, verify the adapter does monitor mode before you rely on it in the field. Plug the USB adapter into the Pi and list your wireless interfaces:

Terminal
iw dev

You should see your external adapter as a second interface — usually wlan1 (the Pi's built-in radio is wlan0). Use the aircrack-ng suite to switch it into monitor mode:

Terminal
sudo airmon-ng start wlan1

Then confirm the interface is actually in monitor mode:

Terminal
iw dev wlan1 info

Look for type monitor in the output. If it says monitor, your adapter and driver are working on the Pi. A quick live test is to scan for nearby networks for a few seconds:

Terminal
sudo airodump-ng wlan1mon

If access points start populating the list, monitor mode is live. Press Ctrl+C to stop.

ℹ️ If type monitor never shows up, the adapter's chipset or driver doesn't support monitor mode on the Pi's ARM kernel — the built-in wlan0 won't do it either. This is a hardware problem, not a command you can fix. Swap to a known-good adapter from my wireless adapters for Kali list.

From here you've got a full portable Kali box. If you're new to the tools waiting for you, my Kali commands for beginners guide is the natural next stop.

⚠️ Only test networks you own or have written permission to test. Running monitor mode and capturing traffic on networks you don't control is illegal in most places. Build the box, practice on your own gear, and stay on the right side of the law.
🛒 Your shopping list

New to the Pi? Buy the RasTech Pi 5 8GB Full Kit — board, case, active cooler, 27W PSU, and microSD in one order, so build night doesn't stall on a missing cable. Only go board-only if you already own spare microSD cards and USB-C bricks and want to hand-pick every part.

Affiliate links — I may earn a commission at no extra cost to you. Full disclosure.

Frequently Asked Questions

Can I run Kali on a Raspberry Pi 4 instead of a Pi 5?

Yes. Kali's ARM image supports the Pi 4, and this whole guide works on it — pick the Pi 4 under "Choose Device" in Imager and use a USB-C 5V/3A supply instead of the 27W brick. The Pi 5 is noticeably faster and I'd choose it for a new build, but a Pi 4 you already own makes a fine pentest box.

Do I really need the 8GB model?

For a comfortable experience, yes. Kali plus a browser plus a few running tools will lean on the RAM, and the price difference over the 4GB board is small. On a machine you're asking to do real work, the extra headroom is worth it.

Why does my Pi crash or show a lightning-bolt warning under load?

Almost always power. The Pi 5 needs the 27W (5V/5A) USB-C supply, and a phone charger or weak power bank will brown it out the moment a scan spikes the current draw. Use the proper PSU, and for field use a power bank rated for the Pi 5's draw.

Can I boot Kali from an SSD instead of a microSD?

Yes, and it's a real speed upgrade. The Pi 5 supports USB SSDs and, with an add-on HAT, NVMe drives. You can flash the same Kali ARM image to an SSD with Imager. For a portable drop box I still like microSD for the small footprint, but a desk Pi benefits a lot from an SSD.

The Pi's built-in WiFi won't go into monitor mode. Is it broken?

No — the onboard radio doesn't support monitor mode or packet injection. That's expected on every Pi. You need an external USB adapter with a supported chipset for any WiFi auditing. See my wireless adapters for Kali list for adapters that work.

Is a Pi fast enough for real pentesting?

For recon, scanning, staging, and WiFi work — yes. For anything CPU- or GPU-heavy like password cracking, no. Use the Pi as a portable front-end and offload cracking and other heavy jobs to a proper workstation.