Thread: script kiddie blocker
-
08-16-2012, 02:58 PM #1Security Researcher

- Join Date
- May 2011
- Location
- Pune, Maharashtra, India
- Posts
- 226
- Blog Entries
- 1
- Thanks
- 75
- Thanked 91 Times in 50 Posts
script kiddie blocker
***** DEFENSIVE TECHNIQUE *********
Hi All,
Note: I have been talking a lot about making this list offline however never posted any details of this online so here are the details.
Many time web site administrators are faced with situations like some script kiddie *empowered* by latest version of nessus or w3af or skipfish and is hell bent on putting your site to knees.
at this point there are multiple options available one of then is going the cloudflare way or putting a web application firewall.
I am thinking of a very simple method to do exactly the same i.e. provide some protection against simple script kiddies.
*This method will in no ways protect you from a determined cracker or someone who is good at keeping his own tools*
so basic logic is to compile a list of generic user agent strings of common tools so that they could be blocked @ htaccess level.
Right now i am looking for all kind of possible inputs in terms of various useragents will publish a complete guide once i have sufficiently covered list of user agents.
Basic htaccess rule list would be
This will simply supply everyone with a simple blank page as response.Code:# SKiddie Blocking RewriteEngine On RewriteCond %{HTTP_USER_AGENT} [OR] RewriteCond %{HTTP_USER_AGENT} RewriteRule ^.* – [F,L] # SKiddie end
Now The reason for this post is i am yet to collect the useragent strings for these scanner.
so opening this thread so that we can get detailes by crowd source.
SkipFish - SF in useragent
DirBuster - Dirbuster in Useragent string.
Once we have sufficient no of strings will build a simple code block which we can place in htaccess to get these things done.
Note : I am in no ways saying this is the full fledge protection however will deter the script kiddies who don't even know that such options exist.Website :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Blog :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
-
The Following 2 Users Say Thank You to Anant Shrivastava For This Useful Post:
Crim3R (08-17-2012), H@CK3R_ADI (09-08-2012)
-
08-16-2012, 08:28 PM #2Super Commando Dhruv


- Join Date
- Sep 2010
- Location
- Lucknow/Pune,India
- Posts
- 469
- Blog Entries
- 2
- Thanks
- 169
- Thanked 144 Times in 83 Posts
Most of these scanners have a list of user agents which they send. But they do send in additional headers. Like acunetix ...
Anyway to counter these by .htaccessCode:User-Agent: Mozilla/4.0 (compatible; MSIE 6.0) Host: [domainremoved].org Connection: Close Acunetix-Product: WVS/2.0 (Acunetix Web Vulnerability Scanner - EVALUATION) Acunetix-Scanning-agreement: Third Party Scanning PROHIBITED Acunetix-User-agreement: http://www.acunetix.com/wvs/disc.htm mod_security-action: 406
In the world of 0s and 1s, are you a zero or The One !
-
The Following User Says Thank You to abhaythehero For This Useful Post:
Crim3R (08-17-2012)
-
08-16-2012, 08:59 PM #3I remember reading a article long ago by irongeek on skiddy baiting, Though its a completely different story, i think its worth a mentionCode:
w3af User-agent: w3af.sourceforge.net
All izz Well
-
The Following User Says Thank You to Boris For This Useful Post:
Crim3R (08-17-2012)
-
08-17-2012, 10:29 AM #4InfoSec Consultant


- Join Date
- Jul 2010
- Location
- Pune
- Posts
- 301
- Thanks
- 31
- Thanked 82 Times in 37 Posts
as far as i know many of this scanners can be configured to use any browsers i.e. IE,FF,Chrome user agent... so in such cases whats the idea??
also i am not sure how much effective your idea will be.. but i will suggest now you have 2-3 tools user agent why dont you go for test run of your idea and then move ahead for collecting more user agent...
and best of luck...
-
08-17-2012, 02:25 PM #5Security Researcher

- Join Date
- May 2011
- Location
- Pune, Maharashtra, India
- Posts
- 226
- Blog Entries
- 1
- Thanks
- 75
- Thanked 91 Times in 50 Posts
@abhay nice point so i will need such headers also
this should be able to do it.
RewriteCond %{HTTP:Acunetix-Product} ^WVS
@41.w4r10r,
I never said this will be full proof but this will be fool proof from people who just download tools and run it against sites.
problem is not that they may find flaws.
problems is that they use our bandwidth's.
I already have something in this effect ready all we need is useragents that we can plug in
htaccess based spamBot and Leacher Blocking Code | Anant Shrivastava : Techno Enthusiast
and this works pretty well.Website :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Blog :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
-
-
08-17-2012, 03:06 PM #6InfoSec Consultant


- Join Date
- Jul 2010
- Location
- Pune
- Posts
- 301
- Thanks
- 31
- Thanked 82 Times in 37 Posts
hmm your code on blog seems cool....
bravo idea.....
-
08-20-2012, 11:00 AM #7Garage Member
- Join Date
- Aug 2010
- Location
- Mumbai
- Posts
- 50
- Thanks
- 46
- Thanked 15 Times in 6 Posts
I like this idea to protect site from script kiddies.
Dose anyone have list of the user-agents for scanners ?
-
08-20-2012, 03:55 PM #8Security Researcher

- Join Date
- May 2011
- Location
- Pune, Maharashtra, India
- Posts
- 226
- Blog Entries
- 1
- Thanks
- 75
- Thanked 91 Times in 50 Posts
Website :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Blog :
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
-
08-21-2012, 02:46 PM #9Garage Newcomer
- Join Date
- Dec 2010
- Location
- Cyberworld
- Posts
- 43
- Thanks
- 39
- Thanked 26 Times in 11 Posts
i dont know my thinking is right or wrong but i will suggest one thing here ....
use snort to collect the user agents it will help you alot .....
snort have list of the malicious user agent list :P~peace~
-
08-21-2012, 06:21 PM #10Security Researcher
- Join Date
- Nov 2010
- Posts
- 187
- Blog Entries
- 2
- Thanks
- 62
- Thanked 53 Times in 30 Posts
have a look hereCode:http://www.sans.org/reading_room/whitepapers/hackers/user-agent-field-analyzing-detecting-abnormal-malicious-organization_33874
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
LinkBacks (?)
-
10-07-2012, 07:52 PM
-
Script Kiddie Blocker by @anantshri through htaccess http://www.garage4hackers.com/showthread.php?t=2581&postcount=1 | LinkedIn
Refback This thread09-05-2012, 10:26 PM -
09-04-2012, 09:25 PM
-
script kiddie blocker
Refback This thread08-29-2012, 09:17 AM -
08-29-2012, 01:41 AM



10Likes
LinkBack URL
About LinkBacks



Reply With Quote


Selective Symbolic Execution(S2E)
Today, 08:33 AM in Reverse Engineering and Application Cracking