Ransom.Win64.ROOK.YXBLFZ

 Analysis by: Kyle Philippe Yu

 ALIASES:

W64/Filecoder_Sodinokibi.A!tr.ransom (FORTINET)

 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:

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:

415,232 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

05 Jan 2022

Payload:

Disables services, Terminates processes, Deletes files, Encrypts files, Displays message/message boxes

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:

  • %System%\cmd.exe /c vssadmin.exe delete shadows /all /quiet

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

It executes then deletes itself afterward.

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • asfgjkl878645165456fa888

Other System Modifications

This Ransomware adds the following registry entries:

HKEY_CURRENT_USER\Software
RookPrivateKey = {Hex Values}

HKEY_CURRENT_USER\Software
RookPublicKey = {Hex Values}

Process Termination

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

  • AcronisAgent
  • AcrSch2Svc
  • backup
  • CAARCUpdateSvc
  • CASAD2DWebSvc
  • ccEvtMgr
  • ccSetMgr
  • DefWatch
  • GxBlr
  • GxCIMgr
  • GxCVD
  • GxFWD
  • GxVss
  • Intuit.QuickBooks.FCS
  • memtas
  • mepocs
  • QBCFMonitorService
  • QBFCService
  • QBIDPService
  • RTVscan
  • SavRoam
  • sql
  • svc$
  • torService
  • veeam
  • vss

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

  • agntsvc.exe
  • dbeng50.exe
  • dbsnmp.exe
  • encsvc.exe
  • excel.exe
  • firefox.exe
  • infopath.exe
  • isqlplussvc.exe
  • msaccess.exe
  • mspub.exe
  • mydesktopqos.exe
  • mydesktopservice.exe
  • notepad.exe
  • ocautoupds.exe
  • ocomm.exe
  • ocssd.exe
  • onenote.exe
  • oracle.exe
  • outlook.exe
  • powerpnt.exe
  • sqbcoreservice.exe
  • sql.exe
  • steam.exe
  • synctime.exe
  • tbirdconfig.exe
  • thebat.exe
  • thunderbird.exe
  • visio.exe
  • winword.exe
  • wordpad.exe
  • xfssvccon.exe

Other Details

This Ransomware does the following:

  • Deletes all files inside Recycle Bin
  • Encrypts files from network shares
  • Creates Semaphore

It accepts the following parameters:

  • -debug - For logging
  • -shares - Encrypts specified network shares
  • -paths - Encrypts specified drives

Ransomware Routine

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

  • #recycle
  • $Recycle Bin
  • All Users
  • AppData
  • autorun.inf
  • Boot
  • boot.ini
  • bootfont.bin
  • bootmgfw.efi
  • bootmgr
  • bootmgr.efi
  • bootsect.bak
  • desktop.ini
  • Google
  • iconcache.db
  • Internet Explorer
  • Mozilla
  • Mozilla Firefox
  • ntldr
  • ntuser.dat
  • ntuser.dat.log
  • ntuser.ini.
  • Opera
  • Opera Software
  • Program Files
  • Program Files (x86)
  • ProgramData
  • thumbs.db
  • Tor Browser
  • Windows
  • Windows.old
  • HowToRestoreYourFiles.txt

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

  • Rook

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

  • {Encrypted Directory}\HowToRestoreYourFiles.txt

It avoids encrypting files with the following file extensions:

  • .exe
  • .dll
  • .Rook

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

17.296.03

FIRST VSAPI PATTERN DATE:

05 Jan 2022

VSAPI OPR PATTERN File:

17.297.00

VSAPI OPR PATTERN Date:

06 Jan 2022

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

Restart in Safe Mode

[ Learn More ]

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
    • RookPrivateKey
  • In HKEY_CURRENT_USER\Software
    • RookPublicKey

Step 5

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.
  • {Encrypted Directory}\HowToRestoreYourFiles.txt

Step 6

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

Restore encrypted files from backup.


Did this description help? Tell us how we did.