Logo

dev-resources.site

for different kinds of informations.

Installing Snort on Kali Linux

Published at
10/3/2022
Categories
kali
security
Author
ankitsahu
Categories
2 categories in total
kali
open
security
open
Author
9 person written this
ankitsahu
open
Installing Snort on Kali Linux

Snort is no longer available in Kali repositories

Here are the steps to install snort on Kali

  • Backup kali's sources.list
mv /etc/apt/sources.list /etc/apt/sources.list.bak
Enter fullscreen mode Exit fullscreen mode
  • Remove updates
find /var/lib/apt/lists -type f -exec rm {} \;
Enter fullscreen mode Exit fullscreen mode
  • Change sources.list content
sudo nano /etc/apt/sources.list
Enter fullscreen mode Exit fullscreen mode

Paste content given below

deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse<br>
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse<br>

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse<br>
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse<br>

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse<br>
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse<br>

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse<br>
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse<br>

deb http://archive.canonical.com/ubuntu focal partner<br>
deb-src http://archive.canonical.com/ubuntu focal partner<br>
Enter fullscreen mode Exit fullscreen mode

If you are using kali as a virtual machine then paste this instead
As core Ubuntu repositories do not have the ARM repositories in them

deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse<br>
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse<br>
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse<br>

deb [arch=i386,amd64] http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse<br>
deb [arch=i386,amd64] http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse<br>
deb [arch=i386,amd64] http://security.ubuntu.com/ubuntu focal-security main restricted universe multiverse<br>
Enter fullscreen mode Exit fullscreen mode
  • Add the specified public keys
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
Enter fullscreen mode Exit fullscreen mode
  • Update
sudo apt update
Enter fullscreen mode Exit fullscreen mode
  • Now install snort
sudo apt install snort
Enter fullscreen mode Exit fullscreen mode
kali Article's
30 articles in total
Favicon
[Boost]
Favicon
Worms, Bots, and Botnets: How Hackers Take Over the Internet!
Favicon
Create a Powerful Hacking Lab: Install Kali Linux in Minutes!
Favicon
Kali Linux for Ethical Hacking: The Ultimate Toolkit for Cybersecurity Professionals
Favicon
Kali Linux For Beginner
Favicon
Install Kali NetHunter On Your Android Device
Favicon
Not bad but not good enough
Favicon
Beyond Basics: Traversing Kali Linux Tools
Favicon
Encrypt/Decrypt File Using Openssl
Favicon
Thrash with BASH
Favicon
Download Bluetooth in Kali Linux
Favicon
Realizando ataques de força bruta em containers docker usando hydra
Favicon
Deauthentication Attack using Kali Linux
Favicon
HiDPI In Kali Linux Through RDP | Hyper-V
Favicon
Kali Linux on Android Devices
Favicon
Mengatasi Install Kali Linux Berhenti di Detect Network Hardware
Favicon
Grub-customizer won't change your GRUB theme in Kali Linux? Try this
Favicon
Deploying your Kali-linux templates with Cloud-init, under Proxmox VE
Favicon
Linux top 15 shell commend.
Favicon
3 Easy Commands to Install Postman in Kali Linux
Favicon
Installing Snort on Kali Linux
Favicon
KALI LINUX: Common Commands that you should know : PART 2
Favicon
Kali vs Ubuntu
Favicon
Fast nmap scanning
Favicon
File upload bypass using MIME-type
Favicon
How to get Kali tools and Snap on a Chromebook
Favicon
Installing Libre Office in Kali Linux
Favicon
Adaptador de red wireless BCM4360 en Kali Linux
Favicon
Kali VPN Tweaks for TryHackMe
Favicon
Top 6 Ethical Hacking Tools

Featured ones: