RANSOM_CRYPWALL.M
Ransom:Win32/Crowti (Microsoft); Trojan.Cryptodefense (Symantec); Trojan.Win32.Filecoder (Ikarus); W32/Filecoder.CO!tr (Fortinet)
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It deletes the initially executed copy of itself.
TECHNICAL DETAILS
Arrival Details
This Trojan 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 Trojan drops the following copies of itself into the affected system:
- %System Root%\{random 8 characters}\{random 8 characters}.exe
- %Application Data%\{random 8 characters}.exe
- %User Startup%\{random 8 characters}.exe
(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %User Startup% is the current user's Startup folder, which is usually C:\Documents and Settings\{user}\Start Menu\Programs\Startup on Windows 2000 and XP, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows Vista, 7, and 8.)
It drops the following files:
- %Desktop%\HELP_DECRYPT.HTML
- %Desktop%\HELP_DECRYPT.PNG
- %Desktop%\HELP_DECRYPT.TXT
- %Desktop%\HELP_DECRYPT.URL
- %User Startup%\HELP_DECRYPT.HTML
- %User Startup%\HELP_DECRYPT.PNG
- %User Startup%\HELP_DECRYPT.TXT
- %User Startup%\HELP_DECRYPT.URL
(Note: %Desktop% is the desktop folder, where it usually is C:\Documents and Settings\{user name}\Desktop in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Desktop in Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %User Startup% is the current user's Startup folder, which is usually C:\Documents and Settings\{user}\Start Menu\Programs\Startup on Windows 2000 and XP, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows Vista, 7, and 8.)
Autostart Technique
This Trojan adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random 7 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random 8 characters} = "%Application Data%\{random 8 characters}.exe"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
*{random 6 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe" (for Windows Vista and above only)
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
*{random 7 characters} = "%Application Data%\{random 8 characters}.exe" (for Windows Vista and above only)
Other System Modifications
This Trojan adds the following registry keys:
HKEY_CURRENT_USER\Software\{UID}
It adds the following registry entries:
HKEY_CURRENT_USER\Software\{UID}
{random 2 characters} = "{RSA PUBLIC KEY} "
HKEY_CURRENT_USER\Software\{UID}
{random 2 characters} = "{contents of HELP_DECRYPT.TXT}"
HKEY_CURRENT_USER\Software\{UID}
{random 2 characters} = "{contents of HELP_DECRYPT.HTML}"
HKEY_CURRENT_USER\Software\{UID}
{random 2 characters} = "{contents of HELP_DECRYPT.URL}"
HKEY_CURRENT_USER\Software\{UID}\
{random key}
{Path and file of encrypted file} = "{hex values}"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ERSvc
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\wscsvc
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\BITS
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\wuauserv
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SystemRestore
DisableSR = "1"
(Note: The default value data of the said registry entry is 0.)
Other Details
This Trojan connects to the following URL(s) to get the affected system's IP address:
- http://ip-addr.es
- http://myexternalip.com/raw
- http://curlmyip.com
It connects to the following possibly malicious URL:
- http://{BLOCKED}atsmiles.com/old/wp-includes/theme-compat/ap3.php?{random letter}={random values}
- http://{BLOCKED}ccafountain.com/Saffron/wp-content/themes/medica-lite/ap5.php?{random letter}={random values}
- http://{BLOCKED}so.com/mtqzpa/templates/ap4.php?{random letter}={random values}
- http://{BLOCKED}muadong.com/wp-includes/fonts/ap2.php?{random letter}={random values}
- http://{BLOCKED}verpartners.org/wp-includes/theme-compat/ap5.php?{random letter}={random values}
- http://{BLOCKED}publications.com/wp-includes/theme-compat/ap1.php?{random letter}={random values}
- http://{BLOCKED}reencondo.com/wp-content/cache/ap4.php?{random letter}={random values}
- http://{BLOCKED}itnessproduct.com/wp-admin/js/ap3.php?{random letter}={random values}
- http://{BLOCKED}ook.com/bat/ap1.php?{random letter}={random values}
- http://{BLOCKED}ance.com/wp-includes/theme-compat/ap2.php?{random letter}={random values}
- http://{BLOCKED}lex.com/ndst.ng/wp-admin/images/ap5.php?{random letter}={random values}
- http://{BLOCKED}aerengwa.com/user/most-instagram-followers-non-celebrity/ap3.php?{random letter}={random values}
- http://{BLOCKED}al.co.uk/js-js/ap4.php?{random letter}={random values}
- http://{BLOCKED}ernet.com/ap2.php?{random letter}={random values}
- http://{BLOCKED}atee.com/wp-includes/css/ap1.php?{random letter}={random values}
- http://{BLOCKED}ub.org/css/fonts/ap5.php?{random letter}={random values}
- http://{BLOCKED}pro.com/css/fonts/ap4.php?{random letter}={random values}
- http://{BLOCKED}obonato.com/wp-content/uploads/js_composer/ap3.php?{random letter}={random values}
- http://{BLOCKED}-academy.net/wp-admin/user/ap2.php?{random letter}={random values}
- http://{BLOCKED}ngcareers.co.uk/images/prettyPhoto/light_square/ap1.php?{random letter}={random values}
- http://{BLOCKED}o.com/wp-admin/network/ap5.php?{random letter}={random values}
- http://{BLOCKED}albatterycase.com/wp-admin/js/ap4.php?{random letter}={random values}
- http://{BLOCKED}cepts.net/wp-content/plugins/indonez-shortcodes/js/ap3.php?{random letter}={random values}
- http://{BLOCKED}t.com/wp-includes/fonts/ap5.php?{random letter}={random values}
- http://{BLOCKED}ilver.com/controller/catalog/ap2.php?{random letter}={random values}
- http://{BLOCKED}chmifty.com/ap1.php?{random letter}={random values}
- http://{BLOCKED}.com/wp-admin/maint/ap4.php?{random letter}={random values}
- http://{BLOCKED}usicktv.com/ap3.php?{random letter}={random values}
- http://{BLOCKED}ioneciampi.org/nuovo/blogs/media/ap2.php?{random letter}={random values}
- http://{BLOCKED}nebleau-miami.com/ap1.php?{random letter}={random values}
- http://{BLOCKED}esolutions.co.in/wp-content/plugins/tinymce-advanced/css/ap5.php?{random letter}={random values}
- http://{BLOCKED}teabouteverything.com/wp-includes/pomo/ap4.php?{random letter}={random values}
- http://{BLOCKED}rsomaha.net/wp-includes/Text/Diff/Renderer/ap3.php?{random letter}={random values}
- http://{BLOCKED}lyclinic.com/gallery/small/ap1.php?{random letter}={random values}
- http://{BLOCKED}urityservices.com/wp-admin/images/ap2.php?{random letter}={random values}
- http://{BLOCKED}mission.org/wp-includes/theme-compat/ap5.php?{random letter}={random values}
- http://{BLOCKED}ritysystems.com/js/ap4.php?{random letter}={random values}
- http://{BLOCKED}net/wp-admin/js/ap3.php?{random letter}={random values}
- http://{BLOCKED}uty.net/wp-includes/certificates/ap2.php?{random letter}={random values}
- http://{BLOCKED}ercables.com/wp-admin/user/ap1.php?{random letter}={random values}
- http://{BLOCKED}ainjurycenters.com/backups_georgia/back%2007102014/ap4.php?{random letter}={random values}
- http://{BLOCKED}om.ng/js/vendor/ap5.php?{random letter}={random values}
- http://{BLOCKED}oparquettes.com/wp-content/uploads/2014/07/ap3.php?{random letter}={random values}
- http://{BLOCKED}y.com/errors/default/css/ap2.php?{random letter}={random values}
- http://{BLOCKED}ttec.com/assets/fonts/ap1.php?{random letter}={random values}
- http://{BLOCKED}vap.com/mtqzpa/templates/ap5.php?{random letter}={random values}
- http://{BLOCKED}tion.com/ap4.php?{random letter}={random values}
- http://{BLOCKED}hosp.com/hagg2013/wp-includes/theme-compat/ap3.php?{random letter}={random values}
- http://{BLOCKED}-kanban.net/wordpress/wp-content/plugins/akismet/_inc/img/ap2.php?{random letter}={random values}
- http://{BLOCKED}vac.ca/ap1.php?{random letter}={random values}
It deletes the initially executed copy of itself
NOTES:
This malware is capable of encrypting files in the affected system. It drops HELP_DECRYPT.HTML, HELP_DECRYPT.PNG, HELP_DECRYPT.TXT, and HELP_DECRYPT.URL to the folders where the files are encrypted.
SOLUTION
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
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
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 7 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe"
- {random 7 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- {random 8 characters} = "%Application Data%\{random 8 characters}.exe"
- {random 8 characters} = "%Application Data%\{random 8 characters}.exe"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
- *{random 6 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe" (for Windows Vista and above only)
- *{random 6 characters} = "%System Root%\{random 8 characters}\{random 8 characters}.exe" (for Windows Vista and above only)
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
- *{random 7 characters} = "%Application Data%\{random 8 characters}.exe" (for Windows Vista and above only)
- *{random 7 characters} = "%Application Data%\{random 8 characters}.exe" (for Windows Vista and above only)
Step 5
Delete this registry key
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
- {UID}
- {UID}
Step 6
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\Windows NT\CurrentVersion\SystemRestore
- From: DisableSR = "1"
To: DisableSR = 0
- From: DisableSR = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc
- From: Start = "4"
To: Start = 2
- From: Start = "4"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc
- From: Start = "4"
To: Start = 2
- From: Start = "4"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS
- From: Start = "4"
To: Start = 2
- From: Start = "4"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv
- From: Start = "4"
To: Start = 2
- From: Start = "4"
Step 7
Search and delete this file
- HELP_DECRYPT.HTML
- HELP_DECRYPT.PNG
- HELP_DECRYPT.TXT
- HELP_DECRYPT.URL
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as RANSOM_CRYPWALL.M. 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.