Worm.VBS.AUTORUN.C
Worm:VBS/Autorun.T (MICROSOFT)
Windows


Threat Type: Worm
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It drops copies of itself into all the removable drives connected to an affected system. It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
TECHNICAL DETAILS
Arrival Details
This Worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
Installation
This Worm drops a copy of itself in the following folders using different file names:
- %User Profile%\Documents\database.mdb
- %User Temp%\rad{5 Random Characters}.tmp
- {Traversed Folders}\Thumb.db
(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It drops the following files:
- %User Temp%\Yuyun.Q
- %User Temp%\rad{5 Random Characters}.tmp
- %User Temp%\auto.exe
- %System Root%\Documents and Settings.lnk
- %System Root%\Boot.lnk
- %System Root%\MSOCache.lnk
- %System Root%\PerfLogs.lnk
- {Traversed Folders}\Microsoft.lnk
- {Traversed Folders}\New Folder.lnk
- {Parent Folder Name}.lnk
- {Parent Folder Name}\{Child Folder Name}.lnk
- %User Temp%\v.doc
- {Traverse Folders or Drives}\autorun.inf
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)
It adds the following processes:
- "%System%\wscript.exe" //e:VBScript %User Temp%\rad{5 random characters}.tmp "{Malware File Directory}\{Malware Filename}.vbs"
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Autostart Technique
This Worm adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Explorer = Wscript.exe //e:VBScript "%User Profile%\Documents\database.mdb"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
WinUpdate = Wscript.exe //e:VBScript "%Windows%\:Microsoft Office Update for Windows XP.sys"
Other System Modifications
This Worm adds the following registry entries:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegistryTools = 1
It deletes the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
lnkfile
IsShortcut = (null)
(Note: The default value data of the said registry entry is (null).)
Propagation
This Worm drops copies of itself into all the removable drives connected to an affected system.
It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
It creates shortcut files (.LNK) disguised as folders or files located on the affected drives pointing to the malware copy.
SOLUTION
Step 1
Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.
Step 2
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Restart in Safe Mode
Step 4
Restore this deleted registry key/value from backup
*Note: Only Microsoft-related keys/values will be restored. If the malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile
- IsShortcut =
- IsShortcut =
Step 5
Delete this registry value
Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
- DisableRegistryTools = 1
- DisableRegistryTools = 1
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- Explorer = Wscript.exe //e:VBScript "%User Profile%\Documents\database.mdb"
- Explorer = Wscript.exe //e:VBScript "%User Profile%\Documents\database.mdb"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- WinUpdate = Wscript.exe //e:VBScript "%Windows%\:Microsoft Office Update for Windows XP.sys"
- WinUpdate = Wscript.exe //e:VBScript "%Windows%\:Microsoft Office Update for Windows XP.sys"
Step 6
Search and delete these files
- %User Temp%\Yuyun.Q
- %User Temp%\rad{5 Random Characters}.tmp
- %User Temp%\auto.exe
- %System Root%\Documents and Settings.lnk
- %System Root%\Boot.lnk
- %System Root%\MSOCache.lnk
- %System Root%\PerfLogs.lnk
- {Traversed Folders}\Microsoft.lnk
- {Traversed Folders}\New Folder.lnk
- {Parent Folder Name}.lnk
- {Parent Folder Name}\{Child Folder Name}.lnk
- %User Profile%\Documents\database.mdb
- %User Temp%\rad{5 Random Characters}.tmp
- {Traversed Folders}\Thumb.db
- {Traversed Folders or Drives}\autorun.inf
- %User Temp%\v.doc
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as Worm.VBS.AUTORUN.C. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.
Did this description help? Tell us how we did.
