Analysis by: Alyssa Christelle Ramos

ALIASES:

Ransom:Win32/RagnarLocker.B

 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: Dropped by other malware, 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.

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

  TECHNICAL DETAILS

File Size: 55,808 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 27 Sep 2020
Payload: Terminates processes, 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:

  • wmic.exe shadowcopy delete
  • bcdedit /set{default} recoveryenabled No
  • bcdedit /set{default}bootsatuspolicy IgnoreAllFailures
  • bcdedit /set{globalsettings} advancedoptions false

Process Termination

This Ransomware terminates processes or services that contain any of the following strings if found running in the affected system's memory:

  • vss
  • sql
  • memtas
  • mepocs
  • sophos
  • veeam
  • backup
  • pulseway
  • logme
  • logmein
  • connectwise
  • splashtop
  • wuauserv
  • oracle
  • ocssd
  • dbsnmp
  • synctime
  • agntsvc
  • isqlplussvc
  • sfssvccon
  • mydesktopservice
  • ocautoupds
  • encsvc
  • firefox
  • tbirdconfig
  • mydesktopqos
  • ocomm
  • dbeng50
  • sqbcoreservice
  • excel
  • infopath
  • msaccess
  • mspub
  • onenote
  • outlook
  • powerpnt
  • steam
  • thebat
  • thunderbird
  • visio
  • winword
  • wordpad

Other Details

This Ransomware does the following:

  • It checks for the computer's language and terminates itself if any the following language is detected:
    • Azerbaijani
    • Armenian
    • Belorussian
    • Kazakh
    • Kyrgyz
    • Moldavian
    • Tajik
    • Russian
    • Turkmen
    • Uzbek
    • Ukrainian
    • Georgian
  • 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
    • -force {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
    • -share_network -> deletes shadow copies and encrypts the whole machine without avoiding anything

Ransomware Routine

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

  • !!!_READ_ME_{8 characters based on computer name}_!!!.txt
  • autorun.inf
  • boot.ini
  • bootfont.bin
  • bootsect.bak
  • bootmgr
  • bootmgr.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
  • Google
  • Opera
  • Opera Software
  • Mozilla
  • Mozilla Firefox
  • $Recycle Bin
  • ProgramData
  • All Users
  • Sysvol

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

  • .__r4gN4r__{8 characters based on computer name}

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

  • {Encrypted Directory}\!!!_READ_ME_{8 characters based on computer name}_!!!.txt
  • %Public%\Documents\!!!_READ_ME_{8 characters based on computer name}_!!!.txt

It avoids encrypting files with the following file extensions:

  • .db
  • .dll
  • .lnk
  • .msi
  • .drv
  • .sys
  • .exe

  SOLUTION

Minimum Scan Engine: 9.800
FIRST VSAPI PATTERN FILE: 16.262.03
FIRST VSAPI PATTERN DATE: 02 Oct 2020
VSAPI OPR PATTERN File: 16.263.00
VSAPI OPR PATTERN Date: 03 Oct 2020

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

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}\!!!_READ_ME_{8 characters based on computer name}_!!!.txt
  • %Public%\Documents\!!!_READ_ME_{8 characters based on computer name}_!!!.txt

Step 5

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

Restore encrypted files from backup.


Did this description help? Tell us how we did.