Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-03-2008, 11:36 PM
|
#1
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Rep:
|
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?
|
|
|
05-04-2008, 07:24 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by abefroman
How many alerts a day do you get on snort?
|
Ranging from a few to a few hundred.
Quote:
Originally Posted by abefroman
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.
|
|
|
05-04-2008, 06:19 PM
|
#3
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
Quote:
Originally Posted by unSpawn
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.
|
|
|
05-04-2008, 09:03 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by abefroman
Can you give an example of one of the rules I should be concerned about if I see?
|
Whatcha running Willis?
|
|
|
05-04-2008, 10:27 PM
|
#5
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
Quote:
Originally Posted by unSpawn
Whatcha running Willis?
|
Apache, php, mysql, ssh, pop, exim
|
|
|
05-05-2008, 07:35 AM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
What runs on top of PHP? Are those services all exposed to world w/o access restrictions?
|
|
|
05-05-2008, 10:52 AM
|
#7
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
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
Last edited by abefroman; 05-05-2008 at 11:26 AM.
|
|
|
05-06-2008, 08:53 AM
|
#8
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by abefroman
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
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 12:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|