Ransom.Win32.GANDCRAB.THCBIAI

 Analysis by: Earle Maui Earnshaw

 ALIASES:

HEUR:Exploit.Win32.CVE-2018-8120.a (Kaspersky); Trojan-Ransom.GandCrab (Ikarus)

 THREAT SUBTYPE:

Fileless

 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 may be downloaded by other malware/grayware from remote sites.

It connects to certain websites to send and receive information. It takes advantage of certain vulnerabilities.

It drops files as ransom note.

  TECHNICAL DETAILS

File Size:

92,160 bytes

File Type:

DLL

Memory Resident:

Yes

Initial Samples Received Date:

28 Mar 2019

Payload:

Terminates processes, Displays graphics/image, Steals information, Connects to URLs/IPs, Exploits known vulnerabilities

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.

It may be downloaded by the following malware/grayware from remote sites:

Installation

This Ransomware drops the following files:

  • {Encrypted Folder}\{Random}-MANUAL.txt
  • %User Temp%\bxmeoengtf.bmp

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, and 8.)

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

  • AversSucksForever

Other System Modifications

This Ransomware sets the system's desktop wallpaper to the following image:

Process Termination

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

  • wordpad.exe
  • xfssvccon.exe
  • agntsvc.exe
  • dbeng50.exe
  • dbsnmp.exe
  • encsvc.exe
  • excel.exe
  • firefoxconfig.exe
  • infopath.exe
  • isqlplussvc.exe
  • msaccess.exe
  • msftesql.exe
  • mspub.exe
  • mydesktopqos.exe
  • mydesktopservice.exe
  • mysqld.exe
  • mysqld-nt.exe
  • mysqld-opt.exe
  • ocautoupds.exe
  • ocomm.exe
  • ocssd.exe
  • onenote.exe
  • oracle.exe
  • outlook.exe
  • powerpnt.exe
  • sqbcoreservice.exe
  • sqlagent.exe
  • sqlbrowser.exe
  • sqlservr.exe
  • sqlwriter.exe
  • steam.exe
  • synctime.exe
  • tbirdconfig.exe
  • thebat.exe
  • thebat64.exe
  • thunderbird.exe
  • visio.exe
  • winword.exe

Information Theft

This Ransomware gathers the following data:

  • Username
  • Computer Name
  • Network Information
  • System Language
  • Machine Keyboard Layout
  • OS Version and Platform
  • AV Products Installed
  • Processor Information
  • IP Address
  • Drives Information (Nerwork or Local)
  • Ransom ID
  • GandCrab Internal Info:
    • id
    • sub_id
    • version
    • action

Other Details

This Ransomware connects to the following website to send and receive information:

  • http://{URL}/{string1}/{string2}/{string3}.{string4}
  • Where URL is equal to the following:
    • www.belvedere-locarno.com
    • www.hotelfarinet.com
    • www.hrk-ramoz.com
    • www.morcote-residenza.com
    • www.seitensprungzimmer24.com
    • www.arbezie-hotel.com
    • www.aubergemontblanc.com
    • www.torhotel.com
    • www.alpenlodge.com
    • www.aparthotelzurich.com
    • www.bnbdelacolline.com
    • www.elite-hotel.com
    • www.bristol-adelboden.com
    • www.nationalzermatt.com
    • www.waageglarus.com
    • www.limmathof.com
    • www.apartmenthaus.com
    • www.berginsel.com
    • www.chambre-d-hote-chez-fleury.com
    • www.hotel-blumental.com
    • www.facebook.com
    • www.la-fontaine.com
    • www.mountainhostel.com
    • www.hotelalbanareal.com
    • www.geneva.frasershospitality.com
    • www.luganohoteladmiral.com
    • www.bellevuewiesen.com
    • www.hoteltruite.com
    • www.hotelgarni-battello.com
    • www.seminarhotel.com
    • www.kroneregensberg.com
    • www.puurehuus.com
    • www.hotel-zermatt.com
    • www.stchristophesa.com
    • www.nh-hotels.com
    • www.schwendelberg.com
    • www.stalden.com
    • www.vignobledore.com
    • www.eyholz.com
    • www.flemings-hotel.com
    • www.hiexgeneva.com
    • www.petit-paradis.com
    • www.berghaus-toni.com
    • www.hotelglanis.com
    • www.16eme.com
    • www.staubbach.com
    • www.samnaunerhof.com
    • www.airporthotelbasel.com
    • www.elite-biel.com
    • www.aubergecouronne.com
    • www.le-saint-hubert.com
    • www.bonmont.com
    • www.cm-lodge.com
    • www.experimentalchalet.com
    • www.guardagolf.com
    • www.hotelchery.com
    • www.ibis.com
    • www.mercure.com
    • www.hotelolden.com
    • www.facebook.com
    • www.huusgstaad.com
    • www.hotelrotonde.com
    • www.relais-crosets.com
    • www.lerichemond.com
    • www.hotellido-lugano.com
    • www.alimentarium.org
    • www.vitatertia.org
    • www.lassalle-haus.org
    • www.dermann.org
    • www.neuhof.org
    • www.osteriadelcentro.net
    • www.cantinesurcoux.net
    • www.lacommune.net
    • www.hoteldreirosen.net
    • www.hoteldreirosen.net
    • www.hoteldreirosen.net
    • www.disch.mehrmarken.net
    • www.gemperle.net
    • www.garage-schwyn.mehrmarken.net
    • www.ueberland-garage.mehrmarken.net
    • www.calisto.net
    • www.r-coiffure.net
    • www.kreatifs.net
    • www.nett-coiffure.ch
    • www.salon-coiffure-geneve.net
    • www.farbecht.net
    • www.haaratelier.net
    • www.von-arx.net
    • www.celi-vegas-avocats.net
    • www.ihr-zimmermann.net
    • www.kakaocorp.name
  • Where string1 is equal to the following:
    • wp-content
    • statis
    • content
    • includes
    • data
    • uploads
    • news
  • Where string2 is equal to the following:
    • images
    • pictures
    • image
    • graphic
    • assets
    • pics
    • imgs
    • tmp
  • Where string3 is equal to the combination of the following:
    • im
    • de
    • ka
    • ke
    • am
    • es
    • so
    • fu
    • se
    • da
    • he
    • ru
    • me
    • mo
    • th
    • zu
  • Where string4 is equal to the following:
    • jpg
    • png
    • gif
    • bmp

