what you don't know can hurt you

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:

March 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close