Analysis by: Henry Alarcon Jr.

ALIASES:

Trojan:MSIL/HiddenTear.B (Microsoft), Ransom.HiddenTear (Malwarebytes), MSIL/Filecoder.IX!tr (Fortinet)

 PLATFORM:

Windows

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

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware, Downloaded from the Internet

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 encrypts files with specific file extensions. It encrypts files found in specific folders. It drops files as ransom note.

  TECHNICAL DETAILS

File Size: 151,552 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 26 Nov 2018
Payload: Connects to URLs/IPs, Steals information, Displays message/message boxes, 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 files:

  • %Desktop%/test/READ_IT.txt

(Note: %Desktop% is the current user's desktop, which is usually C:\Documents and Settings\{User Name}\Desktop on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\Desktop on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Information Theft

This Ransomware gathers the following data:

  • Computer Name
  • User Name
  • Generated Keys (AES encrypted)

Stolen Information

This Ransomware sends the gathered information via HTTP POST to the following URL:

  • http://{BLOCKED}tearundetectable.altervista.org/sqlServer.php?{Computer Name}-{User Name}%20{Key}

Ransomware Routine

This Ransomware encrypts files with the following extensions:

  • txt
  • doc
  • docx
  • xls
  • xlsx
  • ppt
  • pptx
  • odt
  • jpg
  • png
  • csv
  • sql
  • mdb
  • sln
  • php
  • asp
  • aspx
  • html
  • xml
  • psd

It encrypts files found in the following folders:

  • %Desktop%/test/

(Note: %Desktop% is the current user's desktop, which is usually C:\Documents and Settings\{User Name}\Desktop on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\Desktop on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

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

  • .locked

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

  • %Desktop%/test/READ_IT.txt

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 14.650.02
FIRST VSAPI PATTERN DATE: 26 Nov 2018
VSAPI OPR PATTERN File: 14.651.00
VSAPI OPR PATTERN Date: 27 Nov 2018

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 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

Identify and terminate files detected as Ransom_ZGAMES.THAABFAH

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 4

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%/test/READ_IT.txt

Step 5

Scan your computer with your Trend Micro product to delete files detected as Ransom_ZGAMES.THAABFAH. 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 the following Trend Micro Support pages for more information:

Step 6

Restore encrypted files from backup.


Did this description help? Tell us how we did.