RANSOM_MILICRY.F117CR

 Analysis by: John Kevin Sanchez

 ALIASES:

Trojan-Ransom.Win32.SageCrypt.bnb (ZoneAlarm by Check Point)

 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:

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.

  TECHNICAL DETAILS

File Size:

397346 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

28 Mar 2017

Payload:

Encrypts files, Connects to URLs/IPs

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 the following copies of itself into the affected system and executes them:

  • %Application Data%\{random filename}.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It drops the following files:

  • %User Temp%\{random filename}.vbs - use to delete original malware file
  • {folders of encrypted files}\!HELP_SOS.hta - ransom note
  • %Application Data%\{random filename}.tmp

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Backdoor Routine

This Ransomware connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://mbfce24rgn65bx3g.{BLOCKED}d.com/

Other Details

This Ransomware encrypts files with the following extensions:

  • .pif
  • .com
  • .bat
  • .cmd
  • .lnk
  • .vfolder
  • .zip
  • .dvr-ms
  • .wvx
  • .wmx
  • .wmv
  • .wm
  • .mpv2
  • .mpg
  • .mpeg
  • .mpe
  • .mpa
  • .mp2v
  • .mp2
  • .m1v
  • .IVF
  • .asx
  • .asf
  • .avi
  • .wax
  • .snd
  • .rmi
  • .m3u
  • .au
  • .aiff
  • .aifc
  • .aif
  • .midi
  • .mid
  • .wma
  • .wav
  • .mp3
  • .wmf
  • .tiff
  • .tif
  • .rle
  • .png
  • .jpeg
  • .jpe
  • .jpg
  • .jfif
  • .gif
  • .emf
  • .dib
  • .wsh
  • .wsf
  • .wsc
  • .ws
  • .vsw
  • .vst
  • .vss
  • .vsmacros
  • .vbs
  • .vbe
  • .vb
  • .shs
  • .shb
  • .sct
  • .scr
  • .scf
  • .reg
  • .pst
  • .prg
  • .prf
  • .pl
  • .pcd
  • .ops
  • .mst
  • .msp
  • .mshxml
  • .msh
  • .msc
  • .mdz
  • .mdw
  • .mdt
  • .mde
  • .mdb
  • .mda
  • .mcf
  • .maw
  • .mav
  • .mau
  • .mat
  • .mas
  • .mar
  • .maq
  • .mam
  • .mag
  • .maf
  • .mad
  • .ksh
  • .jse
  • .js
  • .its
  • .isp
  • .ins
  • .inf
  • .hlp
  • .grp
  • .gadget
  • .fxp
  • .exe
  • .csh
  • .crt
  • .cpl
  • .chm
  • .cer
  • .bas
  • .app
  • .adp
  • .ade
  • .art
  • .bm
  • .bmp
  • .ico
  • .mpv
  • .wmp
  • .py

It renames encrypted files using the following names:

  • {filename of encrypted files}.sage

It does the following:

  • Deletes shadow volume:
    vssadmin.exe delete shadows /all /quiet

NOTES:

This ransomware avoids files and folders which contains the following strings:

  • thumbs.db
  • desktop.ini
  • ntuser.dat
  • ntuser.ini
  • ntuser.dat.log
  • autoexec.bat
  • boot.ini
  • index.dat
  • BOOTSECT.BAK

It executes the following commands:

  • schtasks /CREATE /TN {random value} /TR Application Data%\{random filename}.exe" /SC ONLOGON /RL HIGHEST /F
  • bcdedit.exe /set {default} recoveryenabled no
  • bcdedit.exe /set {default} bootstatuspolicy ignoreallfailures

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

13.302.08

FIRST VSAPI PATTERN DATE:

27 Mar 2017

VSAPI OPR PATTERN File:

13.303.00

VSAPI OPR PATTERN Date:

28 Mar 2017

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 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

Identify and terminate files detected as RANSOM_MILICRY.F117CR

[ 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

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.
  • %User Temp%\{random filename}.vbs
  • {folders of encrypted files}\!HELP_SOS.hta
  • %Application Data%\{random filename}.tmp

Step 5

Scan your computer with your Trend Micro product to delete files detected as RANSOM_MILICRY.F117CR. 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 6

Restore encrypted files from backup.


Did this description help? Tell us how we did.