Analysis by: Joshua Paul Ignacio

ALIASES:

MSIL/Filecoder.AFA!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: 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.

  TECHNICAL DETAILS

File Size: 355,328 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 08 Jan 2021
Payload: Displays message/message boxes, Displays graphics/image, 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 adds the following processes:

  • "C:\Windows\System32\cmd.exe" /k color 47 && takeown /f C:\bootmgr && icacls C:\bootmgr /grant %username%:F && attrib -h -s -r C:\bootmgr && del C:\bootmgr && exit

Other System Modifications

This Ransomware deletes the following files:

  • %System Root%\bootmgr
  • %Desktop%\desktop.ini
  • %User Profile%\Downloads\desktop.ini
  • %User Profile%\Pictures\desktop.ini
  • %User Profile%\Documents\desktop.ini

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %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).. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name} on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableTaskMgr = 1

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegistryTools = 1

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Shell = empty

Process Termination

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

  • cmd
  • regedit
  • Processhacker
  • sdclt
  • powershell

Other Details

This Ransomware adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System

It does the following:

  • It encrypts files found in the following directories:
    • %Desktop%
    • %User Profile%\Downloads
    • %User Profile%\Pictures
    • %User Profile%\Documents
  • Upon execution, it will display the following image:

    followed by a message of:

    Clicking "No" won't terminate the process but if "Yes" is selected, it will display the following message box:

    After selecting "OK", it will now continue with its malicious routine and will now display the following window which serves as its ransom note written in Russian where a KEY is required for the process to terminate:
  • If an invalid key was entered on the ransom note, it will display the following message box:

    If a valid key was entered, it will display the following message box and will terminate the process and shutdown the machine afterwards.

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 16.470.04
FIRST VSAPI PATTERN DATE: 11 Jan 2021
VSAPI OPR PATTERN File: 16.471.00
VSAPI OPR PATTERN Date: 12 Jan 2021

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

     
    • Troj.Win32.TRX.XXPE50FFF039

Step 2

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 3

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 4

Enable Registry Editor, Task Manager, and Folder options

[ Learn More ]
By doing this step, you also enable other applications/programs disabled by this malware/grayware/spyware. Screen reader support enabled.

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.

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

Step 6

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 NT\Current Version\Winlogon
    • From: Shell = empty
      To:
      Shell = {Default Value}

Step 7

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %System Root%\bootmgr
  • %Desktop%\desktop.ini
  • %User Profile%\Downloads\desktop.ini
  • %User Profile%\Pictures\desktop.ini
  • %User Profile%\Documents\desktop.ini

Step 8

Scan your computer with your Trend Micro product to delete files detected as Ransom.MSIL.COBRALOCKER.B. 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 9

Restore encrypted files from backup.


Did this description help? Tell us how we did.