Ransom.Win32.CONTI.SM.hp

 Analysis by: Melvin Jhun Palbusa

 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.

  TECHNICAL DETAILS

File Size:

188,416 bytes

File Type:

EXE

Memory Resident:

No

Payload:

Drops files, 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 files:

  • %System Root%\CONTI_LOG.txt → If -log enables is used

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

It adds the following processes:

  • cmd.exe /c %System%\wbem\WMIC.exe shadowcopy where "ID='{Shadow Copy ID}'" delete → It will repeat this process depending on the number of shadow copies.

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

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

  • kjsidugaafaaaa

Other Details

This Ransomware does the following:

  • By default, it encrypts local drives, removable drives, and network shares.
  • When encrypting network shares it will check if the IP address starts with the following to ensure that it is encrypting local, non-internet, systems:
    • 172.
    • 192.168.
    • 10.
    • 169.
  • It looks for database storage files by looking for the following strings in their file path:
    • .4dd
    • .4dl
    • .accdb
    • .accdc
    • .accde
    • .accdr
    • .accdt
    • .accft
    • .adb
    • .ade
    • .adf
    • .adp
    • .arc
    • .ora
    • .alf
    • .ask
    • .btr
    • .bdf
    • .cat
    • .cdb
    • .ckp
    • .cma
    • .cpd
    • .dacpac
    • .dad
    • .dadiagram
    • .daschema
    • .db
    • .db-shm
    • .db-wal
    • .db3
    • .dbdbf
    • .dbs
    • .dbt
    • .dbv
    • .dbx
    • .dcb
    • .dct
    • .dcx
    • .ddl
    • .dlis
    • .dp1
    • .dqy
    • .dsk
    • .dsn
    • .dtsx
    • .dxl
    • .eco
    • .ecx
    • .edb
    • .epim
    • .exb
    • .fcd
    • .fdb
    • .fic
    • .fmp
    • .fmp12
    • .fmpsl
    • .fol
    • .fp3
    • .fp4
    • .fp5
    • .fp7
    • .frm
    • .fpt
    • .frmgdb
    • .grdb
    • .gqi
    • .hdb
    • .his
    • .ib
    • .idb
    • .ihx
    • .itdb
    • .itw
    • .het
    • .htx
    • .kdb
    • .kexi
    • .kexic
    • .kexis
    • .lgc
    • .lwx
    • .maf
    • .maq
    • .mar
    • .mas
    • .mav
    • .mdb
    • .mdf
    • .mpd
    • .mrg
    • .mud
    • .mwb
    • .myd
    • .ndf
    • .nnt
    • .nrmlib
    • .ns2
    • .ns3
    • .ns4
    • .nsf
    • .nv
    • .nv2
    • .nwdb
    • .nyf
    • .odb
    • .oqy
    • .orx
    • .owc
    • .p96
    • .p97
    • .pan
    • .pdb
    • .pdm
    • .pnz
    • .qry
    • .qvd
    • .rbf
    • .rctd
    • .rod
    • .rodx
    • .rpd
    • .rsd
    • .sas7bdat
    • .sbf
    • .scx
    • .sdb
    • .sdc
    • .sdf
    • .sis
    • .spq
    • .sql
    • .sqlite
    • .sqlite3
    • .sqlitedb
    • .te
    • .temx
    • .tmd
    • .tps
    • .trc
    • .trm
    • .udb
    • .udl
    • .usr
    • .v12
    • .vis
    • .vpd
    • .vvv
    • .wdb
    • .wmdb
    • .wrk
    • .xdb
    • .xld
    • .xmlff
    • .abcddb
    • .abs
    • .abx
    • .accdw
    • .adn
    • .db2
    • .fm5
    • .hjt
    • .icg
    • .icr
    • .kdb
    • .lut
    • .maw
    • .mdn
    • .mdt
    • .txt
    • .xls
    • .xlsx
    • .rtf
    • .doc
    • .docx
    • .jpg
    • .jpeg
    • .png
    • .sln
    • .h
    • .c
    • .cpp
    • .cxx
    • .cs
    • .vb
    • .pdf
  • It looks for disk image files by looking for the following file extensions in their file path:
    • .vhd
    • .vmdk
    • .pvm
    • .vmem
    • .vmsn
    • .vmsd
    • .nvram
    • .vmx
    • .raw
    • .qcow2
    • .subvol
    • .bin
    • .vsv
    • .avhd
    • .vmrs
    • .vhdx
    • .avdx
    • .vmcx
    • .iso
    • .rar
    • .zip
    • .7z
    • .001
    • .002
    • .002
    • .004
    • .005
    • .006
    • .007
    • .008
    • .009
    • .bak
  • It uses the Windows Restart Manager to unlock files it will encrypt.

It accepts the following parameters:

  • -h → Specify a path to file containing IPv4 addresses to scan for network encryption mode
  • -p → Specify a path to a file containing a system path for file encryption mode
  • -m → Specify encryption mode: all|local|net|backups
    • all → Encrypt both local and network
    • local → delete backups and encrypt local drives
    • net → delete backups and encrypt network shares
    • backups → delete backups
  • -log enabled → log output to %System Root%\CONTI_LOG.txt

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

Ransomware Routine

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

  • .exe
  • .dll
  • .lnk
  • .sys
  • .msi
  • R3ADM3.txt
  • CONTI_LOG.txt
  • .EXTEN

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

  • $Recycle.Bin
  • $RECYCLE.BIN
  • System Volume Information
  • winnt
  • Boot
  • Windows
  • Trend Micro

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

  • .EXTEN

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

  • %System Root%\R3ADM3.txt

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

16.286.08

FIRST VSAPI PATTERN DATE:

14 Oct 2020

VSAPI OPR PATTERN File:

16.287.00

VSAPI OPR PATTERN Date:

15 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.XXPE50FFF072

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 this file

[ 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.
  • %System Root%\CONTI_LOG.txt
  • {Encrypted Folder}\R3ADM3.txt

Step 5

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win32.CONTI.SM.hp. 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:


Did this description help? Tell us how we did.