what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 6e94bfb9d2b94082ecd1a9d972bdb0de79297cda77b7484f32f0b7fbafb9b244

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)();
}
Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close