LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How many alerts a day do you get on snort? (https://www.linuxquestions.org/questions/linux-software-2/how-many-alerts-a-day-do-you-get-on-snort-639716/)

abefroman 05-03-2008 10:36 PM

How many alerts a day do you get on snort?
 
How many alerts a day do you get on snort?

I know I'm getting way too many and want to optimize, but I don't want to optimize too much.

How many alerts/day should I try to get it down to?

unSpawn 05-04-2008 06:24 AM

Quote:

Originally Posted by abefroman (Post 3141746)
How many alerts a day do you get on snort?

Ranging from a few to a few hundred.


Quote:

Originally Posted by abefroman (Post 3141746)
I know I'm getting way too many and want to optimize, but I don't want to optimize too much. How many alerts/day should I try to get it down to?

I think your aim should not be to bring the amount of alerts down (quantity) but what it trips on (quality).
First prune rulesets that you don't need (anything P2P, etc, etc). Log for a while. Then assess which services are exposed to world and should need watching, then gather statistics to see what it trips on. Correlate stats with services and prune rules further (MS-.*, Solaris, Websphere). Then add a BPF filter for services that need watching but are accessed from "trusted" ranges if it trips on that. Log for a while. Search logs for false positives and also see threshold.conf for alert/warn ratios.

abefroman 05-04-2008 05:19 PM

Quote:

Originally Posted by unSpawn (Post 3142049)
Ranging from a few to a few hundred.



I think your aim should not be to bring the amount of alerts down (quantity) but what it trips on (quality).
First prune rulesets that you don't need (anything P2P, etc, etc). Log for a while. Then assess which services are exposed to world and should need watching, then gather statistics to see what it trips on. Correlate stats with services and prune rules further (MS-.*, Solaris, Websphere). Then add a BPF filter for services that need watching but are accessed from "trusted" ranges if it trips on that. Log for a while. Search logs for false positives and also see threshold.conf for alert/warn ratios.

Thanks! I did my first batch of pruning and am letting it run a while now.

Can you give an example of one of the rules I should be concerned about if I see?

Either from Emerging Threats or one of the Snort VRT rules.

unSpawn 05-04-2008 08:03 PM

Quote:

Originally Posted by abefroman (Post 3142639)
Can you give an example of one of the rules I should be concerned about if I see?

Whatcha running Willis?

abefroman 05-04-2008 09:27 PM

Quote:

Originally Posted by unSpawn (Post 3142764)
Whatcha running Willis?

:) Apache, php, mysql, ssh, pop, exim

unSpawn 05-05-2008 06:35 AM

What runs on top of PHP? Are those services all exposed to world w/o access restrictions?

abefroman 05-05-2008 09:52 AM

What runs on top of PHP?
>>You name it, its running

Are those services all exposed to world w/o access restrictions?
>>Yes

Here are my top 10 alerts over about 12 hours, are these any to be concerned with?
http://abefroman.com/topten.html

unSpawn 05-06-2008 07:53 AM

Quote:

Originally Posted by abefroman (Post 3143394)
Are those services all exposed to world w/o access restrictions?
>>Yes

Why does the whole world need access to MySQL, SSH, POP, MTA? Is this an ISP machine?


Quote:

Originally Posted by abefroman (Post 3143394)
Here are my top 10 alerts over about 12 hours, are these any to be concerned with?

You can follow those "Snort" links to learn more about what that sig matches. If it matches a regular GET request for instance you know it's not.


All times are GMT -5. The time now is 08:26 PM.