This is some of my work deploying Zeek NSM on a Raspberry Pi
Zeek can be found here: https://github.com/zeek
Install Raspbian Lite https://www.raspberrypi.org/documentation/installation/installing-images/
Majority of this can be completed via Raspi-config
sudo raspi-configChange hostname Change password Enable SSH Connect wifi
sudo iwlist wlan0 scanExpand file system
#Run Updates and Upgrades
sudo apt update && upgrade -yReboot
Force eth0 into promiscuous mode
ifconfig eth0 promiscRun netstat -i to determine if promiscuous mode has been enabled
netstat -ihttps://docs.zeek.org/en/current/install.html#
Install all required Zeek dependencies
sudo apt-get install cmake make gcc g++ flex bison libpcap-dev libssl-dev python3 python3-dev swig zlib1g-dev -yInstall optional dependencies
sudo apt-get install python3-git python3-semantic-version libkrb5-dev libjemalloc-dev google-perftools -y
sudo apt-get install libgoogle-perftools4 perl curl libtcmalloc-minimal4 libgoogle-perftools-dev -y
sudo apt-get install libtcmalloc-minimal4 -y
sudo apt-get install libmaxminddb-dev -y
sudo apt-get install sendmail sendmail-cf m4 -yInstructions for Geo-IP: https://docs.zeek.org/en/current/frameworks/geoip.html#geolocation
Instructions for SendMail: https://tecadmin.net/install-sendmail-on-debian-9-stretch/
git clone --recursive https://github.com/zeek/zeek
cd zeek
./configure --prefix=/opt/zeek --build-type=release
make
make install-auxsudo chown -R pi:pi /opt/zeek
sudo chmod 750 /opt/zeeknano ~/.profile
source ~/.profilezeekctl[zeekctl] install [zeekctl] deploy [zeekctl] status [zeekctl] debug

