欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

tel.xls.vbs xls专杀工具

程序员文章站 2022-03-21 11:03:01
1、双击运行tel.xls.vbs即可消灭*.win32.patched.v病毒。 2、本专杀使用vbs脚本编写,执行效率高,不过缺乏智能性,我也不愿去添加那些i...
1、双击运行tel.xls.vbs即可消灭*.win32.patched.v病毒。

2、本专杀使用vbs脚本编写,执行效率高,不过缺乏智能性,我也不愿去添加那些if判断语句来进行智能判断,这没必要。只要是我分析的病毒而写出的对于专杀都是有效的,当然病毒变异了那就没办法了,任何专杀都是这样。有变种可以与我联系http://hi.baidu.com/ycosxhack。

3、学习如何用vbs写自己的专杀工具可以查看这里:
http://hi.baidu.com/ycosxhack/blog/item/36569f51dbd0cc8e8c5430d8.html

by  余弦函数  2007.6.1  有不足之处还望指出:)
复制代码 代码如下:

on error resume next
msgbox "本专杀有ycosxhack提供http://hi.baidu.com/ycosxhack!",64,"tel.xls.exe病毒专杀"
'本专杀模板有ycosxhack(余弦函数)制作,我的博客:http://hi.baidu.com/ycosxhack,欢迎讨论。
set w=getobject("winmgmts:")
set p=w.execquery("select * from win32_process where name='algsrv.exe' or name='socksa.exe'") 
for each i in p
i.terminate 
next
set fso=createobject("scripting.filesystemobject")
set del=wscript.createobject("wscript.shell")
dim d(5)
dim v(5)
d(0)=del.expandenvironmentstrings("%systemroot%\system32\socksa.exe")
d(1)=del.expandenvironmentstrings("%systemroot%\system32\filekan.exe")
d(2)=del.expandenvironmentstrings("%systemroot%\system32\algsrv.exe")
d(3)=del.expandenvironmentstrings("%systemroot%\session.exe")
d(4)=del.expandenvironmentstrings("%systemroot%\backinf.tab")
for i=0 to 1
set v(i)=fso.getfile(d(i))
v(i).attributes=0
v(i).delete
next
set fso=createobject("scripting.filesystemobject")
set drvs=fso.drives
for each drv in drvs
if drv.drivetype=1 or drv.drivetype=2 or drv.drivetype=3 or drv.drivetype=4 then
set w=fso.getfile(drv.driveletter&":\tel.xls.exe")
w.attributes=0
w.delete
set u=fso.getfile(drv.driveletter&":\autorun.inf")
u.attributes=0
u.delete
end if
next
set reg=wscript.createobject("wscript.shell")
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\hidden\showall\checkedvalue",1,"reg_dword"
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\hidden\showall\defaultvalue",2,"reg_dword"
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\hidden\nohidden\checkedvalue",2,"reg_dword"
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\hidden\nohidden\defaultvalue",2,"reg_dword"
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\superhidden\uncheckedvalue",1,"reg_dword"
reg.regwrite "hklm\software\microsoft\windows\currentversion\explorer\advanced\folder\hidefileext\uncheckedvalue",0,"reg_dword"
reg.regdelete "hklm\software\microsoft\windows\currentversion\run\asocksrv"

'-----------------autorun病毒免疫模块-----------------
set fso=createobject("scripting.filesystemobject")
set drvs=fso.drives
for each drv in drvs
if drv.drivetype=1 or drv.drivetype=2 or drv.drivetype=3 or drv.drivetype=4 then
fso.createfolder(drv.driveletter&":\autorun.inf")
fso.createfolder(drv.driveletter&":\autorun.inf\免疫文件夹..\")
set fl=fso.getfolder(drv.driveletter&":\autorun.inf")
fl.attributes=3
end if
next
'-----------------autorun病毒免疫模块-----------------

set fso=nothing
msgbox "病毒清除成功,请重启电脑!",64,"xxx病毒专杀"