Analysis by: Marcus Ma. Antonio Capistrano

ALIASES:

Generic.Ransom.HydraCrypt.A907FE95 (BITDEFENDER), a variant of Win32/Filecoder.NOP trojan (NOD32), Trojan.Diztakun.16490 (QUICKHEAL)

 PLATFORM:

Windows

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

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware

This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It employs registry shell spawning by adding certain registry entries. This allows this malware to execute even when other applications are opened.

It encrypts files with specific file extensions. It drops files as ransom note.

  TECHNICAL DETAILS

File Size: 3,786,752 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 01 Dec 2017
Payload: Drops files, Terminates processes, Steals information, Modifies system registry. Encrypts files

Arrival Details

This Ransomware 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 Ransomware drops the following component file(s):

  • %User Temp%\Want Money Ransomware.exe

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Want Money = {malware file path}

It drops the following shortcut pointing to its copy in the User Startup folder to enable its automatic execution at every system startup:

  • %Application Data%\Microsoft\Windows\Start Menu\Programs\Startup\Want Money.lnk

(Note: %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 employs registry shell spawning to ensure its execution when certain file types are accessed by adding the following entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10\Shell\Open\
Command
{no value} = %User Temp%\Want Money Ransomware.exe

Other System Modifications

This Ransomware adds the following registry entries:

HKLM\SOFTWARE\Classes\
WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10\DefaultIcon
{no value} = %User Temp%\Want Money Ransomware.exe

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney3
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney4
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney5
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney6
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney7
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney8
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney9
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney10
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10
EditFlags = 2

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney1
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

KEY_LOCAL_MACHINE\SOFTWARE\Classes\
.WantMoney2
{no value} = WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
EnableLUA = 0

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
Disableregistrytools = 1

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableTaskMgr = 1

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

It changes the desktop wallpaper by modifying the following registry entries:

HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = %Windows%\×ÀÃæ±³¾°Í¼Æ¬.bmp

Process Termination

This Ransomware terminates the following processes if found running in the affected system's memory:

  • taskmgr.exe

Information Theft

This Ransomware gathers the following data:

  • Computer name
  • Screenshot of computer

Stolen Information

This Ransomware sends the data it gathers to the following email addresses via SMTP:

  • {BLOCKED}heng@{BLOCKED}.net
  • {BLOCKED}601@{BLOCKED}.com

Other Details

This Ransomware sets the attributes of the following file(s) to Hidden and System:

  • {malware file}

It does the following:

  • After its encryption routine it opens the dropped ransom note text file "%Desktop%\_Want Money_.txt" using notepad:

  • After its encryption routine it plays the dropped music file "%User Temp%\Want Money.mp3" in the background and opens the following window:

  • It disables or turns off Windows Error Recovery Screen on Startup using the following command:
    • bcdedit /set {default} boostatuspolicy ignoreallfailures
  • It disables Startup Repair from running using the following command:
    • bcdedit /set {default} recoveryenabled no
  • It deletes the backup catalog using the following command:
    • wbadmin delete catalog -quiet
  • It deletes shadow copies using the following commands:
    • vssadmin delete shadow /all /quiet
    • wmic shadowcopy delete
  • After its encryption routine it opens the dropped image file which is set as wallpaper "%Desktop%\_Want Money_.bmp":

It performs DNS requests to the following sites:

  • www.baidu.com
  • smtp.yeah.net

Ransomware Routine

This Ransomware encrypts files with the following extensions:

  • .zip
  • .rar
  • .7z
  • .e
  • .ec
  • .bak
  • .cpp
  • .c
  • .h
  • .cs
  • .doc
  • .docx
  • .xls
  • .xlsx
  • .ppt
  • .pptx
  • .mdb
  • .php
  • .gif
  • .rtf
  • .png
  • .jpg
  • .jpeg
  • .txt
  • .avi
  • .msg
  • .mp3
  • .mp4
  • .pdf
  • .pps

It appends the following extension to the file name of the encrypted files:

  • MNRAA-DRAZA-DVBAF-VHJAJ.Encrypted[{BLOCKED}601@163.com ].WantMoney{any value from 1 to 30}

It drops the following file(s) as ransom note:

  • %Desktop%\_Want Money_.bmp
  • %Desktop%\_Want Money_.txt
  • %System Root%\_Want Money_.bmp
  • %System Root%\_Want Money_.txt
  • {all drives}\_Want Money_.bmp
  • {all drives}\_Want Money_.txt
  • %Windows%\×ÀÃæ±³¾°Í¼Æ¬.bmp
  • %User Temp%\Want Money.mp3

(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.. %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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.)

NOTES:

To enable Windows Error Recovery Screen on Startup, Run cmd.exe as administrator and use the following command:

bcdedit /set {default} bootstatuspolicy displayallfailures

To enable Startup Repair, Run cmd.exe as administrator and use the following command:

bcdedit /set {default} recoveryenabled Yes

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 13.816.08
FIRST VSAPI PATTERN DATE: 01 Dec 2017
VSAPI OPR PATTERN File: 13.817.00
VSAPI OPR PATTERN Date: 02 Dec 2017

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WantMoney1|WantMoney2|WantMoney3|WantMoney4|WantMoney5|WantMoney6|WantMoney7|WantMoney8|WantMoney9|WantMoney10
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney1
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney2
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney3
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney4
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney5
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney6
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney7
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney8
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney9
  • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.WantMoney10

Step 5

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\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • From: EnableLUA = 0
      To: EnableLUA = 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • From: Disableregistrytools = 1
      To: Disableregistrytools = 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • From: DisableTaskMgr = 1
      To: DisableTaskMgr = 0

Step 6

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Want Money = {malware file path}

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.
  • %Desktop%\_Want Money_.bmp
  • %Desktop%\_Want Money_.txt
  • %System Root%\_Want Money_.bmp
  • %System Root%\_Want Money_.txt
  • {all drives}\_Want Money_.bmp
  • {all drives}\_Want Money_.txt
  • %Windows%\×ÀÃæ±³¾°Í¼Æ¬.bmp
  • %User Temp%\Want Money.mp3
  • %User Temp%\Want Money Ransomware.exe
  • %Application Data%\Microsoft\Windows\Start Menu\Programs\Startup\Want Money.lnk

Step 8

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

Step 9

Reset your Desktop properties

[ Learn More ]

Step 10

Restore encrypted files from backup.


Did this description help? Tell us how we did.