Simple MessageBox in AutoIt. #cs
===========================================================================================
Description ..... Execute MessageBox via shellcode.
Shellcode size .. 51 bytes
Author .......... Avenger
===========================================================================================
-------------------------------------------------------------------------------------------
push 0x0020206f
push 0x6c6c6548
mov ebx, esp
push 0x0020786f
push 0x42656761
push 0x7373654d
mov ecx, esp
xor eax, eax
push eax
push ebx
push ecx
push eax
mov esi, 0x77d7050b
call esi
xor eax, eax
mov eax, 0x7c81caa2
call eax
-------------------------------------------------------------------------------------------
#ce
$SHELLCODE = "0x686F2020006848656C6C" & _
"89E3" & _
"686F7820006861676542684D657373" & _
"89E1" & _
"31C0" & _
"50" & _
"53" & _
"51" & _
"50" & _
"BE0B05D777" & _
"FFD6" & _
"31C0" & _
"B8A2CA817C" & _
"FFD0"
$SHELLCODE_BUFFER = DllStructCreate("BYTE[51]")
$PUT_SHELLCODE_TO_BUFFER = DllStructSetData($SHELLCODE_BUFFER, 1, $SHELLCODE)
$SHELLCODE_EXECUTE = DllCall("user32.dll", "lresult", "CallWindowProc", "ptr", DllStructGetPtr($SHELLCODE_BUFFER))UDF here: http://autoit.xaa.pl/download/file.php?id=522 Enjoy!