Analysis by: Jon Dexter Laurin

ALIASES:

Ransom:Win32/Crowti (Microsoft); Troj/Agent-ANUZ (Sophos); Trojan-Ransom.Win32.Snocry.oo (Kaspersky); Trojan.CryptoWall (Malwarebytes); W32/Snocry.ANUZ!tr (Fortinet)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: Yes

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet

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 executes then deletes itself afterward.

  TECHNICAL DETAILS

File Size: 196,608 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 24 Jun 2015
Payload: Connects to URLs/IPs, Encrypts files

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 files:

  • %User Startup%\HELP_DECRYPT.HTML
  • %User Startup%\HELP_DECRYPT.PNG
  • %User Startup%\HELP_DECRYPT.TXT
  • %User Startup%\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 drops the following copies of itself into the affected system:

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

It creates the following folders:

  • %System Root%\{Random 8 Characters}

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

It executes then deletes itself afterward.

Autostart Technique

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

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

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

HKCU\Software\Microsoft\
Windows\CurrentVersion\RunOnce - (Windows Vista or higher)
{Last 7 Characters of {Random 8 Characters}} = "%System Root%\{Random 8 Characters}\{Random 8 Characters}.exe"

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

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

  • %User Startup%\{Random 8 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 32 Characters}

HKCU\Software\{Random 32 Characters}\
{Random 16 Characters}

It adds the following registry entries:

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

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

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

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

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

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

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

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}generator.co.uk/wp-content/plugins/e4.php
  • http://{BLOCKED}onbooster.com/wp-content/plugins/e1.php
  • http://{BLOCKED}tersmeyer.com/wp-content/plugins/e1.php
  • http://{BLOCKED}tners.com/ktb/wp-includes/theme-compat/e4.php
  • http://{BLOCKED}ts.com/wp-includes/e3.php
  • http://{BLOCKED}-cards.de/wp-admin/user/e4.php
  • http://{BLOCKED}cksusa.com/e4.php
  • http://{BLOCKED}urneighbortour.com/wp-includes/e2.php
  • http://{BLOCKED}gilbert.com/wp-admin/e1.php
  • http://{BLOCKED}et-tester.com/wp-includes/e2.php
  • http://{BLOCKED}ooks.com/wp-includes/e5.php
  • http://{BLOCKED}sprado.com.br/wp-includes/e2.php
  • http://{BLOCKED}sprado.net/wp-includes/e3.php
  • http://{BLOCKED}e.com/e1.php
  • http://{BLOCKED}o.com/wp-includes/certificates/e5.php
  • http://{BLOCKED}escargas.com/wp-includes/pomo/e1.php
  • http://{BLOCKED}orial.in/wp-content/plugins/slider-image/Front_images/e4.php
  • http://{BLOCKED}perties.com/wp-includes/theme-compat/e5.php
  • http://{BLOCKED}pune.com/web_admin/files/e4.php
  • http://{BLOCKED}orgeandfitting.in/wp-content/plugins/google-map-shortcode/languages/e1.php
  • http://{BLOCKED}computingtoday.com/wp-content/plugins/contact-form-7/modules/e2.php
  • http://{BLOCKED}freevacations.com/web_admin/files/e3.php
  • http://{BLOCKED}rm.com/wp-includes/theme-compat/e3.php
  • http://{BLOCKED}les.com/web_admin/files/e2.php
  • http://{BLOCKED}omix.com/wp-includes/theme-compat/e5.php
  • http://{BLOCKED}fts.com/blog/wp-content/plugins/e2.php
  • http://{BLOCKED}curacao.info/wp-content/plugins/e3.php

NOTES:

This Trojan 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

Minimum Scan Engine: 9.750
FIRST VSAPI PATTERN FILE: 11.754.02
FIRST VSAPI PATTERN DATE: 24 Jun 2015
VSAPI OPR PATTERN File: 11.755.00
VSAPI OPR PATTERN Date: 25 Jun 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 32 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
    • {First 7 Characters of {Random 8 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"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • {Last 7 Characters of {Random 8 Characters}} = "%System Root%\{Random 8 Characters}\{Random 8 Characters}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • {Random 8 Characters} = "%Application Data%\{Random 8 Characters}.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
    • DisableSR = "1"

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"

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

Step 8

Search and delete this folder

[ 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 8 Characters}

Step 9

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