SNORT Installation

 1) Make sure that your kali has the following setting in the following way


2) open kali and type the following command in the terminal to check ip address and copy it or remember it 
the command is "ifconfig"



3) type the following command to start snort installation 

sudo apt-get install snort


4) type your ip range as required




5) go to snorts directory and create a backup of the snort.conf as we will edit it soon 
to create backups use the following commands 
"cp snort.conf snort.conf.back"


6) we create another backup for the snort file to edit 
using the command
"cp snort.conf test_snort.conf"




7) we edit with a file editor i am using nano and put your ip range 
using the command 
sudo nano test_snort.conf


8) test your snort changes using the following command 
the command is "sudo snort -T -i eth0 -c /etc/snort/test_snort.conf"

9) now we define our new rules 




10) then we test it again using the command in step 8


11) then we start using our snort using the following command 
the command is "sudo snort -A console -q -i eth0 -c /etc/snort/test_snort.conf"



Comments

Popular posts from this blog

CYBER-BASICS 3: SQL

CYBERTOOLS:4-Using Decoys and Packet Fragmentation in nmap to bypass firewalls