RANSOM_FAKEGLOBE.THAOLAM

 Analysis by: Rheniel Rhay Ramos

 ALIASES:

Generic.Ransom.GlobeImposter.8DC7BE68 (Bitdefender); Trojan-Ransom.Win32.Purgen.zq (Kaspersky); Ransom:Win32/Ergop.A (Microsoft)

 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 drops files as ransom note.

  TECHNICAL DETAILS

File Size:

56,320 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

24 Nov 2017

Payload:

Terminates processes, 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:

  • %System Root%\Users\Public\0665DE4C61B2AFA4AD21BAF60E8B93FE3800E14A07F60C7BD0BC73973FD4E9A1

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

It drops and executes the following files:

  • %User Temp%\tmp{random values}.tmp.bat

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

It drops the following copies of itself into the affected system:

  • %Application Data%\{Malware Name}.exe

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

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
BrowserUpdateCheck = %Application Data%\{Malware name}.exe

Other System Modifications

This Ransomware adds the following registry keys:

HKEY_ CURRENT_USER\Software\Microsoft\
Terminal ServerClient\Servers

It deletes the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Terminal Server Client\Default

Process Termination

This Ransomware terminates processes or services that contain any of the following strings if found running in the affected system's memory:

  • sql
  • outlook
  • Ssms
  • postgre
  • 1c
  • Excel
  • Word

Other Details

This Ransomware does the following:

  • Execute the following commands using the dropped batch file:
    • vssadmin.exe Delete Shadows /All /Quiet
    • reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f
    • reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f
    • reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers"
    • cd %userprofile%\documents\
    • attrib Default.rdp -s -h
    • del Default.rdp
    • for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"

Ransomware Routine

This Ransomware avoids encrypting files with the following strings in their file name:

  • {Malware name}
  • how_to_back_files.html
  • 0665DE4C61B2AFA4AD21BAF60E8B93FE3800E14A07F60C7BD0BC73973FD4E9A1

It avoids encrypting files found in the following folders:

  • Windows
  • Microsoft
  • Microsoft Help
  • Windows App Certification Kit
  • Windows Defender
  • ESET
  • COMODO
  • Windows NT
  • Windows Kits
  • Windows Mail
  • Windows Media Player
  • Windows Multimedia Platform
  • Windows PhoneKits
  • Windows Phone Silverlight Kits
  • Windows Photo Viewer
  • WindowsPortable Devices
  • Windows Sidebar
  • WindowsPowerShell
  • NVIDIA Corporation
  • Microsoft.NET
  • Internet Explorer
  • Kaspersky Lab
  • McAfee
  • Avira
  • spytech software
  • Sysconfig
  • Avast
  • Dr.Web
  • Symantec
  • Symantec_Client_Security
  • system volume information
  • AVG
  • Microsoft Shared
  • Common Files
  • Outlook Express
  • Movie Maker
  • Chrome
  • Mozilla Firefox
  • Opera
  • YandexBrowser
  • Ntldr
  • Wsus
  • ProgramData

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

  • .Codificado

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

  • {Encrypted file directory}\how_to_back_files.html

NOTES:

This ransomware displays the following ransom note:

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.104.03

FIRST VSAPI PATTERN DATE:

02 Mar 2018

VSAPI OPR PATTERN File:

14.105.00

VSAPI OPR PATTERN Date:

03 Mar 2018

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

Restore this deleted registry key/value from backup

*Note: Only Microsoft-related keys/values will be restored. If the malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

  • HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default

Step 5

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_ CURRENT_USER\Software\Microsoft\Terminal ServerClient\Servers

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • BrowserUpdateCheck = %Application Data%\{Malware name}.exe

Step 7

Search and delete these files

[ 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.
  • %System Root%\Users\Public\0665DE4C61B2AFA4AD21BAF60E8B93FE3800E14A07F60C7BD0BC73973FD4E9A1
  • %User Temp%\tmp{random values}.tmp.bat
  • %Application Data%\{Malware name}.exe
  • {Encrypted file directory}\how_to_back_files.html

Step 8

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

Restore encrypted files from backup.


Did this description help? Tell us how we did.