TROJ_CRYPWALL.BD

 Modified by: Jon Dexter Laurin

 ALIASES:

Ransom:Win32/Crowti.A (Microsoft); Trojan.CryptoWall (ESET-NOD32); Trojan-Ransom.Win32.Cryptodef.whs (Kaspersky); Trojan.CryptoWall (Malwarebytes); RDN/Ransom!ey (McAfee); Troj/Ransom-AYG (Sophos); Trojan.Cryptodefense (Symantec);

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • 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.

  TECHNICAL DETAILS

File Size:

221,184 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

08 Jul 2015

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 Characters}\{Random Characters}.exe
  • %Application Data%\{Random Characters}.exe
  • %User Startup%\{Random 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:\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.)

It drops the following files:

  • %User Startup%\HELP_DECRYPT.HTML
  • %User Startup%\HELP_DECRYPT.PNG
  • %User Startup%\HELP_DECRYPT.TXT
  • %User Startup%\HELP_DECRYPT.URL
  • {Drives Root Directory}\HELP_DECRYPT.HTML
  • {Drives Root Directory}\HELP_DECRYPT.PNG
  • {Drives Root Directory}\HELP_DECRYPT.TXT
  • {Drives Root Directory}\HELP_DECRYPT.URL

(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.)

It drops and executes the following files:

  • %Desktop%\HELP_DECRYPT.HTML
  • %Desktop%\HELP_DECRYPT.PNG
  • %Desktop%\HELP_DECRYPT.TXT
  • %Desktop%\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.)

It creates the following folders:

  • %System Root%\{Random Characters}

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKCU\Software\Microsoft\
Windows\CurrentVersion\Run
{Random Characters} = "%System Root%\{Random Characters}\{Random Characters}.exe"

HKCU\Software\Microsoft\
Windows\CurrentVersion\Run
{Random Characters} = "%Application Data%\{Random Characters}.exe"

HKCU\Software\Microsoft\
Windows\CurrentVersion\RunOnce (For Windows Vista or higher)
*{Random Characters} = "%System Root%\{Random Characters}\{Random Characters}.exe"

HKCU\Software\Microsoft\
Windows\CurrentVersion\RunOnce (For Windows Vista or higher)
*{Random Characters} = "%Application Data%\{Random Characters}.exe"

It drops the following file(s) in the Windows User Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\{Random Characters}.exe

(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.)

Other System Modifications

This Trojan adds the following registry keys:

HKCU\Software\{Random Characters}

HKCU\Software\{Random Characters}\
{Random Characters}

It adds the following registry entries:

HKCU\Software\{Random Characters}\
{Random Characters}
{Files that are encrypted} = "{Random Characters}"

HKEY_CURRENT_USER\Software\{Random Characters}
{Random 2 Characters} = "{contents of HELP_DECRYPT.URL}"

HKEY_CURRENT_USER\Software\{Random Characters}
{Random 2 Characters} = "{contents of HELP_DECRYPT.TXT}"

HKEY_CURRENT_USER\Software\{Random Characters}
{Random 2 characters} = "{contents of HELP_DECRYPT.HTML}"

HKEY_CURRENT_USER\Software\{Random Characters}
{Random 2 characters} = "{random value}"

It modifies the following registry entries:

HKLM\SYSTEM\CurrentControlSet\
services\Wersvc (for Windows Vista or higher)
Start = "4"

(Note: The default value data of the said registry entry is "3".)

HKLM\SYSTEM\CurrentControlSet\
services\ERrsvc (for Windows XP and lower)
Start = "4"

(Note: The default value data of the said registry entry is "3".)

HKLM\SYSTEM\CurrentControlSet\
services\BITS
Start = "4"

(Note: The default value data of the said registry entry is "3".)

HKLM\SYSTEM\CurrentControlSet\
services\wuauserv
Start = "4"

(Note: The default value data of the said registry entry is "3".)

HKLM\SYSTEM\CurrentControlSet\
services\wscsvc
Start = "4"

(Note: The default value data of the said registry entry is "2".)

HKLM\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SystemRestore
DisableSR = "1"

(Note: The default value data of the said registry entry is "0".)

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\WinDefend
Start = "4"

(Note: The default value data of the said registry entry is "2".)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Security Center
cval = "0"

(Note: The default value data of the said registry entry is "1".)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}icalhealthservices.com.au/wp-content/plugins/aa.php
  • http://{BLOCKED}m.com.au/wp-content/plugins/bb.php
  • http://{BLOCKED}m.com/wp-content/themes/cc.php
  • http://{BLOCKED}ges.com/wp-content/themes/dd.php
  • http://{BLOCKED}rabulut.com/wp-content/plugins/aa.php
  • http://{BLOCKED}sreferralnetwork.com/wp-content/plugins/bb.php
  • http://{BLOCKED}avelblog.com/wp-content/themes/cc.php
  • http://{BLOCKED}naboca.com/wp-content/themes/dd.php
  • http://{BLOCKED}asta.com/wp-content/themes/ee.php
  • http://{BLOCKED}ledreaming.com/wp-content/themes/aa.php
  • http://{BLOCKED}rds.com/wp-content/plugins/bb.php
  • http://{BLOCKED}ancerswap.com/wp-content/plugins/cc.php
  • http://{BLOCKED}dadmatters.com/wp-content/themes/dd.php
  • http://{BLOCKED}kbox.com/wp-content/themes/ee.php
  • http://{BLOCKED}ductsinc.com/wp-content/plugins/aa.php
  • http://{BLOCKED}ex.com/wp-content/plugins/bb.php
  • http://{BLOCKED}makeupartists.com/wp-content/plugins/bb.php
  • http://{BLOCKED}lman.com/wp-content/plugins/cc.php
  • http://{BLOCKED}ctical.com/wp-content/plugins/dd.php
  • http://{BLOCKED}epromoworks.com/wp-content/plugins/ee.php
  • http://{BLOCKED}orspeaking.com/wp-content/themes/aa.php
  • http://{BLOCKED}hirts.com/wp-content/plugins/bb.php
  • http://{BLOCKED}ts.com/wp-content/themes/cc.php
  • http://{BLOCKED}e-blah.com/wp-content/plugins/dd.php
  • http://{BLOCKED}n.com/wp-content/themes/ee.php
  • http://{BLOCKED}ucklechoppers.com/wp-content/plugins/aa.php
  • http://{BLOCKED}x.com/wp-content/plugins/bb.php
  • http://{BLOCKED}sd.com/wp-content/plugins/cc.php
  • http://{BLOCKED}der.com/wp-content/plugins/dd.php
  • http://{BLOCKED}larose.com/wp-content/plugins/ee.php
  • http://{BLOCKED}oersam.com/wp-content/plugins/aa.php
  • http://{BLOCKED}tapreppersparadise.com/wp-content/plugins/bb.php
  • http://{BLOCKED}argenutrition.com/wp-content/plugins/cc.php
  • http://{BLOCKED}abbitartdesign.com/wp-content/plugins/dd.php
  • http://{BLOCKED}peone.com/wp-content/plugins/ee.php
  • http://{BLOCKED}nd.com/wp-content/plugins/aa.php
  • http://{BLOCKED}erynature.com/wp-content/plugins/bb.php
  • http://{BLOCKED}x.com/wp-content/plugins/cc.php
  • http://{BLOCKED}blend.com/wp-content/themes/dd.php
  • http://{BLOCKED}bontubes.com/wp-content/plugins/ee.php
  • http://{BLOCKED}qvarnamowers.com/wp-content/themes/aa.php
  • http://{BLOCKED}nc.com/wp-content/plugins/bb.php

NOTES:

It 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 it tries to encrypt the files.

  SOLUTION

Minimum Scan Engine:

9.750

FIRST VSAPI PATTERN FILE:

11.778.04

FIRST VSAPI PATTERN DATE:

08 Jul 2015

VSAPI OPR PATTERN File:

11.779.00

VSAPI OPR PATTERN Date:

09 Jul 2015

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

[ Learn More ]

Step 4

Delete this registry key

[ Learn More ]

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
    • {Random Characters}

Step 5

Delete this registry value

[ Learn More ]

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 Characters} = "%System Root%\{Random Characters}\{Random Characters}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {Random Characters} = "%Application Data%\{Random Characters}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce (For Windows Vista or higher)
    • *{Random Characters} = "%System Root%\{Random Characters}\{Random Characters}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce (For Windows Vista or higher)
    • *{Random Characters} = "%Application Data%\{Random Characters}.exe"

Step 6

Restore this modified registry value

[ Learn More ]

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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Wersvc - (for Windows Vista or higher)
    • From: Start = "4"
      To: Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ERrsvc - (for Windows XP and lower)
    • From: Start = "4"
      To: Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BITS
    • From: Start = "4"
      To: Start = "3"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv
    • From: Start = "4"
      To: Start = "2"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wscsvc
    • From: Start = "4"
      To: Start = "2"
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WinDefend
    • From: Start = "4"
      To: Start = "2"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
    • From: DisableSR = "1"
      To: DisableSR = "0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • From: cval = "0"
      To: cval = "1"

Step 7

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %User Startup%\HELP_DECRYPT.HTML
  • %User Startup%\HELP_DECRYPT.PNG
  • %User Startup%\HELP_DECRYPT.TXT
  • %User Startup%\HELP_DECRYPT.URL
  • %Desktop%\HELP_DECRYPT.HTML
  • %Desktop%\HELP_DECRYPT.PNG
  • %Desktop%\HELP_DECRYPT.TXT
  • %Desktop%\HELP_DECRYPT.URL
  • {Drives Root Directory}\HELP_DECRYPT.HTML
  • {Drives Root Directory}\HELP_DECRYPT.PNG
  • {Drives Root Directory}\HELP_DECRYPT.TXT
  • {Drives Root Directory}\HELP_DECRYPT.URL

Step 8

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result. %System Root%\{Random Characters}

Step 9

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_CRYPWALL.BD. 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.