






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A step-by-step guide on installing and configuring snort, an open-source intrusion detection and prevention system. It covers the essential steps for setting up snort on an ubuntu operating system, including configuring network settings and validating the installation. The guide also demonstrates how to use snort to detect network attacks by simulating a penetration test using kali linux.
Typology: Cheat Sheet
1 / 10
This page cannot be seen from the preview
Don't miss anything!
Snort is an open source tool for intrusion detection and prevention system. It uses a series of rules that helps define malicious network activities & uses those rules to find packets that match against them & generates alerts for users. Snort has three primary uses:
Here , inet is my address.(192.168.82.42) Step 3: clear the screen by using “clear” command. Type the below command. “ sudo su “ This code will open Root Path, this is for opening Super User.(Administrator)
Step 7: Here, I have installed snort 2.9.20 , now open FILES OTHER LOCATION UBUNTU ETC SNORT SNORT.CONF , open snort.conf file as run as administrator in text editor to make changes in it. File path: file/other location/Unbuntu/etc/snort/snort.conf. Open the snort.conf file then in HOME_NET any , Here in place of any type your Ubuntu configured ip address. As I have done : HOME_NET 192.168.82.0/
Step 9 : Now open Kali linux terminal. Now know the ip address of kali linux os. By command using in terminal, “ifconfig”
Ip address is (inet) 192.168.82. Now, we will try to penetrate, we will use kali to attack Ubuntu which have snort will detect & tell us that someone is trying to scan machine or network using some external tool. Step 10: Now, in order to activate snort on Ubuntu we will type the command, “sudo snort - A console - q – c /etc/snort/snort.conf - i enp0s3”
- A means display output on the screen. - q means to avoid unnecessary message on screen.
Step 12: In Ubuntu it will successfully detect the intrusion and display alert message as “ ATTEMPTED INFORMATION LEAK “, & ip address of attacker machine i.e. kali.