Ransom.Win64.RANGGOL.A

 Analysis by: Henry Alarcon Jr.

 ALIASES:

Trojan.Ransom.Googo.A (BitDefender), Win64.Trojan-Ransom.Googo.A (GData), Trojan:Win32/Dynamer!ac (Microsoft)

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

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

  TECHNICAL DETAILS

File Size:

3,997,184 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

03 Jul 2019

Payload:

Connects to URLs/IPs, 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:

  • %Application Data%\Windows_Update\Windows_Security.exe
  • %User Temp%\Windows_Security.exe
  • %Desktop%\Instructions.html ← ransom notes

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Roaming on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %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 adds the following processes:

  • cmd /C \"mkdir %Application Data%\Windows_Update\"
  • cmd /C \"timeout /t 5 & del {Original executable file} & start %Application Data%\Windows_Update\Windows_Security.exe"
  • cmd /C \"timeout /t 5 & del {Original executable file} & start %User Temp%\Windows_Security.exe"
  • cmd /C \"vssadmin.exe Delete Shadows /All /Quiet\"
  • cmd /C REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V Windows-Defender /t REG_SZ /F /D %Application Data%\Windows_Update\Windows_Security.exe

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

It creates the following folders:

  • %Application Data%\Windows_Update

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

It executes then deletes itself afterward.

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\Run
Windows-Defender = %Application Data%\Windows_Update\Windows_Security.exe

Other Details

This Ransomware does the following:

  • After encrypting files it does the following:
    • It executes the following commands: cmd /C "%Desktop%\Instructions.html"
    • It displays the following:
  • It connects to the following URL to check if the e-wallet is refilled to automatically decrypt all encrypted files:
    • http://btc.{BLOCKED}r.io/api/v1/address/info/1BwwT5zo5FwQdWniUSay2AUrPrbYph9SxP
  • It won't continue to its malicious routine if one of the following condition is met:
    • If the following files are found on the following folders:
      • %System Root%\Python{version}\{files}
      • %System Root%\Python{version}\Scripts\{files}
      • %System Root%\Perl\bin\{files}
      • %System Root%\Perl\site\bin\{files}
      • Where files are the following:
        • cmd.com
        • cmd.exe
        • cmd.bat
        • cmd.cmd
        • cmd.vbs
        • cmd.vbe
        • cmd.js
        • cmd.jse
        • cmd.wsf
        • cmd.wsh
        • cmd.msc
        • cmd.py
        • cmd.pyw
    • If the following registries value return True:
      • HKEY_LOCAL_MACHINE\Software\Policis\done
      • HKEY_CURRENT_USER\Software\Policis\done

Ransomware Routine

This Ransomware encrypts files with the following extensions:

  • .asp
  • .aspx
  • .php
  • .key
  • .pps
  • .pptx
  • .mkv
  • .mov
  • .mpg
  • .mpeg
  • .avi
  • .flv
  • .wmv
  • .swf
  • .vob
  • .class
  • .cpp
  • .java
  • .rar
  • .zip
  • .tar.gz
  • .ods
  • .xlsx
  • .odt
  • .docx
  • .pdf
  • .wks
  • .txt
  • .jar
  • .gif
  • .bmp
  • .jpg
  • .jpeg
  • .png
  • .psd
  • .svg
  • .tif
  • .tiff
  • .mid
  • .midi
  • .mp3
  • .wav
  • .wma
  • .txt
  • .mdb
  • .dbf
  • .xml
  • .sql
  • .tar
  • .bak

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

  • tmp
  • winnt
  • Application Data
  • AppData
  • Program Files (x86)
  • Program Files
  • temp
  • thumbs.db
  • Recycle.Bin
  • System Volume Information
  • Boot
  • Windows
  • .enc
  • Instructions
  • Windows_Security.exe

It renames encrypted files using the following names:

  • {Base64 encoded Filename and extension}.enc

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

  • %Desktop%\Instructions.html

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.214.05

FIRST VSAPI PATTERN DATE:

04 Jul 2019

VSAPI OPR PATTERN File:

15.215.00

VSAPI OPR PATTERN Date:

05 Jul 2019

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.Win64.RANGGOL.A

[ 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

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
    • Windows-Defender = "%Application Data%\Windows_Update\Windows_Security.exe"

Step 5

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.
  • %Application Data%\Windows_Update

Step 6

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 Temp%\Windows_Security.exe
  • %Desktop%\Instructions.html

Step 7

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

Step 8

Restore encrypted files from backup.


Did this description help? Tell us how we did.