主頁 > 知識庫 > 病毒專殺VBS模塊

病毒專殺VBS模塊

熱門標(biāo)簽:檢查注冊表項 銀行業(yè)務(wù) 鐵路電話系統(tǒng) 美圖手機 服務(wù)器配置 呼叫中心市場需求 網(wǎng)站文章發(fā)布 智能手機
“病毒專殺VBS模塊.vbs”這個文件你可以直接執(zhí)行,不會有任何破壞^^。

提供專殺模板,你就可以根據(jù)你分析出的病毒行為寫出自己的病毒專殺工具。

非常的方便,非常的高效!

作為一個反病毒人士不應(yīng)該僅僅能分析好病毒日志,還要知道如何分析病毒行為!

進而給出自己的解決方案!

這個解決方案并不一定非得用到網(wǎng)上那些出名的小軟件icesword之類的。

因為你也可以自己寫專殺,只要你學(xué)過VBS就行!

VBS代碼很簡單,和VB、VBSCRIPT是如出一轍的……

自然bat批處理(DOS命令)也可以寫專殺,只要是編程語言大多數(shù)都是可以方便地寫出專殺的。

呵~~這次你所要了解的就是如何用VBS來寫專殺,我已經(jīng)給出模板了,不了解的而你又真的有興趣了解,可以到我的博客http://hi.baidu.com/ycosxhack來和我交流。


祝你好運:)。寫專殺絕對是很快樂的事哦,因為你的專殺可以幫助很多朋友。

最后感謝好友小G(http://hi.baidu.com/greysign)與UMU(http://hi.baidu.com/umu618)
復(fù)制代碼 代碼如下:

'查看更多關(guān)于此病毒專殺模板信息:http://hi.baidu.com/ycosxhack/modify/blog/36569f51dbd0cc8e8c5430d8

'-----------------病毒專殺VBS模板源碼開始-----------------
on error resume next
msgbox "本專殺有ycosxhack提供http://hi.baidu.com/ycosxhack!",64,"xxx病毒專殺"
'本專殺模板有ycosxhack(余弦函數(shù))制作,我的博客:http://hi.baidu.com/ycosxhack,歡迎討論。

'-----------------病毒進程結(jié)束模塊開始-----------------
set w=getobject("winmgmts:")
set p=w.execquery("select * from win32_process where name='rundll.exe'") 
for each i in p
i.terminate 
next
'-----------------病毒進程結(jié)束模塊終止-----------------

'-----------------插入型dll病毒釋放模塊開始-----------------
set WSHShell=wscript.createobject("wscript.shell")
WSHShell.run("ps /e * hook.dll"),0,true
'請將第三方程序ps.exe與本專殺放在同一目錄下
'-----------------插入型dll病毒釋放模塊終止-----------------

'-----------------病毒文件刪除模塊開始-----------------
set fso=createobject("scripting.filesystemobject")
set del=wscript.createobject("wscript.shell")
d1=del.ExpandEnvironmentStrings("%temp%\rundll.exe")
d2=del.ExpandEnvironmentStrings("%SystemRoot%\rundll86.exe")
d3=del.ExpandEnvironmentStrings("%SystemRoot%\system32\rundll86.exe")
set v1=fso.getfile(d1)
set v2=fso.getfile(d2)
set v3=fso.getfile(d3)
set v4=fso.getfile("d:\virus\virus.exe") '沒涉及到環(huán)境變量的可以直接這樣寫。
v1.attributes=0
v2.attributes=0
v3.attributes=0
v4.attributes=0
v1.delete
v2.delete
v3.delete
v4.delete
'-----------------病毒文件刪除模塊終止-----------------

'-----------------遍歷刪除各盤符根目錄下病毒文件模塊開始-----------------
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":\rundll.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 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit", fso.GetSpecialFolder(1)"\userinit.exe,","REG_SZ"
reg.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
reg.regdelete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoFolderOptions"
'-----------------注冊表操作模塊終止-----------------

'-----------------系統(tǒng)文件恢復(fù)模塊開始-----------------
set fso=createobject("scripting.filesystemobject")
fso.getfile("rundll32.exe").copy("c:\windows\system32\rundll32.exe")
fso.getfile("rundll32.exe").copy("C:\WINDOWS\system32\dllcache\rundll32.exe")
'-----------------系統(tǒng)文件修復(fù)模塊終止-----------------

'-----------------HOST文件修復(fù)模塊開始-----------------
set fso=createobject("scripting.filesystemobject")
set re=fso.OpenTextFile("C:\WINDOWS\system32\drivers\etc\hosts",2,0)
re.Writeline "127.0.0.1       localhost"
re.Writeline "127.0.0.1       www.你要屏蔽的惡意網(wǎng)址或IP.com"
re.Close
set re=nothing
'-----------------HOST文件修復(fù)模塊終止-----------------

'-----------------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免疫模塊終止-----------------

'-----------------ARP病毒欺騙--客戶端免疫模塊開始-----------------
set WshShell=wscript.createobject("wscript.shell")
WshShell.run "arp -d",0
WshShell.run "arp -s 202.4.139.1 00-07-ec-23-f8-0a",0,true
'-----------------ARP病毒欺騙--客戶端免疫模塊終止-----------------

set fso=nothing
msgbox "病毒清除成功,請重啟電腦!",64,"xxx病毒專殺"
'-----------------病毒專殺VBS模板源碼終止-----------------

打包文件下載

標(biāo)簽:樂山 河南 新疆 紅河 長治 滄州 上海 沈陽

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《病毒專殺VBS模塊》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266