hacking contest

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

Full Version: Convert Exe Into Text
jimmy
I once found here on the board a way to convert an exe into some text code.

So when I don't have upload acces to a box, I can echo the exe onto it
First it needed to be converted and than it could be converted back on the box into the exe with the right command.
Anyone remembers the post or knows how to do it ?
taimoor
nice biggrin.gif
coder
Base64 - An encoding for binary data as described as a means of encoding email bodies in the IETF's MIME RFC. Base64 consists only of 64 encoding characters (A-Z, a-z, 0-9, +, /) that are a subset of US-ASCII.
jimmy
how can I recompile/convert it back on the box than ? I believe it was something with debug, not sure though
aTahualPa
do u tried this ?


aTa
mrBob
hmm, yes, i remember that post smile.gif
thought it was somewhere in a thread about an IE vulnerability
i'll do a little search laugh.gif
jimmy
thx
I searched already but didn't find it.

@coder: with base64 I can't do a thing, cause as far as I see I can't convert it back on the box without the base64 there
coder
I apologize for the misunderstanding ... I had not had my coffee yet wink.gif

if you're talking about http://www.governmentsecurity.org/forum/in...BF%BDentry15469 this? Using the Debug Utility?
jimmy
It wasn't that one, but maybe it gives a similar method.
I want to convert the kill.exe so I can echo it to the command shell on a hacked box. than I need to convert it back to kill.exe. That way I can kill the zonealarm that's running on the system.
coder
well, i think that debug can work! maybe you could convert your applications into ASM (assembly, 8086/8087/8088/ETC... ) then use the assemble function in debug.exe like so...

CODE

-a0100:0500
0100:0500 jmp 502; a 2-byte short jump
0100:0502 jmp near 505; a 3-byte near jump
0100:0505 jmp far 50a; a 5-byte far jump


ok, so i haven't been able to get any of my ASM code to work (although i have to admit i do not know ASM) -> in theory this should work smile.gif
boshcash
i will search debug.exe and how to use it to do that job ..
mrBob
QUOTE (boshcash @ Dec 30 2003, 10:21 AM)
i will search debug.exe and how to use it to do that job ..

it's included with windows smile.gif
i'll also google some and stuff
this looks pretty interesting
agamemnon
why not email it? if you're unable to post attatchments you could just send the HEX... unsure.gif

-ed.
boshcash
why dont u just convert it into vbs file by the exe2vbs program and then echo the vbs text there , then run it to write the exe .. does the AVs detect the vbs file as a malicous code running ? (dont try the HTTPGETFILE way , some AVs already detect that because it was put in an exploit before)

Hint in echoing : unechoable chars like > and < , put ^ before them ..
bakeel
tongue.gif tongue.gif
esorone
QUOTE (boshcash @ Jan 19 2004, 09:10 PM)

Hint in echoing : unechoable chars like > and < , put ^ before them ..

Thanks for this....i Didn't know that.
Life can be sooo simple biggrin.gif
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.