Saturday, March 7, 2015

Tuning Snort - Suppress

Snort has a few options which can be used to tune its performance and or reduce on the number of alerts generated. Of the methods available, we will look at threshold, suppress, detection_filters and using detection_filter with event_filters.

This lab consists of the following:
    Windows 2003 - Telnet Server - IP:
    Kali Linux - Running telnet client and snort, - IP:

In this post we will look at tuning via suppression in Snort Version

Let's start off with our rule
The rule below is just a basic rule looking for the content "Logon failure" coming from host going to host No suppression is enabled.

Let's logon via telnet

As seen above my logon failed. Let's assume this happened 6 times.
For every failed logon received from the server there is a Snort alert above.

Looking at the performance statistics. We see 6 Checks, 6 Matches and 6 Alerts

Let's now go ahead and configure suppression.

This is done via the "threshold.conf" which is found in /etc/snort

Once configured let's go ahead and create our failed logon sessions again, similar to above.

When snort is run again, there is no output on the screen.

However, as we check the performance data we see we have Checks 6, Matches 6 and Alerts 0.

What this confirms is that even though we suppress this alert, snort is still processing the packeet. However, no notification is provided to us as to what is going on with the packet.

Hope you enjoyed this post. See
threshold, suppress, detection_filters and using detection_filter with event_filters for further tuning tips.


No comments:

Post a Comment