Ransom.Win32.GOHIVE.RCY

 Analysis by: Raymart Christian Yambot

 ALIASES:

Ransom:MacOS/Filecoder (MICROSOFT)

 PLATFORM:

Windows

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

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, 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 executes then deletes itself afterward.

It drops files as ransom note. It avoids encrypting files with the following file extensions.

  TECHNICAL DETAILS

File Size:

782,394 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

13 Jul 2021

Payload:

Drops files, Deletes files, Disables AV, Encrypts files, Terminates processes

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:

  • {Malware File Path}hive.bat → Deleted Afterwards
  • {Malware File Path}shadow.bat → Deleted Afterwards
  • {Drive Letter}:\{22 Random Characters}.key.hive
  • {Drive Letter}:\HOW_TO_DECRYPT.txt
  • {Encrypted Directory}\HOW_TO_DECRYPT.txt

It adds the following processes:

  • cmd /c hive.bat>NUL 2>NUL
  • cmd /c shadow.bat>NUL 2>NUL
  • vssadmin.exe delete shadows /all /quiet

It executes then deletes itself afterward.

Process Termination

This Ransomware terminates the following services if found on the affected system:

  • bmr
  • sql
  • oracle
  • postgres
  • redis
  • vss
  • backup
  • sstp

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

  • mspub
  • msdesktop

Other Details

This Ransomware does the following:

  • It accepts the following argument:
    • -kill {process name} → Regular expression for the names of processes to be stopped.
    • -no-clean → Skip clean disk space stage
    • -skip {file name} → Regular expression for file names to be skipped
    • -stop {service name} → Regular expression for stopping services
    • -t {int} → Number of encryptor threads
  • It encrypts fixed, removable and network drives

Ransomware Routine

This Ransomware avoids encrypting files found in the following folders:

  • Windows

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

  • {Random Characters}.hive

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

  • {Drive Letter}:\HOW_TO_DECRYPT.txt
  • {Encrypted Directory}\HOW_TO_DECRYPT.txt

It avoids encrypting files with the following file extensions:

  • lnk

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

18.540.04

FIRST VSAPI PATTERN DATE:

30 Jun 2023

VSAPI OPR PATTERN File:

18.541.00

VSAPI OPR PATTERN Date:

01 Jul 2023

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

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.
  • {Drive Letter}:\{22 Random Characters}.key.hive
  • {Drive Letter}:\HOW_TO_DECRYPT.txt
  • {Encrypted Directory}\HOW_TO_DECRYPT.txt

Step 4

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win32.GOHIVE.RCY. 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 5

Restore encrypted files from backup.


Did this description help? Tell us how we did.