+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
Like Tree10Likes

Thread: script kiddie blocker Share/Save - My123World.Com!

  1. #1
    Security Researcher Anant Shrivastava has a spectacular aura aboutAnant Shrivastava has a spectacular aura about
    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


    Code:
    # SKiddie Blocking
     RewriteEngine On
     
     RewriteCond %{HTTP_USER_AGENT}  [OR]
     RewriteCond %{HTTP_USER_AGENT} 
     RewriteRule ^.* – [F,L]
    
    # SKiddie end
    This will simply supply everyone with a simple blank page as response.

    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.
    b0nd, AnArKI and fb1h2s like this.
    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.

  2. The Following 2 Users Say Thank You to Anant Shrivastava For This Useful Post:

    Crim3R (08-17-2012), H@CK3R_ADI (09-08-2012)

  3. #2
    Super Commando Dhruv abhaythehero has a spectacular aura aboutabhaythehero has a spectacular aura aboutabhaythehero has a spectacular aura about abhaythehero's Avatar
    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 ...

    Code:
    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
    Anyway to counter these by .htaccess
    In the world of 0s and 1s, are you a zero or The One !

  4. The Following User Says Thank You to abhaythehero For This Useful Post:

    Crim3R (08-17-2012)

  5. #3
    Garage Newcomer Boris is on a distinguished road Boris's Avatar
    Join Date
    Oct 2010
    Location
    /dev/null
    Posts
    14
    Thanks
    6
    Thanked 6 Times in 3 Posts
    Code:
    w3af
    User-agent: w3af.sourceforge.net
    I remember reading a article long ago by irongeek on skiddy baiting, Though its a completely different story, i think its worth a mention
    All izz Well

  6. The Following User Says Thank You to Boris For This Useful Post:

    Crim3R (08-17-2012)

  7. #4
    InfoSec Consultant 41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about 41.w4r10r's Avatar
    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...

  8. #5
    Security Researcher Anant Shrivastava has a spectacular aura aboutAnant Shrivastava has a spectacular aura about
    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.
    prashant_uniyal and the_empty like this.
    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.

  9. The Following 2 Users Say Thank You to Anant Shrivastava For This Useful Post:

    d4rkd4wn (08-20-2012), the_empty (08-17-2012)

  10. #6
    InfoSec Consultant 41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about41.w4r10r has a spectacular aura about 41.w4r10r's Avatar
    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.....

  11. #7
    Garage Member d4rkd4wn is on a distinguished road
    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 ?

  12. #8
    Security Researcher Anant Shrivastava has a spectacular aura aboutAnant Shrivastava has a spectacular aura about
    Join Date
    May 2011
    Location
    Pune, Maharashtra, India
    Posts
    226
    Blog Entries
    1
    Thanks
    75
    Thanked 91 Times in 50 Posts
    Quote Originally Posted by d4rkd4wn View Post
    I like this idea to protect site from script kiddies.

    Dose anyone have list of the user-agents for scanners ?
    That's what i am missing just need that.

    the whole purpose of post is to collect such agents.
    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.

  13. #9
    Garage Newcomer micr0 is on a distinguished road
    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~

  14. #10
    [s]
    [s] is offline
    Security Researcher [s] will become famous soon enough [s]'s Avatar
    Join Date
    Nov 2010
    Posts
    187
    Blog Entries
    2
    Thanks
    62
    Thanked 53 Times in 30 Posts
    Code:
    http://www.sans.org/reading_room/whitepapers/hackers/user-agent-field-analyzing-detecting-abnormal-malicious-organization_33874
    have a look here

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts