最近流行一种主要通过U盘传播的病毒MS-DOS.COM病毒。机器感染上这种病毒后,会在每个磁盘根目录下生产一个autorun.inf文件和一个ms-dos.com病毒程序文件,如果机器插入U盘,会在这个U盘上生成这几个文件的同时,隐藏U盘上所有目录,并生成和目录同名的病毒伪装文件夹。病毒会自动生成很多文件散布在不同的系统文件夹中,按Ctrl+Alt+Del键可以看到有:Global.exe、keyboard.exe、fonts.exe等病毒进程在运行,且互为保护无法中止这些进程;病毒通过映像劫持破坏输入法、任务管理器、注册表编辑器等,不断产生“explorer程序遇到问题需要关闭”等出错提示;还可以通过局域网网络感染共享文件夹。
这个病毒危害很大,病毒文件分布很广,伪装性很强,稍不留心就会中招。不过只要清楚了病毒的原理,清除起来也不算太难。
首先要清除病毒文件,并建立免疫文件。
将下列文字拷贝下来,打开记事本,将文字粘贴进去,然后选择另存为,文件名为shadu.bat,文件类型为所有文件,再点保存。
运行shadu.bat
@echo off
rem —删除所有盘上autorun.inf和ms-dos.com并免疫:
FOR %%a IN ( C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z: ) DO ATTRIB -R -H -S -A %%a\autorun.inf & DEL /F /Q /A -R -H -S -A %%a\autorun.INF & md %%a\autorun.inf & md %%a\autorun.inf\autorun.com.cn..\\& attrib +r +h +s +a %%a\autorun.inf & ATTRIB -R -H -S -A %%a\ms-dos.com & DEL /F /Q /A -R -H -S -A %%a\ms-dos.com & md %%a\ms-dos.com & md %%a\ms-dos.com\ms-dos.com.cn..\\& attrib +r +h +s +a %%a\ms-dos.com
rem —如果以下进程不能中止,请用冰刃软件中的“建立规则”方法加以中止。
taskkill /im system.exe /f
taskkill /im system.exe /f
taskkill /im global.exe /f
taskkill /im global.exe /f
taskkill /im default.exe /f
taskkill /im default.exe /f
taskkill /im tskmgr.exe /f
taskkill /im tskmgr.exe /f
taskkill /im fonts.exe /f
taskkill /im fonts.exe /f
taskkill /im keyboard.exe /f
taskkill /im keyboard.exe /f
taskkill /im ms-dos.com /f
taskkill /im ms-dos.com /f
taskkill /im regedit.exe /f
taskkill /im regedit.exe /f
rem —删除病毒文件,建立免疫文件。
attrib -s -h -r c:\windows\cursors\boom.vbs
attrib -s -h -r c:\windows\fonts\fonts.exe
attrib -s -h -r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\system.exe
attrib -s -h -r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\svchost.exe
attrib -s -h -r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\global.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\svchost.exe
attrib -s -h -r c:\windows\remoteabc.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\Global.exe
attrib -s -h -r c:\windows\system32\dllcache\default.exe
attrib -s -h -r c:\windows\system\keyboard.exe
attrib -s -h -r C:\WINDOWS\Help\microsoft.hlp
attrib -s -h -r c:\windows\system32\dllcache\rndll32.exe
attrib -s -h -r c:\windows\system32\drivers\drivers.cab.exe
attrib -s -h -r c:\windows\media\rndll32.pif
attrib -s -h -r c:\windows\pchealth\helpctr\binaries\helphost.com
attrib -s -h -r c:\windows\fonts\tskmgr.exe
attrib -s -h -r C:\WINDOWS\pchealth\Global.exe
attrib -s -h -r c:\windows\system32\cdcd.sys
attrib -s -h -r C:\PROGRA~1\COMMON~1\MICROS~1\IME\IMSC40W\IMSCMIG.EXE
attrib -s -h -r c:\windows\system32\regedit.exe
del /q /s /f c:\windows\cursors\boom.vbs
del /q /s /f c:\windows\fonts\fonts.exe
del /q /s /f c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\system.exe
del /q /s /f c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\svchost.exe
del /q /s /f c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\global.exe
del /q /s /f C:\WINDOWS\system32\dllcache\svchost.exe
del /q /s /f c:\windows\remoteabc.exe
del /q /s /f C:\WINDOWS\system32\dllcache\Global.exe
del /q /s /f c:\windows\system32\dllcache\default.exe
del /q /s /f c:\windows\system\keyboard.exe
del /q /s /f C:\WINDOWS\Help\microsoft.hlp
del /q /s /f c:\windows\system32\dllcache\rndll32.exe
del /q /s /f c:\windows\system32\drivers\drivers.cab.exe
del /q /s /f c:\windows\media\rndll32.pif
del /q /s /f c:\windows\pchealth\helpctr\binaries\helphost.com
del /q /s /f c:\windows\fonts\tskmgr.exe
del /q /s /f C:\WINDOWS\pchealth\Global.exe
del /q /s /f c:\windows\system32\cdcd.sys
del /f /s /q C:\PROGRA~1\COMMON~1\MICROS~1\IME\IMSC40W\IMSCMIG.EXE
del /q /s /f c:\windows\system32\regedit.exe
rd c:\windows\cursors\boom.vbs
rd c:\windows\fonts\fonts.exe
rd c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\system.exe
rd c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\svchost.exe
rd c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\global.exe
rd C:\WINDOWS\system32\dllcache\svchost.exe
rd c:\windows\remoteabc.exe
rd C:\WINDOWS\system32\dllcache\Global.exe
rd c:\windows\system32\dllcache\default.exe
rd c:\windows\system\keyboard.exe
rd C:\WINDOWS\Help\microsoft.hlp
rd c:\windows\system32\dllcache\rndll32.exe
rd c:\windows\system32\drivers\drivers.cab.exe
rd c:\windows\media\rndll32.pif
rd c:\windows\pchealth\helpctr\binaries\helphost.com
rd c:\windows\fonts\tskmgr.exe
rd C:\WINDOWS\pchealth\Global.exe
rd c:\windows\system32\cdcd.sys
rd c:\windows\system32\regedit.exe
md c:\windows\cursors\boom.vbs
md c:\windows\fonts\fonts.exe
md c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\system.exe
md c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\svchost.exe
md c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\global.exe
md C:\WINDOWS\system32\dllcache\svchost.exe
md c:\windows\remoteabc.exe
md C:\WINDOWS\system32\dllcache\Global.exe
md c:\windows\system32\dllcache\default.exe
md c:\windows\system\keyboard.exe
md C:\WINDOWS\Help\microsoft.hlp
md c:\windows\system32\dllcache\rndll32.exe
md c:\windows\system32\drivers\drivers.cab.exe
md c:\windows\media\rndll32.pif
md c:\windows\pchealth\helpctr\binaries\helphost.com
md c:\windows\fonts\tskmgr.exe
md C:\WINDOWS\pchealth\Global.exe
md c:\windows\system32\cdcd.sys
copy c:\windows\regedit.exe c:\windows\system32\regedit.exe
attrib +s +h +r c:\windows\cursors\boom.vbs
attrib +s +h +r c:\windows\fonts\fonts.exe
attrib +s +h +r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\system.exe
attrib +s +h +r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\svchost.exe
attrib +s +h +r c:\windows\system32\dllcache\recycler.{645ff040-5081-101b-9f08-00aa002f954e}\global.exe
attrib +s +h +r C:\WINDOWS\system32\dllcache\svchost.exe
attrib +s +h +r c:\windows\remoteabc.exe
attrib +s +h +r C:\WINDOWS\system32\dllcache\Global.exe
attrib +s +h +r c:\windows\system32\dllcache\default.exe
attrib +s +h +r c:\windows\system\keyboard.exe
attrib +s +h +r C:\WINDOWS\Help\microsoft.hlp
attrib +s +h +r c:\windows\system32\dllcache\rndll32.exe
attrib +s +h +r c:\windows\system32\drivers\drivers.cab.exe
attrib +s +h +r c:\windows\media\rndll32.pif
attrib +s +h +r c:\windows\pchealth\helpctr\binaries\helphost.com
attrib +s +h +r c:\windows\fonts\tskmgr.exe
attrib +s +h +r C:\WINDOWS\pchealth\Global.exe
attrib +s +h +r c:\windows\system32\cdcd.sys
attrib +s +h +r c:\windows\system32\regedit.exe
此时病毒进程和病毒文件已经被删除,并且免疫系统初步建立起来。下一步要做的就是修改文件关联,清除注册表中的垃圾。
同样将下列文字拷贝下来,打开记事本,将文字粘贴进去,然后选择另存为,文件名为huifu.reg,文件类型为所有文件,再点保存。
Windows Registry Editor Version 5.00
; 清除病毒屏保
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveTimeOut"="600"
"SCRNSAVE.EXE"=-
"AutoEndTasks"="0"
; 修复文件关联
[HKEY_CLASSES_ROOT\MSCFile\Shell\Open\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
63,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,\
00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSCFile\Shell\Open\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
63,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,\
00,00,00
[HKEY_CLASSES_ROOT\regfile\shell\open\command]
@="regedit.exe \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regfile\shell\open\command]
@="regedit.exe \"%1\""
; 删除开关机脚本
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\Scripts]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\Scripts]
; 恢复显示com和exe的扩展名
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\comfile]
"NeverShowExt"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile]
"NeverShowExt"=-
; 清除启动项
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
@=-
"C:\WINDOWS\system\KEYBOARD.exe"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]
"sys"=-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
@=-
; 清除映像劫持
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ctfmon.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\boot.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autorun.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autoruns.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\auto.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msconfig.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\procexp.exe]
; 恢复显示系统文件选项相关
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSuperHidden"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden]
"ValueName"="ShowSuperHidden"
; MUICache?
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"C:\WINDOWS\system32\dllcache\Recycler.{645FF040-5081-101B-9F08-00AA002F954E}\Global.exe"=-
"C:\WINDOWS\system32\dllcache\Recycler.{645FF040-5081-101B-9F08-00AA002F954E}\svchost.exe"=-
"C:\WINDOWS\system32\dllcache\Recycler.{645FF040-5081-101B-9F08-00AA002F954E}\system.exe"=-
"C:\WINDOWS\system32\dllcache\Default.exe"=-"C:\WINDOWS\Fonts\Fonts.exe"=-
; Global?
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components#CONTENT#]
@=""
"Source"=-
"SubscribedURL"=-
"FriendlyName"=-
"Flags"=-
"Position"=-
"CurrentState"=-
"OriginalStateInfo"=-
"RestoredStateInfo"=-
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components]
"DeskHtmlVersion"=-
"Settings"=-
"GeneralFlags"=-
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"DisableStatusMessages"=-
; 清除残留信息
[-HKEY_CURRENT_USER\Software\VB and VBA Program Settings]
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
点击开始、运行,输入c:\windows\regedit.exe 确定。
选择文件,导入,再点击huifu.reg,确定。
至此病毒清理完毕。
注意:如果你使用的是WindowsXP家庭版,那么第一步操作会因为没有taskkill文件而无法终止病毒。这时就需要借助冰刃软件中的“建立规则”方法加以中止。
冰刃软件下载地址:http://download.pchome.net/system/sysenhance/download-18523.html