JS_MORPHE.SM5
Worm:JS/Proslikefan.gen!H (Microsoft), JS/Proslikefan.gen (Panda)
Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)
Threat Type: Worm
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
Propagates via removable drives, Dropped by other malware, Downloaded from the Internet
This worm arrives via removable drives. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It enables its automatic execution at every system startup by dropping copies of itself into the Windows Common Startup folder.
It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
It terminates itself if it detects it is being run in a virtual environment.
TECHNICAL DETAILS
Varies
JS
No
30 May 2013
Steals information
Arrival Details
This worm arrives via removable drives.
It 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 the following copies of itself into the affected system:
- %Application Data%\{random folder name}\{random file name}.js
- %Program Files%\{random folder name}\{random file name}.js
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (64-bit).)
It drops the following non-malicious files:
- %System Root%\{random folder name}\{random file name 1} - contains file name of initially executed copy
- %System Root%\{random folder name}\{random file name 2} - blank file
- %System Root%\{random folder name}\{random file name 3} - contains random numbers
- %System Root%\{random folder name}\{random file name 4} - contains random hex values
- %System Root%\{random folder name}\{random file name} - contains random values
- %User Temp%\{random file name} - location of affected system
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.)
It creates the following folders:
- %System Root%\{random folder name}
- %Application Data%\{random folder name}
- %Program Files%\{random folder name}
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (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
{random file name} = "%Application Data%\{random folder name}\{random file name}.js"
It enables its automatic execution at every system startup by dropping the following copies of itself into the Windows Common Startup folder:
- %User Startup%\{random file name}.js
- %All Users Profile%\Startup\{random file name}.js
- {Other Users' Profile}\Startup\{random file name}.js - the number of instances depends on the number of other user profiles in the affected system
(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup.. %All Users Profile% is the All Users or Common profile folder, which is C:\Documents and Settings\All Users in Windows 2000, XP, and Server 2003, and C:\ProgramData in Windows Vista and 7.)
Other System Modifications
This worm adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center\Svc
FirewallOverride = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center\Svc
FirewallDisableNotify = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center\Svc
AntivirusDisableNotify = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "2"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies
NoDispCPL = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies
DisableCMD = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies
DisableTaskMgr = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies
DisableRegistryTools = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Windows NT\CurrentVersion
SystemRestoreDisableSR = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsft\Internet Explorer\Control Panel
HomePage = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\MRT
DontReportInfectionInformation = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
Microsoft\Windows NT\System Restore
DisableConfig = "1"
HKEY_CURRENT_USER\Microsoft\Windows\
CurrentVersion\Policies\Explorer
NoControlPanel = "1"
HKEY_CURRENT_USER\Microsoft\Windows\
CurrentVersion\Policies\Explorer
"NofolderOptions" = "1"
HKEY_CURRENT_USER\Microsoft\Windows\
CurrentVersion\Policies\Explorer
NoWindowsUpdate = "1"
HKEY_CURRENT_USER\Policies\Microsoft\
Internet Explorer\Control Panel
HomePage = "1"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntivirusDisableNotify = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
FirewallDisableNotify = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
UpdateDisableNotify = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
AntivirusOverride = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
EnableFirewall = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\wscsvc
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
HideFileExt = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
MigrateProxy = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
ProxyEnable = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Winlogon
ParseAutoExec = "0"
(Note: The default value data of the said registry entry is 1.)
Propagation
This worm creates the following folders in all removable drives:
- {drive letter}:\{random folder name}
It drops the following copy(ies) of itself in all removable drives:
- {drive letter}:\{random folder name}\{random file name}.js
It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.
The said .INF file contains the following strings:
{garbage characters}
[autorun]
{garbage characters}
shell\open\command={random folder name}\{random file name}.js
{garbage characters}
open={random folder name}\{random file name}.js
{garbage characters}
shell\explore\command={random folder name}\{random file name}.js
{garbage characters}
Process Termination
This worm terminates the following processes if found running in the affected system's memory:
- ccsetup
- exeradar
- sdasetup
- rkill
- rstrui
- fiddler
- wuauclt
- autoruns
- avast
- tcpview
- clean
- hotfix
- reged
- regmon
- unlocker
- msconfig
- systemlook
- emergencykit
- escape
- minitool
- filemon
- procexp
- combofix
- rubotted
- perfmon
- procmon
- ptinstall
- hitman
- issetup
- roguekiller
- mcshield
- resmon
- spybot
- wireshark
Information Theft
This worm gathers the following data:
- CPU
- OS
- GPU
- Cookie data
- AV software
- Web Browser settings
Stolen Information
This worm sends the gathered information via HTTP POST to the following URL:
- http://{BLOCKED}top.org/a
- http://{BLOCKED}rc.ru/a
- http://{BLOCKED}ps.com/a
Other Details
This worm terminates itself if it detects it is being run in a virtual environment.
It accesses the following URL(s) to get the affected system's location:
- http://google.com/loc/json
NOTES:
It drops shortcut files pointing to the copy of itself in removable drives. These dropped .LNK files use the names of the folders located on the said drives for their file names. It then sets the attributes of the original folders to Hidden to trick the user into clicking the .LNK files.
Examples of random folder names and file names are as follows:
- \2ba4\2b2b2
- \2ba4\2f2
- \2ba4\36b
- \2ba4\3d04
- \2ba4\3d1
- \2a082\3c1e.js
- \35003\340.js
- \2a2\g3b1c.js
- \2a2\i3737.js
- 6e6.js
It searches for cookies related to the following sites:
- addthis
- amazon
- archive
- blogger
- blogspot
- conduit
- dictionary
- forumer
- friendster
- github
- googleapis
- googleusercontent
- gravatar
- myspace
- phpbb
- quantcast
- reference
- simplemachines
- sourceforge
- stackoverflow
- torrent
- wikipedia
- windows
- wordpress
- yahoo
- youtube
It checks for the following AV-related software:
- AVAST Software
- AVG
- Alwil Software
- Avira
- Bitdefender
- Comodo
- ESET
- F-Secure
- Kaspersky Lab
- Malwarebytes' Anti-Malware
- Panda Security
- Sophos
- Spyware Doctor
- Sunbelt
- Symantec
- Trend Micro
- Webroot
It creates a randomly named .ZIP file and copies it to directory used Filezilla FTP client.
It terminates itself if the following SCSI Controller, Computer System or BIOS Manufacturer are found:
- Bochs
- innotek
- Parallels
- QEMU
- Red Hat
- Xen
It checks if it is running in a virtual environment by querying the following Disk Drive Models:
- Bochs
- QEMU
- Virtual HDD
- VMware
- VBOX
- Red Hat
It connects to randomly generated URLs using domains such as the following:
- .biz
- .com
- .info
- .name
- .net
- .org
- .ru
SOLUTION
9.300
Step 1
Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.
Step 2
Scan your computer with your Trend Micro product and note files detected as JS_MORPHE.SM5
Step 3
Restart in Safe Mode
Step 4
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\Run
- {random file name} = "%Application Data%\{random folder name}\{random file name}.js"
- {random file name} = "%Application Data%\{random folder name}\{random file name}.js"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc
- FirewallOverride = "1"
- FirewallOverride = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc
- FirewallDisableNotify = "1"
- FirewallDisableNotify = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Svc
- AntivirusDisableNotify = "1"
- AntivirusDisableNotify = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- Hidden = "2"
- Hidden = "2"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies
- NoDispCPL = "1"
- NoDispCPL = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies
- DisableCMD = "1"
- DisableCMD = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies
- DisableTaskMgr = "1"
- DisableTaskMgr = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies
- DisableRegistryTools = "1"
- DisableRegistryTools = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Windows NT\CurrentVersion
- SystemRestoreDisableSR = "1"
- SystemRestoreDisableSR = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsft\Internet Explorer\Control Panel
- HomePage = "1"
- HomePage = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT
- DontReportInfectionInformation = "1"
- DontReportInfectionInformation = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\System Restore
- DisableConfig = "1"
- DisableConfig = "1"
- In HKEY_CURRENT_USER\Microsoft\Windows\CurrentVersion\Policies\Explorer
- NoControlPanel = "1"
- NoControlPanel = "1"
- In HKEY_CURRENT_USER\Microsoft\Windows\CurrentVersion\Policies\Explorer
- "NofolderOptions" = "1"
- "NofolderOptions" = "1"
- In HKEY_CURRENT_USER\Microsoft\Windows\CurrentVersion\Policies\Explorer
- NoWindowsUpdate = "1"
- NoWindowsUpdate = "1"
- In HKEY_CURRENT_USER\Policies\Microsoft\Internet Explorer\Control Panel
- HomePage = "1"
- HomePage = "1"
Step 5
Restore these modified registry values
Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
- From: AntivirusDisableNotify = "1"
To: AntivirusDisableNotify = 0
- From: AntivirusDisableNotify = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
- From: FirewallDisableNotify = "1"
To: FirewallDisableNotify = 0
- From: FirewallDisableNotify = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
- From: UpdateDisableNotify = "1"
To: UpdateDisableNotify = 0
- From: UpdateDisableNotify = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
- From: AntivirusOverride = "1"
To: AntivirusOverride = 0
- From: AntivirusOverride = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
- From: EnableFirewall = "0"
To: EnableFirewall = 1
- From: EnableFirewall = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc
- From: Start = "4"
To: Start = 2
- From: Start = "4"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- From: HideFileExt = "1"
To: HideFileExt = 0
- From: HideFileExt = "1"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
- From: MigrateProxy = "0"
To: MigrateProxy = 1
- From: MigrateProxy = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
- From: ProxyEnable = "0"
To: ProxyEnable = 1
- From: ProxyEnable = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- From: ParseAutoExec = "0"
To: ParseAutoExec = 1
- From: ParseAutoExec = "0"
Step 6
Search and delete these folders
- %System Root%\{random folder name}
- %Application Data%\{random folder name}
- %Program Files%\{random folder name}
Step 7
Search and delete these files
- %User Temp%\{random file name}
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as JS_MORPHE.SM5. 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.