Strange visitors

The GYM Sitemaps and RSS module and it's plug-ins.
Google Yahoo MSN Sitemaps (United 0.9).
RSS 2.0 Feeds and Yahoo! urllist.txt.

Moderator: Moderators

Strange visitors

Postby diabolic.bg » Sat Jan 03, 2009 11:07 am

From 20 days I get more hack attempts in my site. My security is good (htaccess + ZB Block but two times I have a some strange visitors:
Code: Select all
85.185.224.155 - - [03/Jan/2009:07:02:47 +0200] "GET /robots.txt HTTP/1.1" 200 941 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:47 +0200] "GET /urllist.txt HTTP/1.1" 200 41 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:48 +0200] "GET /phpbb2/rss.xml HTTP/1.1" 200 56994 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:52 +0200] "GET /phpbb2/urllist.txt HTTP/1.1" 200 9167 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:53 +0200] "GET /phpbb2/ggs_style/mxrss2.xsl HTTP/1.1" 200 7985 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:57 +0200] "GET /phpbb2/ggs_style/{$rss_link} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:57 +0200] "GET /phpbb2/ggs_style/{link} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:58 +0200] "GET /phpbb2/ggs_style/{channel/link} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:02:58 +0200] "GET /phpbb2/ggs_style/{image/link} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:03:02 +0200] "GET /phpbb2/ggs_style/{image/url} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"
85.185.224.155 - - [03/Jan/2009:07:03:02 +0200] "GET /phpbb2/ggs_style/{source/@url} HTTP/1.1" 404 1120 "-" "Java/1.4.1_04"


Do you think that is dangerous and what can I do?

Thanks in advance!
diabolic.bg
PR0
PR0
 
Posts: 52
Joined: Mon Feb 04, 2008 4:48 pm
Location: Bulgaria

Advertisement

Postby IPB_Refugee » Sat Jan 03, 2009 10:17 pm

Hi,

it might be just a RSS Newsreader. If you search for "Java/1.4.1_04" e.g. at Google, you will find some information. I think the comments at the following page are interesting:

http://spamhuntress.com/2006/02/13/anot ... -java-bot/

To block this bot (propably it is one):

Code: Select all
SetEnvIfNoCase User-Agent "^Java" bad_bot

Order Allow,Deny
Allow from All
Deny from env=bad_bot


(Taken from askapache.com.)

Or via mod_rewrite:

Code: Select all
RewriteCond %{HTTP_USER_AGENT} ^Java
RewriteRule .* - [F]


Best wishes for 2009!
Wolfgang
User avatar
IPB_Refugee
PR0
PR0
 
Posts: 82
Joined: Thu Jul 24, 2008 2:18 pm

Postby diabolic.bg » Sat Jan 03, 2009 10:35 pm

Thanks! I have a similar rule

RewriteCond %{HTTP_USER_AGENT} ^(python[-.]?urllib¦java/?[1-9]\.[0-9]) [NC]
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
But it doesn't redirect Java. :cry:
It is works excellent with libwww-perl and another...

This is all rules:
Code: Select all
# You may want to enable these lines below to disallow php, python, java and perl scripts to access your site
RewriteCond %{HTTP_USER_AGENT} ^.*PHP.*$ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*libwww-perl [NC,OR]
RewriteCond %{HTTP_USER_AGENT} LWP::Simple [NC,OR]
RewriteCond %{HTTP_USER_AGENT} lwp-trivial [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (^Morfeus) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Morfeus [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(curl|wget|python|nikto|scan).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(python[-.]?urllib¦java/?[1-9]\.[0-9]) [NC]
RewriteCond %{QUERY_STRING} ^(.*)=http: [NC]
# Send the attacker BACK to its originating server's IP address.
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]


Maybe the problem is in ¦

RewriteCond %{HTTP_USER_AGENT} ^(python[-.]?urllib¦java/?[1-9]\.[0-9]) [NC]
Maybe it must be | ?
What do you think?
diabolic.bg
PR0
PR0
 
Posts: 52
Joined: Mon Feb 04, 2008 4:48 pm
Location: Bulgaria


Return to GYM Sitemaps phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest