Odd rule 350000 issue

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Spazholio
Forum User
Forum User
Posts: 10
Joined: Wed Jul 19, 2006 10:37 pm

Odd rule 350000 issue

Unread post by Spazholio »

Here's what I'm getting in my OSSEC HIDS hourly email:

[modsecurity] [client xxx.xxx.xxx.xxx] [domain www.domain.com] [403] [/20080624/20080624-1105/20080624-110535-uvomP0jpM6cAACZhqEoAAAAL] [file "/etc/httpd/modsecurity.d/00_asl_rbl.conf"] [line "23"] [id "350000"] [msg "RBL: sbl-xbl.spamhaus.org"] [severity "ALERT"] Access denied with code 403 (phase 2). Match of "rx 88.138.0.155" against "REMOTE_ADDR" required.

Now, the issues I'm noticing are this:

This isn't showing up in the Dashboard. I created a 00_asl_custom_exclude.conf (which contains: SecRuleRemoveById 350000)in the /etc/httpd/modsecurity.d dir in order to disable this rule, because it's firing on nearly every one of my domains, and has nothing to do with 88.138.0.155. That is not the IP that's getting reported. Heck, I use ModernBill as my billing software, and they were getting blocked from their IP (which isn't even close to 88.138.0.155).

My question is basically, how can I disable this rule permanently, or how can I determine just what the heck is making it fire? It's not matching on that IP, it's matching on something else. Can anyone shed some light on this?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You can disable RBL checks in /etc/asl/config, set the following:

MODSEC_00_RBL="off"


and run:
asl -s -f
Spazholio
Forum User
Forum User
Posts: 10
Joined: Wed Jul 19, 2006 10:37 pm

Unread post by Spazholio »

Is that actually advised? To disable a whole category of security checks? Or is RBL checking one of those that's not TOO bad to eliminate?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

IP's listed on the RBL are known sources of either spam, or malicious activity. Personally, yes, I think disabling it is a bad idea. If your users are coming from RBL sources, which isnt uncommon for a lot of international users, then using it might not be an option.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

We dont use the RBL on our servers, we figure if they are going to do anything bad they will get caught in a specific rule.
warrenc
Forum User
Forum User
Posts: 41
Joined: Sat May 24, 2008 5:00 pm
Location: VA
Contact:

Unread post by warrenc »

I'm using that ruleset as well and get lots of the same alerts. I'm sure it's not too difficult to 'demote' them so that they don't fire off so many OSSEC emails, etc though. I have a ticket in regarding this, hopefully they will help but if not I'll dig into it a bit when I have some time.
Post Reply