LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 01-08-2012, 12:20 AM   #1
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 127

Rep: Reputation: 16
Script Kiddies and 403, 404 errors


I;ve been using fail2ban for a long time. I thought I had all the bases covered. I've got jails for everything (I thought), but now there seems to be a whole new wave of idiots.

I have no idea what they are looking for, but does anyone out there know of a Fail2ban action script that can pick up this stream of 403 and 404 errors that these morons are producing? See sample below : -


Requests with error response codes
403 Forbidden
/index.php?option=com_artportal&portalid=1 ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_catalogproduction&ta ... A%2Fmos_users--: 1 Time(s)
/index.php?option=com_idoblog&task=profile ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_jashowcase&view=jash ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_joomlub&controller=a ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_juser&task=show_profile&id=70: 1 Time(s)
/index.php?option=com_onestabliments&task= ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_photoblog&view=blogs ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_tupinambis&task=verp ... A%2Fmos_users--: 1 Time(s)
/index.php?option=com_user&task=activate&a ... ad1504bd573f70d: 1 Time(s)
404 Not Found
/).translate(: 1 Time(s)
/.65: 1 Time(s)
/.google-analytics.com/ga.js: 1 Time(s)
/9.0.0: 1 Time(s)
/;jQuery.cookie(: 1 Time(s)
/BingSiteAuth.xml: 1 Time(s)
/LiveSearchSiteAuth.xml: 1 Time(s)
/a.modal: 1 Time(s)
/administrator/components/com_babackup/classes/Tar.php: 1 Time(s)
/administrator/components/com_feederator/i ... sp/add_tmsp.php: 1 Time(s)
/administrator/components/com_jwmmxtd/admin.jwmmxtd.php: 1 Time(s)
/administrator/components/com_linkdirector ... ectory.html.php: 1 Time(s)
/administrator/components/com_lurm_constru ... constructor.php: 1 Time(s)
/administrator/components/com_mosmedia/inc ... /media.divs.php: 1 Time(s)
/administrator/components/com_serverstat/i ... .serverstat.php: 1 Time(s)
/appConf.htm: 1 Time(s)
/component/com_onlineflashquiz/quiz/common/db_config.inc.php: 1 Time(s)
/components/com_cpg/cpg.php: 1 Time(s)
/components/com_extended_registration/regi ... etailed.inc.php: 1 Time(s)
/components/com_hbssearch/longDesc.php?h_i ... sers--%26id%3D2: 1 Time(s)
/components/com_hbssearch/longDesc.php?hid ... A%2Fjos_users--: 2 Time(s)
/components/com_pollxt/conf.pollxt.php: 1 Time(s)
/components/com_slideshow/admin.slideshow1.php: 1 Time(s)
/components/com_thopper/inc/projectstatus_type.php: 1 Time(s)
/home/henry/sweoncent-1.0.2.gz: 1 Time(s)
/images/A_MyMusePreviews/hank-martin/forev ... -of-mystery.mp3: 1 Time(s)
/images/A_MyMusePreviews/hank-martin/forev ... mn/gonzales.mp3: 1 Time(s)
/images/A_MyMusePreviews/hank-martin/forev ... tumn/nivram.mp3: 1 Time(s)
/images/stories/logo150sq.jpg: 4 Time(s)
/index.php/my-music.html?view=product&catid=2%3Asongs: 1 Time(s)
/index.php?option=com_accombo&func=detail& ... A%2Fmos_users--: 1 Time(s)
/index.php?option=com_akobook&Itemid=36&fu ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_cbresumebuilder&task ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_djcatalog&view=showItem&id=null: 1 Time(s)
/index.php?option=com_facebook&view=studen ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_gameserver&view=gamepanel&id=999999: 1 Time(s)
/index.php?option=com_idoblog&task=profile ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_jvideo&view=user&user_id=62: 2 Time(s)
/index.php?option=com_mosres&task=viewprop ... perty_uid=1005': 1 Time(s)
/index.php?option=com_ninjamonials&task=display&testimID=3: 2 Time(s)
/index.php?option=com_photoblog&view=blogs ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_propertylab&task=pro ... 0&auction_id=26: 1 Time(s)
/index.php?option=com_school&Itemid=null&f ... A%2Fjos_users--: 1 Time(s)
/index.php?option=com_tupinambis&task=verp ... A%2Fmos_users--: 1 Time(s)
/ntforum/%09SMF%C0%E0%D0%CD%0989000%09-1: 2 Time(s)
/portfolio?controller=sections&view=item&i ... A%2Fjos_users--: 1 Time(s)
/songs/streetsoflove.zip: 1 Time(s)
/static/email/: 1 Time(s)
 
Old 01-08-2012, 04:52 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,279

Rep: Reputation: 61
I have no experience with fail2ban, but maybe something like mod_security which is an application firewall for webservers, is highly configurable, it can be made to look out for things like that, then take what action you tell it too
 
Old 01-08-2012, 05:33 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,311
Blog Entries: 54

Rep: Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860Reputation: 2860
Quote:
Originally Posted by baldur2630 View Post
I have no idea what they are looking for
Joomla exploits mostly and quite old. The ones I searched for are 2009-ish and as such have been in the Snort Emerging Threats rule set for some time. The fact queries get a 403 or 404 is good but is a good sign but it's always better to ensure you're not running a stale installation or plugins of anything accessible through the web stack (in short: know what you run). If you're serious about blocking this, remember web servers see a lot of noise, then I agree anything that blocks (near-) real time would be more efficient than something that runs checks every n cycles, see http://blog.spiderlabs.com/2011/11/m...dentified.html for some leads.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot register my site for SEO because i get 403,404 errorrs bevin Linux - Newbie 1 11-14-2008 01:50 AM
.htaccess 403/404.html not working properly Nemie Linux - Server 1 10-28-2008 10:09 PM
Script kiddies keep hitting my apache server user1442 Slackware 7 10-27-2005 12:02 PM
trailing slash in Apache gives 404 errors rabbate Linux - General 6 04-30-2004 08:34 AM
iptables and firewalls and script kiddies, oh my! murray_linux Slackware 3 11-12-2003 06:26 PM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration