RANSOM_INFINITETEAR.THAOIH

 Analysis by: Camille Reyes

 ALIASES:

Ransom.HiddenTear!g1 (NORTON); Mal/Infitear-A(SOPHOS_LITE)

 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.

It is capable of encrypting files in the affected system.

It drops files as ransom note.

  TECHNICAL DETAILS

File Size:

64,000 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

29 Sep 2017

Payload:

Displays message/message boxes, Encrypts files

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:

  • %Application Data%\Support\msvsupport.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.)

Autostart Technique

This Ransomware adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
msvsupport = %Application Data%\Support\msvsupport.exe

Other System Modifications

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

HKEY_CURRENT_USER\SOFTWARE\InfiniteTear
Trust = 00XFF

Process Termination

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

  • msftesql
  • sqlagent
  • sqlbrowser
  • sqlserver
  • sqlwriter.exe
  • oracle.exe
  • ocssd
  • dbsnmp
  • synctime
  • mydesktopqos
  • agntsvc
  • isqlplusvc
  • firefoxconfig
  • tbirdconfig
  • occom
  • mysqld
  • mysqkd-nt
  • mysqld-opt
  • dbeng50
  • sqbcoreservice

Other Details

This Ransomware encrypts files with the following extensions:

  • .qcow2
  • .rvt
  • .st7
  • .stm
  • .vbox
  • .vdi
  • .vhd
  • .vhdx
  • .vmdk
  • .vmsd
  • .psafe3
  • .vmx
  • .vmxf
  • .3fr
  • .3pr
  • .ab4
  • .accde
  • .accdr
  • .accdt
  • .ach
  • .acr
  • .sd0
  • .sxw
  • .adb
  • .advertisements
  • .agdl
  • .ait
  • .apj
  • .asm
  • .awg
  • .back
  • .backup
  • .sti
  • .oil
  • .backupdb
  • .bay
  • .bdb
  • .bgt
  • .bik
  • .bpw
  • .cdr3
  • .cdr4
  • .cdr5
  • .cdr6
  • .ycbcra
  • .cdrw
  • .ce1
  • .ce2
  • .cib
  • .craw
  • .crw
  • .csh
  • .csl
  • .db_journal
  • .dc2
  • .pptm
  • .dcs
  • .ddoc
  • .ddrw
  • .der
  • .des
  • .dgc
  • .djvu
  • .dng
  • .drf
  • .dxg
  • .eml
  • .ppt
  • .erbsql
  • .erf
  • .exf
  • .ffd
  • .fh
  • .fhd
  • .gray
  • .grey
  • .gry
  • .hbk
  • .ibd
  • .7z
  • .ibz
  • .iiq
  • .incpas
  • .jpe
  • .kc2
  • .kdbx
  • .kdc
  • .kpdx
  • .lua
  • .mdc
  • .mef
  • .config
  • .mfw
  • .mmw
  • .mny
  • .mrw
  • .myd
  • .ndd
  • .nef
  • .nk2
  • .nop
  • .nrw
  • .ns2
  • .ns3
  • .ldf
  • .ns4
  • .nwb
  • .nx2
  • .nxl
  • .nyf
  • .odb
  • .odf
  • .odg
  • .odm
  • .orf
  • .otg
  • .oth
  • .py
  • .ots
  • .ott
  • .p12
  • .p7b
  • .p7c
  • .pdd
  • .pem
  • .plus_muhd
  • .plc
  • .pot
  • .pptx
  • .py
  • .qba
  • .qbr
  • .qbw
  • .qbx
  • .qby
  • .raf
  • .rat
  • .raw
  • .rdb
  • .rwl
  • .rwz
  • .conf
  • .sda
  • .sdf
  • .sqlite
  • .sqlite3
  • .sqlitedb
  • .sr2
  • .srf
  • .srw
  • .st5
  • .st8
  • .std
  • .stx
  • .sxd
  • .sxg
  • .sxi
  • .sxm
  • .tex
  • .wallet
  • .wb2
  • .wpd
  • .x11
  • .x3f
  • .xis
  • .ARC
  • .contact
  • .dbx
  • .doc
  • .docx
  • .jnt
  • .jpg
  • .msg
  • .oab
  • .ods
  • .pdf
  • .pps
  • .ppsm
  • .prf
  • .pst
  • .rar
  • .rtf
  • .txt
  • .wab
  • .xls
  • .xlsx
  • .xml
  • .zip
  • .1cd
  • .3ds
  • .3g2
  • .7zip
  • .accdb
  • .aoi
  • .asf
  • .asp
  • .aspx
  • .asx
  • .avi
  • .bak
  • .cer
  • .cfg
  • .class
  • .cs
  • .css
  • .csv
  • .db
  • .dds
  • .dwg
  • .dxf
  • .flf
  • .flv
  • .html
  • .idx
  • .js
  • .key
  • .kwm
  • .laccdb
  • .lit
  • .m3u
  • .mbx
  • .md
  • .mdf
  • .mid
  • .mlb
  • .mov
  • .mp3
  • .mp4
  • .mpg
  • .obj
  • .odt
  • .pages
  • .php
  • .psd
  • .pwm
  • .rm
  • .safe
  • .sav
  • .save
  • .sql
  • .srt
  • .swf
  • .thm
  • .vob
  • .wav
  • .wma
  • .wmv
  • .xlsb
  • 3dm
  • .aac
  • .ai
  • .arw
  • .c
  • .cdr
  • .cls
  • .cpi
  • .cpp
  • .cs
  • .db3
  • .docm
  • .dot
  • .dotm
  • .dotx
  • .drw
  • .dxb
  • .eps
  • .fla
  • .flac
  • .fxg
  • .java
  • .m
  • .m4v
  • .max
  • .mdb
  • .pcd
  • .pct
  • .pl
  • .potm
  • .potx
  • .ppam
  • .ppsm
  • .ppsx
  • .pptm
  • .ps
  • .r3d
  • .rw2
  • .sldm
  • .sldx
  • .svg
  • .tga
  • .wps
  • .xla
  • .xlam
  • .xlm
  • .xlr
  • .xlsm
  • .xlt
  • .xltm
  • .xltx
  • .xlw
  • .act
  • .adp
  • .al
  • .1
  • .bkp
  • .blend
  • .cdf
  • .cdx
  • .cgm
  • .cr2
  • .crt
  • .dac
  • .dbf
  • .dcr
  • .ddd
  • .design
  • .dtd
  • .fdb
  • .fff
  • .fpx
  • .h
  • .iif
  • .indd
  • .jpeg
  • .mos
  • .nd
  • .nsd
  • .nsf
  • .nsg
  • .nsh
  • .odc
  • .odp
  • .pas
  • .pat
  • .pef
  • .pfx
  • .ptx
  • .qbb
  • .qbm
  • .sas7bdat
  • .say
  • .st4
  • .st6
  • .stc
  • .sxc
  • .tlg
  • .wad
  • .xlk
  • .aiff
  • .bmp
  • .cmt
  • .dat
  • .dit
  • .edb
  • .flvv
  • .avhd
  • .back
  • .c
  • .ctl
  • .dbf
  • .disk
  • .dwg
  • .gz
  • .mail
  • .nrg
  • .ora
  • .ova
  • .ovf
  • .pmf
  • .ppt
  • .pptx
  • .pst
  • .pvi
  • .pyc
  • .sln
  • .tar
  • .vbs
  • .vcb
  • .vfd
  • .vmc
  • .vsd
  • .vsdx
  • .vsv
  • .work
  • .xvd
  • .123
  • .3dm
  • .602
  • .aes
  • .asc
  • .brd
  • .bz2
  • .cmd
  • .dch
  • .dif
  • .dip
  • .docb
  • .frm
  • .gpg
  • .jsp
  • .lay
  • .lay6
  • .m4u
  • .mml
  • .myi
  • onetoc2
  • .PAQ
  • .ps1
  • .sch
  • .slk
  • .snt
  • .suo
  • .tgz
  • .tif
  • .tiff
  • .uop
  • .uot
  • .vcd
  • .wk1
  • .wks
  • .xlc
  • .gif
  • .apk
  • .groups
  • .hdd
  • .hpp
  • .log
  • .m2ts
  • .m4p
  • .mkv
  • .mpeg
  • .epub
  • .yuv
  • .ndf
  • .nvram
  • .ogg
  • .ost
  • .pab
  • .pdb
  • .pif
  • .png
  • .qed
  • .qcow
  • .otp
  • .s3db

It drops the following file(s)/component(s):

  • %Application Data%\Microsoft\00000.ini - contains the log of the files that are encrypted

(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 is capable of encrypting files in the affected system.

It executes the following command to disable/stop/delete Windows components:

  • cmd.exe /C vssadmin.exe delete shadows /all /Quiet
  • cmd.exe /C WMIC.exe shadowcopy delete
  • cmd.exe /C Bcdedit.exe /set {default} recoveryenabled no
  • cmd.exe /C Bcdedit.exe /set {default} bootstatuspolicy ignoreallfailures

Ransomware Routine

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

  • Windows
  • Program Files
  • ProgramData
  • PerfLogs
  • $Recycle.Bin
  • Microsoft
  • Microsoft Help
  • Microsoft App
  • Certification Kit
  • Windows Defender
  • ESET
  • COMODO
  • Windows NT
  • Windows Kits
  • Windows Mail
  • Windows Media Player
  • Windows Multimedia Platform
  • Windows Phone Kits
  • Windows Phone
  • Silverlight Kits
  • Temp
  • Windows Photo Viewer
  • Windows Protable Devices
  • Windows Slidebar
  • WindowsPowerShell
  • NVIDIA Corporation
  • Microsoft.NET
  • Internet Explorer
  • Kaspersky Lab
  • McAfee
  • Avira
  • spytech software
  • sysconfig
  • Avast
  • Dr.Web
  • Symantec
  • Symantec_Client_Security
  • system volume information
  • AVG
  • Microsoft Shared
  • Common Files
  • Outlook Express
  • Movie Maker
  • Chrome
  • Mozilla Firefox
  • Opera
  • YandexBrowser
  • ntldr
  • Wsus
  • !!AntiCrypto!!
  • Public

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

  • Infinite

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

  • {Encrypted file path}\#How_Decrypt_Files.txt

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

13.896.03

FIRST VSAPI PATTERN DATE:

10 Jan 2018

VSAPI OPR PATTERN File:

13.897.00

VSAPI OPR PATTERN Date:

11 Jan 2018

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

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\InfiniteTear
    • Trust = 00XFF
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • msvsupport = %Application Data%\Support\msvsupport.exe

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.
  • %Application Data%\Support\msvsupport.exe
  • %Application Data%\Microsoft\00000.ini
  • {Encrypted file path}\#How_Decrypt_Files.txt

Step 6

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