Support

Admin Tools

#9928 a lot of security exception mails

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 26 September 2011 05:43 CDT

french150
Mandatory information about my setup:

Have I searched the forum before posting? No
Have I read the Troubleshooting Wizard before posting? No
Have I read the documentation before posting? Yes
Joomla! version: 1.5.23
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools Professional version: last stable


Description of my issue:
After installed Admin tools pro and configured it, i receive every day by mail a lot of security exception mails with this content: "Hello,

We would like to notify you that a security exception was detected on your site, xxxxx, with the following details:

IP Address: 220.181.108.75
Reason: Bad Behaviour (Required header 'Accept' missing)

If this kind of security exception repeats itself, please log in to your site's back-end and add this IP address to your Admin Tools's Web Application Firewall feature in order to completely block the misbehaving user..."

What do they mean?

Is it possible that these are false alerts or what?
Thanks
Bets regards



Please supply all of the information requested above about your setup. The more complete this information, the easier it is for us to help you. Then delete the text in this paragraph and provide an accurate description of your issue. If you see error messages on your screen, please copy & paste them here or take and attach a screenshot to your post. Do not forget to post log files when requested to do so.

nicholas
Akeeba Staff
Manager
Bad Behavior is the integration of the third party Bad Behavior security library. It is supposed to protect your site by analyzing the request and figuring out if there's something suspicious about it. Following that link will tell you more about Bad Behavior and how it works.

Regarding the various sub-errors reported by Bad Behavior, there is an easy way to learn more about them. Go to your site's back-end, Components, Admin Tools, Web Application Firewall, Security Exceptions Log. Find the record of the security exception you are interested in (tip: you can select "Bad Behaviour" from the "Reason" drop-down to filter only Bad Behaviour security exceptions). There will be an info icon next to "Bad Behaviour". Click on it to visit a page in Bad Behavior's website which further explains the details of that security exception.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user38905
Hi

I too have received hundreds of security exception emails for this IP range as well range for IP 123.125.71.xxx. I've looked both ranges up and they appear to be located in China. I have disabled Asia altogether but I'm still getting the exception emails.

I am very new to Admin Tools so I appologise for posting may be a stupid question: I'm trying to understand what really happens when these exceptions occur and what I can do to prevent them any further. I did follow the link from the backend but didn't get what I'm supposed to do.

Thank you so much!

french150
Hi. I noticed this link "http://www.xxxx.com/index.php?format=feed&type=atom" in the target url column. But i nevere installed feed component.
Why?
Thanks

nicholas
Akeeba Staff
Manager
@french150 Stupid wannabe hacker (a.k.a. "script kiddies") will try URLs and hacking methods at random. This means that 99% of the times they target a URL of a component either not installed or even for an older Joomla! release, e.g. 1.0. I have also seen some incredible #fails on this site, like someone trying to attack an ASPX file (which, of course, couldn't even run as I'm using Apache on Linux). So, don't worry about the target URL if it it targets something not installed or activated on our site; it's probably some script kiddie who think he's being smart... not! ;)

@dsa787 You can always blacklist the IP range 123.125.71.1-123.125.71.254 for a more reliable effect. The Geo Blocking has a 99% accuracy (according to the supplier of the IP-to-Country database, MaxMind).

The exceptions occur when someone is suspected of trying to hack your site. Do note that because they trigger an exception doesn't mean that they DID try to hack your site. There's a false positive rate in the area of 10%, which means that roughly 1 out of 10 security exceptions is a poor innocent lad with a slightly peculiar query which triggered the security exception. It's like TSA agents singling out a guy because they think he might be a terrorist suspect. Most likely he's not, yet they do single him out.

Admin Tools draws its security exception decisions based on the settings you have configured in its Web Application Firewall feature (components, Admin Tools, Web Application Firewall, Configure WAF). By default, an insane level of protection is enabled. You can fine-tune it at will, following our documentation as a reference of what each WAF feature does. In fact, I urge you to allocate 1-2 hours to read the documentation and configure your site. It is the best web site security crash-course you can get - especially considering the low price - or so I'm told by other users :)

I hope that helps!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user38905
Hi

and thank you. I actually did blacklist the IP ranges like this

220.181.108.
123.125.71.

plus I've been additing the single IPs as well and I'm still getting the exceptions as we speak. Today alone I have 29 exceptions from these two IP ranges and it's only morning around here. Then we're speaking of days so it isn't hard to do the math.

I would hardly call this "poor innocent lad". There is something more that's going on. I just hope that they get blocked and can't do any damage.

I will definitely take your advice on studying the guide.

Thanks again,

nicholas
Akeeba Staff
Manager
Instead of adding the IPs to the black-list manually, you can use the automatic IP blacklisting feature of Admin Tools' WAF. Just set it to block the IP for 60 minutes after 2 security exceptions occurring within 5 minutes. This will throw off the bots running off these IPs; after two hacking attempts they will be disallowed from accessing your site, forcing them to give up trying.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tcgass
Hi,
I have a similar problem, although I know that there is no security problem. The IP address belongs to a service I've purchased that regularely checks my sites for malware. The messages I get are:

Reason: Bad Behaviour (User-Agent claimed to be Googlebot, claim appears to be false.)

Is there a possibility to add this address to a kind of "white list" in order to stop the daily security exception mails?

Thanks for your support,
Thomas

nicholas
Akeeba Staff
Manager
Yes, of course there is. Inside the Bad Behaviour configuration block -in the Configure WAF page- you'll see the option titled "White list IPs (comma separated list)". Just enter the IP in there and this service's IP won't be blocked by the Bad Behaviour integration :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tcgass
Ahh, I see!! Thank you so much for your quick reply! I was simply overlooking this feature, but now everything is fine :-)

Have a great day,

Thomas

nicholas
Akeeba Staff
Manager
You're welcome! :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!