Ransom.MSIL.SHINOLOCK.THKBCBC

 Analysis by: Leidryn Saludez

 ALIASES:

MSIL/Generic.AP.15EDD4!tr (FORTINET)

 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 gathers information and reports it to its servers.

It encrypts files found in specific folders.

  TECHNICAL DETAILS

File Size:

195,072 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

23 Nov 2023

Payload:

Drops files, Encrypts files, Modifies system registry

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 a copy of itself in the following folders using different file names:

  • %User Temp%\{Random filename 1}.exe

(Note: %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 drops the following files:

  • %User Temp%\{Random filename 3}.txt → sample file to encrypt
  • %User Temp%\{Random filename 4}.lst → contains the list of encrypted files

(Note: %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 drops and executes the following files:

  • %User Temp%\{Random filename 2}.exe → AES Encryptor/Decryptor

(Note: %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 adds the following processes:

  • "%System%\vssadmin.exe" delete shadows /all /quiet
  • "%User Temp%\{Random filename 2}.exe" E Wez03hsEhpTFfcIBCH1CnQ== D91JCmhNvM0wuImxRf7PuQ== "%User Temp%\{Random filename 3}.txt" → AES Encryptor to encrypt sample file
  • "%User Temp%\{Random filename 2}.exe" D D91JCmhNvM0wuImxRf7PuQ== "%User Temp%\{Random filename 3}.txt.shino" → AES Decryptor to decrypt sample file
  • "%User Temp%\{Random filename 2}.exe" E Wez03hsEhpTFfcIBCH1CnQ== D91JCmhNvM0wuImxRf7PuQ== "%Desktop%\{target file}" → AES Encryptor to encrypt target files in Desktop folder
  • "%User Temp%\{Random filename 2}.exe" E Wez03hsEhpTFfcIBCH1CnQ== D91JCmhNvM0wuImxRf7PuQ== "%Desktop%\{subfolders}\{target file}" → AES Encryptor to encrypt target files in Desktop subfolders

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %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).)

Other System Modifications

This Ransomware adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\ShinoLocker
P = %User Temp%\{Random filename 1}.exe

HKEY_CURRENT_USER\Software\ShinoLocker
PS = %User Temp%\{Random filename 2}.exe

HKEY_CURRENT_USER\Software\ShinoLocker
FL = %User Temp%\{Random filename 4}.lst

HKEY_CURRENT_USER\Software\ShinoLocker
TF = %User Temp%\{Random filename 3}.txt

HKEY_CURRENT_USER\Software\ShinoLocker
TD = {string}

HKEY_CURRENT_USER\Software\ShinoLocker
H = 1

HKEY_CURRENT_USER\Software\ShinoLocker
V = "{B64 string}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
BitBucket\c
NeedToPurge = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
.shino
(Default) = ShinoLockerEncryptedFile

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
ShinoLockerEncryptedFile\shell\open\
command
(Default) = %User Temp%\{Random filename 1}.exe "%l"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
ShinoLockerEncryptedFile\DefaultIcon
(Default) = %User Temp%\{Random filename 1}.exe, 0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer
GlobalAssocChangedCounter = 37

Other Details

Based on analysis of the codes, it has the following capabilities:

  • Restore Encrypted files
  • Uninstall itself

It encrypts files with the following extensions:

  • .bmp
  • .jpg
  • .jpeg
  • .png
  • .wmv
  • .avi
  • .mov
  • .mp4
  • .mp3
  • .wav
  • .pptx
  • .doc
  • .docx
  • .xls
  • .xlsx
  • .doc

It does the following:

  • It displays the following user interface upon execution:
  • It replaces the encrypted files' icon with the malware's icon.

It gathers the following information and reports it to its servers:

  • https://{BLOCKED}ocker.com

Ransomware Routine

This Ransomware encrypts files found in the following folders:

  • %Desktop%
  • %Desktop%\{subfolders}

(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:

  • .shino

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

18.836.03

FIRST VSAPI PATTERN DATE:

23 Nov 2023

VSAPI OPR PATTERN File:

18.837.00

VSAPI OPR PATTERN Date:

24 Nov 2023

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.XXPE50FFF075

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

Identify and terminate files detected as Ransom.MSIL.SHINOLOCK.THKBCBC

[ 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

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 5

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\ShinoLocker
    • P = %User Temp%\{Random filename 1}.exe
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • PS = %User Temp%\{Random filename 2}.exe
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • FL =%User Temp%\{Random filename 4}.lst
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • TF =%User Temp%\{Random filename 3}.txt
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • TD = {string}
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • H = 1
  • In HKEY_CURRENT_USER\Software\ShinoLocker
    • V = {B64 string}
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\c
    • NeedToPurge = 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.shino
    • (Default) =  ShinoLockerEncryptedFile
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ShinoLockerEncryptedFile\shell\open\command
    • (Default) = %User Temp%\{Random filename 1}.exe "%l"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ShinoLockerEncryptedFile\DefaultIcon
    • (Default) = %User Temp%\{Random filename 1}.exe, 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    • GlobalAssocChangedCounter = 37

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%\{Random filename 1}.exe
  • %User Temp%\{Random filename 2}.exe
  • %User Temp%\{Random filename 3}.txt
  • %User Temp%\{Random filename 4}.lst

Step 7

Scan your computer with your Trend Micro product to delete files detected as Ransom.MSIL.SHINOLOCK.THKBCBC. 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:


Did this description help? Tell us how we did.