It does the following:

  • Avoids encrypting files with the following extensions:
    • ani
    • bat
    • cab
    • cmd
    • cpl
    • CRAB
    • cur
    • diagcab
    • diagpkg
    • dll
    • drv
    • exe
    • gandcrab
    • hlp
    • icl
    • icns
    • ico
    • ics
    • idx
    • key
    • KRAB
    • ldf
    • lnk
    • lock
    • mod
    • mpa
    • msc
    • msp
    • msstyles
    • msu
    • nomedia
    • ocx
    • prf
    • rom
    • rtp
    • scr
    • shs
    • spl
    • sys
    • theme
    • themepack
    • zerophage_i_like_your_pictures
    • {Generated random characters appended on encrypted file names}
  • It checks for the presence of the following antivirus and security applications:
    • AVP.exe
    • ekrn.exe
    • avgnt.exe
    • ashDisp.exe
    • NortonAntiBot.exe
    • Mcshield.exe
    • avengine.exe
    • cmdangent.exe
    • smc.exe
    • persfw.exe
    • pccpfw.exe
    • fsguiexe.exe
    • cfp.exe
    • msmpeng.exe
  • It avoids encrypting files found in the following folders:
    • All Users
    • Boot
    • IETldCache
    • Local Settings
    • Program Files
    • ProgramData
    • Tor Browser
    • Windows
    • %Windows%
    • %AppDataLocal%
    • %Program Files%\Common Files
    • %Program Files%
  • This Ransomware avoids encrypting files with the following strings in their file name:
    • desktop.ini
    • autorun.inf
    • ntuser.dat
    • iconcache.db
    • bootsect.bak
    • boot.ini
    • ntuser.dat.log
    • thumbs.db
    • ntldr
    • NTDETECT.COM
    • Bootfont.bin
    • -MANUAL.txt
  • It encrypts files in all available drives and shared folders
  • delete shadow copies

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), 7 (32-bit), and 8 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), 7 (64-bit), and 8 (64-bit).)

It takes advantage of the following vulnerabilities:

Ransomware Routine

This Ransomware appends the following extension to the file name of the encrypted files:

  • .{Random}

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

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.902.07

FIRST VSAPI PATTERN DATE:

28 Mar 2019

VSAPI OPR PATTERN File:

14.903.00

VSAPI OPR PATTERN Date:

29 Mar 2019

Step 1

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

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.  
  • {Encrypted Folder}\{Random}-MANUAL.txt
  • %User Temp%\bxmeoengtf.bmp

Step 5

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

Step 7

Reset your Desktop properties

[ Learn More ]


Did this description help? Tell us how we did.