exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

shellcode-crash.c

shellcode-crash.c
Posted Aug 8, 2007
Authored by Touron Guillaume

25 byte shellcode that checks Retrieve PEB->BeingDebugged and if a process is being debugged, it crashes.

tags | shellcode
SHA-256 | 6f80afe28a89782e2ec55e95f793b6cb366bd308000d924a3c962b3714cd8aa7

shellcode-crash.c

Change Mirror Download
/*  IsProcessDebugged ShellCode (25 bytes) by Touron Guillaume  */

// Retrieve PEB->BeingDebugged to check if Process is debugged
// If BeingDebugged == 1 (debugged) -> process CRASH !!
// If not, continue execution after the shellcode...

// No null bytes
// contact: touron [dot] guillaume [at] gmail [dot] com

#include <stdio.h>
#include <string.h>

char shellcode_dbg[] = "\x60\x33\xDB\x83\xC3\x18\x64\x8B\x03\x8B\x40\x30"
"\x0F\xB6\x40\x02\x8B\xFD\x83\xC7\x04\x29\x07\x61\xC3";

int main()
{
fprintf(stdout, "Shellcode lenght: %d bytes only!\n", strlen(shellcode_dbg));

void (*myShellcode)();
*(long *)&myShellcode = (long)shellcode_dbg;

myShellcode();

return 0;
}
Login or Register to add favorites

File Archive:

June 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close