Open In App

What is SNORT ?

SNORT is a network based intrusion detection system which is written in C programming language. It was developed in 1998 by Martin Roesch. Now it is developed by Cisco. It is free open-source software. It can also be used as a packet sniffer to monitor the system in real time. The network admin can use it to watch all the incoming packets and find the ones which are dangerous to the system. It is based on library packet capture tool. The rules are fairly easy to create and implement and it can be deployed in any kind of operating system and any kind of network environment. The main reason of the popularity of this IDS over others is that it is a free-to-use software and also open source because of which any user can be able to use it as the way he wants. 
Features: 

Installation Steps: 
In Linux: 



In Windows: 

Different SNORT Modes:



  1. Sniffer Mode – 
    To print TCP/IP header use command ./snort -v 
    To print IP address along with header use command ./snort -vd 
  2. Packet Logging – 
    To store packet in disk you need to give path where you want to store the logs. For this command is./snort -dev -l ./SnortLogs
  3. Activate network intrusion detection mode – 
    To start this mode use this command ./snort -dev -l ./SnortLogs -h 192.127.1.0/24 -c snort.conf 

Types of Rules in SNORT:

There are 3 types of rules in SNORT, those are

  1. Alert Rules: This uses the alert technique to produce notifications.
  2. Logging Rules: It logs each individual alert as soon as it is generated.
  3. Pass Rules: If the packet is deemed malicious, it is ignored and dropped.

Basic Usages: 

Article Tags :