Ransom.Win32.RAGNAR.YPCIM

 Analysis by: Nathaniel Gregory Ragasa

 ALIASES:

Ransom:Win32/RagnarLocker.B(MICROSOFT), Trojan-Ransom.Ragnarlocker(IKARUS)

 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 avoids encrypting files with the following file extensions.

  TECHNICAL DETAILS

File Size:

62,464 bytes

File Type:

, EXE

Memory Resident:

No

Payload:

Encrypts files, Displays message/message boxes, Modifies system registry, 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 adds the following processes:

  • wmic.exe shadowcopy delete
  • bcdedit /set {default} recoveryenabled No
  • bcdedit /set {default} bootstatuspolicy IgnoreAllFailures
  • bcdedit /set {globalsettings} advancedoptions false
  • It executes this powershell command if PccNtMon.exe or uiSeAgnt.exe found running in the affected system's memory and OS version is not Windows 7 and Windows Server 2008 R2:
    • powershell.exe -EncodedCommand {Base64 Encoded Command}

Process Termination

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

  • ArcserveUDPIS
  • ArcserveUDPPS
  • ASLogWatch
  • AvamarSQLTLR
  • avbackup
  • backup
  • backup
  • bvckup2
  • CAARCAppSvc
  • CASAD2DWebSvc
  • CASARCUpdateSVC
  • CASARPSWebSvc
  • CASDatastoreSvc
  • Cohesity
  • CommVault
  • connectwise
  • CVContentPreview
  • CvMessageQueueer
  • exchange
  • GxBlr
  • GxClMgrS
  • GxCVD
  • GxEvMgrC
  • GxFWD
  • GXHSM
  • GXHSM Recaller
  • GXMMM
  • GxVssProv
  • hyper-v
  • logme
  • logmein
  • memtas
  • mepocs
  • MsDtsServer140
  • msexchange
  • MSSQLFDLaunch
  • MSSQLSERVER
  • MSSQLServerOLAPService
  • netbackup
  • NwxExeSvc
  • outlook
  • pulseway
  • ShProvd
  • sophos
  • splashtop
  • sql
  • SQL
  • SQLSERVERAGENT
  • symantec
  • uavrsvc
  • veeam
  • veritas
  • vss
  • WscrAgent
  • wuauserv

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

  • AFD2DMinitor.exe
  • agntsvc
  • AgPkiMon.exe
  • ARCUpdate.exe
  • avagent.exe
  • avscc.exe
  • backup
  • benetns
  • bengine
  • beremote
  • beserver
  • BlrSvc.exe
  • bvckup2.exe
  • ClMgrS.exe
  • Cohesity
  • commvault
  • cvd.exe
  • cvfwd.exe
  • CvMessageQueue.exe
  • CVMountd.exe
  • DataCube.exe
  • DataStoreInstService.exe
  • dbeng50
  • dbsnmp
  • dfsrs.exe
  • dfssvc.exe
  • DSFileServer.exe
  • EduLink2SIMS
  • encsvc
  • evmgrc.exe
  • excel
  • fdhost
  • firefox
  • GDDServer.exe
  • GXHSMService.exe
  • httpd.exe
  • hyper-v
  • infopath
  • isqlplussvc
  • java.exe
  • msaccess
  • msexchange
  • mspub
  • mydesktopqos
  • mydesktopservice
  • mysql
  • netbackup
  • netwrix
  • netwrix.wsa.agentservice.exe
  • netwrixremotinghost64.exe
  • nwxexesvc.exe
  • ocautoupds
  • ocomm
  • ocssd
  • onenote
  • oracle
  • outlook
  • OWSTIMER
  • postgres
  • powerpnt
  • pvlsvr
  • SAVAdminService
  • SavService.exe
  • sophos
  • sqbcoreservice
  • sql
  • SQLAGENT.exe
  • sqlbrowser.exe
  • sqlservr.exe
  • sqlwriter.exe
  • steam
  • store.exe
  • swc_service.exe
  • symantec
  • sync_utl_d.exe
  • synctime
  • tbirdconfig
  • TeamViewer
  • Teamviwer
  • thebat
  • thunderbird
  • tomcat9.exe
  • uavragent.exe
  • veeam
  • veritas
  • visio
  • Vmware
  • VSS_SWProv_Svc.exe
  • VxLockdownServer
  • winword
  • wordpad
  • WSSADMIN
  • wsstracing
  • xfssvccon

Other Details

This Ransomware does the following:

  • Terminates itself if system's Country Locale is from one of the following countries:
    • Azerbaijan
    • Armenia
    • Belarus
    • Kazakhstan
    • Kyrgyzstan
    • Moldova
    • Tajikistan
    • Russia
    • Turkmenistan
    • Uzbekistan
    • Ukraine
    • Georgia
  • It empties recycle bin

It accepts the following parameters:

    • -backup → deletes shadow copies only
    • -list {Text File} → deletes shadow copies and encrypts only the directories indicated on the text file
    • -path → deletes shadow copies and encrypts only the path provided
    • -vm → deletes shadow copies and encrypts the whole machine avoiding files,folders and file extensions stated below
    • -vmback → deletes shadow copies and encrypts the whole machine avoiding files and file extensions stated below
    • -pass {key} → decryption of some portion of the malware.
    • -safemode
    • -silent_path
    • -silent

Ransomware Routine

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

  • Autorun.inf
  • boot.ini
  • bootfont.bin
  • bootsect.bak
  • bootmgr
  • bootmgr.efi
  • mootmgfw.efi
  • desktop.ini
  • iconcache.db
  • ntldr
  • ntuser.dat
  • ntuser.dat.log
  • thumbs.db

It avoids encrypting files found in the following folders:

  • Windows
  • Windows.old
  • Tor Browser
  • Internet Explorer
  • $Recycle.Bin
  • ProgramData
  • Sysvol

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

  • .{6 Random Characters}_你好世界

It leaves text files that serve as ransom notes containing the following text:

  • {Encrypted Directory}\!_R^A^G^N^A^R_!_NOTES_{Hashed ComputerName}_!.txt

It avoids encrypting files with the following file extensions:

  • .sys
  • .dll
  • .lnk
  • .msi
  • .drv
  • .exe
  • .efi
  • .mui

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

17.812.03

FIRST VSAPI PATTERN DATE:

14 Sep 2022

VSAPI OPR PATTERN File:

17.813.00

VSAPI OPR PATTERN Date:

15 Sep 2022

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

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

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}\!_R^A^G^N^A^R_!_NOTES_{Hashed ComputerName}_!.txt

Step 5

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win32.RAGNAR.YPCIM. 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 6

Restore encrypted files from backup.


Did this description help? Tell us how we did.