A powerful, easily deployable network traffic analysis tool suite for network security monitoring
Hedgehog Linux can be run on some models of the Raspberry Pi, providing a low-cost network sensor suitable for capturing traffic in networks with a smaller traffic footprint.
The official Hedgehog Linux for Raspberry Pi image archive can be downloaded from GitHub. It can also be built easily on an Internet-connected system with Vagrant:
bento/debian-13 Vagrant boxThe build should work with a variety of Vagrant providers:
vagrant-vmware-desktop pluginvagrant-libvirt provider pluginvagrant-mutate plugin to convert the bento/debian-13 Vagrant box to libvirt formatvagrant-vbguest pluginTo perform a clean build of the Hedgehog Linux Raspberry Pi image, navigate to your local Malcolm working copy and run:
$ ./hedgehog-raspi/build_via_vagrant.sh -f -z
…
Starting build machine...
Bringing machine 'vagrant-hedgehog-raspi' up with 'virtualbox' provider...
…
Building the image should take under 30 minutes on a native ARM64 system; however, if building on an amd64 platform, the process will involve cross-compiling for the ARM64 architecture and may take five or more hours depending on your system. When the build finishes, you will see the following message indicating success:
…
2024-01-21 05:11:44 INFO All went fine.
2024-01-21 05:11:44 DEBUG Ending, all OK
…
The resulting .img.xz file can be written to a microSD card or other bootable media using the Raspberry Pi Imager or dd.

On the first boot, the system loads the embedded container images before displaying the login prompt, which may take several minutes. This one-time setup is not repeated on subsequent boots.
The provided image allows local login, requiring physical access, with the sensor account using the default password Hedgehog_Linux. On first login, the user is required to change this password. Login as root is disabled by default. After the sensor password has been changed, a root password may be set using sudo passwd root if desired.
Hedgehog-rpi-4 login: sensor
Password:
You are required to change your password immediately (administrator enforced).
Changing password for sensor.
Current password: **************
New password: ****************
Retype new password: ****************
sensor@Hedgehog-rpi-4:~$ sudo passwd root
[sudo] password for sensor: ****************
New password: ****************
Retype new password: ****************
passwd: password updated successfully
Once Hedgehog Linux has booted, configuration can proceed using Malcolm’s ./scripts/configure script.
Due to the Raspberry Pi’s hardware and resource constraints, there are a few things to take into consideration:
capture, tcpdump, or netsniff-ng), which would still provide network traffic metadata generated by Zeek and Suricata at the cost of not generating Arkime session records or storing the underlying full PCAP