Installing Snort on Kali Linux

Make a Backup of Current Sources.list File

mv /etc/apt/sources.list /etc/apt/sources.list.bak

Remove currently installed Kali Updates

find /var/lib/apt/lists -type f -exec rm {} \;

Download Ubuntu Sources.list File

wget -O /etc/apt/sources.list

Attempting to Update

GPG error: focal-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C
sudo apt-key adv --keyserver --recv-keys 3B4FE6ACC0B21F32
sudo apt-key adv --keyserver --recv-keys 871920D1991BC93C

Install Snort

sudo apt install snort

Restoring Kali’s Repository Sources.list File

find /var/lib/apt/lists -type f -exec rm {} \;
mv /etc/apt/sources.list /etc/apt/ubuntu_sources.list
mv /etc/apt/sources.list.bak /etc/apt/sources.list

The End

Pythonista & Gopher | <OSCP> <CySA+> <Security+> | Part-time Cybersecurity Instructional Associate @ Fullstack Academy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store