RANSOM.WIN32.GANDCRAB.QGS.ASF
Windows
Threat Type: Ransomware
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
Downloaded from the Internet, Dropped by other malware
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 connects to certain websites to send and receive information. It takes advantage of certain vulnerabilities. It deletes itself after execution.
It drops files as ransom note.
TECHNICAL DETAILS
281,600 bytes
EXE
No
17 Jan 2019
Connects to URLs/IPs, Displays message/message boxes, Terminates processes, Steals information
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:
- %User Temp%\pidor.bmp
- {Encrypted Folder}\{Random}-DECRYPT.txt
(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(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It adds the following mutexes to ensure that only one of its copies runs at any one time:
- Global\{Hex Values}.lock
Other System Modifications
This Ransomware adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\ex_data\
data
ext = {Hex Values}
HKEY_LOCAL_MACHINE\SOFTWARE\keys_data\
data
public = {KEY}
HKEY_LOCAL_MACHINE\SOFTWARE\keys_data\
data
private = {KEY}
It changes the desktop wallpaper by modifying the following registry entries:
HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = "%User Temp%\pidor.bmp"
It 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:
- msftesql.exe
- sqlagent.exe
- sqlbrowser.exe
- sqlwriter.exe
- oracle.exe
- ocssd.exe
- dbsnmp.exe
- synctime.exe
- agntsvc.exe
- isqlplussvc.exe
- xfssvccon.exe
- sqlservr.exe
- mydesktopservice.exe
- ocautoupds.exe
- agntsvc.exe
- agntsvc.exe
- agntsvc.exe
- encsvc.exe
- firefoxconfig.exe
- tbirdconfig.exe
- mydesktopqos.exe
- ocomm.exe
- mysqld.exe
- mysqld-nt.exe
- mysqld-opt.exe
- dbeng50.exe
- sqbcoreservice.exe
- excel.exe
- infopath.exe
- msaccess.exe
- mspub.exe
- onenote.exe
- outlook.exe
- powerpnt.exe
- steam.exe
- thebat.exe
- thebat64.exe
- thunderbird.exe
- visio.exe
- winword.exe
- wordpad.exe
- sqlservr.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.{BLOCKED}rsport.biz
- www.{BLOCKED}nau.biz
- www.{BLOCKED}iinfissi.com
- www.{BLOCKED}ck.biz
- www.{BLOCKED}ay.biz
- www.{BLOCKED}m.com
- www.{BLOCKED}ellness.com
- www.{BLOCKED}eisshorn.com
- www.{BLOCKED}od.com
- www.{BLOCKED}ckhoteldavos.com
- www.{BLOCKED}ere-locarno.com
- www.{BLOCKED}arinet.com
- www.{BLOCKED}moz.com
- www.{BLOCKED}e-residenza.com
- www.{BLOCKED}sprungzimmer24.com
- www.{BLOCKED}e-hotel.com
- www.{BLOCKED}emontblanc.com
- www.{BLOCKED}el.com
- www.{BLOCKED}odge.com
- www.{BLOCKED}otelzurich.com
- www.{BLOCKED}acolline.com
- www.{BLOCKED}hotel.com
- www.{BLOCKED}l-adelboden.com
- www.{BLOCKED}alzermatt.com
- www.{BLOCKED}larus.com
- www.{BLOCKED}hof.com
- www.{BLOCKED}enthaus.com
- www.{BLOCKED}sel.com
- www.{BLOCKED}e-d-hote-chez-fleury.com
- www.{BLOCKED}blumental.com
- www.{BLOCKED}ok.com
- www.{BLOCKED}taine.com
- www.{BLOCKED}inhostel.com
- www.{BLOCKED}lbanareal.com
- www.{BLOCKED}a.{BLOCKED}shospitality.com
- www.{BLOCKED}oteladmiral.com
- www.{BLOCKED}ewiesen.com
- www.{BLOCKED}uite.com
- www.{BLOCKED}rni-battello.com
- www.{BLOCKED}hotel.com
- www.{BLOCKED}gensberg.com
- www.{BLOCKED}us.com
- www.{BLOCKED}ermatt.com
- www.{BLOCKED}tophesa.com
- www.{BLOCKED}ls.com
- www.{BLOCKED}elberg.com
- www.{BLOCKED}n.com
- www.{BLOCKED}ledore.com
- www.{BLOCKED}z.com
- www.{BLOCKED}gs-hotel.com
- www.{BLOCKED}neva.com
- www.{BLOCKED}paradis.com
- www.{BLOCKED}us-toni.com
- www.{BLOCKED}lanis.com
- www.{BLOCKED}e.com
- www.{BLOCKED}ach.com
- www.{BLOCKED}nerhof.com
- www.{BLOCKED}thotelbasel.com
- www.{BLOCKED}biel.com
- www.{BLOCKED}ecouronne.com
- www.{BLOCKED}nt-hubert.com
- www.{BLOCKED}t.com
- www.{BLOCKED}ge.com
- www.{BLOCKED}mentalchalet.com
- www.{BLOCKED}golf.com
- www.{BLOCKED}hery.com
- www.{BLOCKED}s.com
- www.{BLOCKED}e.com
- www.{BLOCKED}lden.com
- www.{BLOCKED}ok.com
- www.{BLOCKED}taad.com
- www.{BLOCKED}otonde.com
- www.{BLOCKED}-crosets.com
- www.{BLOCKED}emond.com
- www.{BLOCKED}ido-lugano.com
- www.{BLOCKED}tarium.org
- www.{BLOCKED}rtia.org
- www.{BLOCKED}le-haus.org
- www.{BLOCKED}n.org
- www.{BLOCKED}f.org
- www.{BLOCKED}adelcentro.net
- www.{BLOCKED}esurcoux.net
- www.{BLOCKED}une.net
- www.{BLOCKED}reirosen.net
- www.{BLOCKED}reirosen.net
- www.{BLOCKED}reirosen.net
- www.{BLOCKED}h.{BLOCKED}rken.net
- www.{BLOCKED}le.net
- www.{BLOCKED}-schwyn.{BLOCKED}rken.net
- www.{BLOCKED}and-garage.{BLOCKED}rken.net
- www.{BLOCKED}o.net
- www.{BLOCKED}fure.net
- www.{BLOCKED}fs.net
- www.{BLOCKED}oiffure.ch
- www.{BLOCKED}coiffure-geneve.net
- www.{BLOCKED}ht.net
- www.{BLOCKED}elier.net
- www.{BLOCKED}x.net
- www.{BLOCKED}egas-avocats.net
- www.{BLOCKED}mmermann.net
- Where string1 is equal to the following:
- wp-content
- static
- 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
- .cab
- .cpl
- .cur
- .diagcab
- .diagpkg
- .dll
- .drv
- .lock
- .hlp
- .ldf
- .icl
- .icns
- .ico
- .ics
- .lnk
- .key
- .idx
- .mod
- .mpa
- .msc
- .msp
- .msstyles
- .msu
- .nomedia
- .ocx
- .prf
- .rom
- .rtp
- .scr
- .shs
- .spl
- .sys
- .theme
- .themepack
- .exe
- .bat
- .cmd
- .gandcrab
- .KRAB
- .CRAB
- .zerophage_i_like_your_pictures
- delete shadow copies
- 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
- cmdagent.exe
- smc.exe
- persfw.exe
- pccpfw.exe
- fsguiexe.exe
- cfp.exe
- msmpeng.exe
It takes advantage of the following vulnerabilities:
- CVE-2018-8120 | Win32k Elevation of Privilege Vulnerability
- CVE-2018-8440 | Windows ALPC Elevation of Privilege Vulnerability
It deletes itself after execution.
Ransomware Routine
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
- KRAB-DECRYPT.html
- KRAB-DECRYPT.txt
- CRAB-DECRYPT.txt
- ntldr
- NTDETECT.COM
- Bootfont.bin
It avoids encrypting files found in the following folders:
- ProgramData
- IETldCache
- Boot
- Program Files
- Tor Browser
- All Users
- Local Settings
- Windows
- %Windows%
- %AppDataLocal%
- %Program Files%\Common Files
- %Program Files%
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %AppDataLocal% is the Local Application Data folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000(32-bit), Server 2003(32-bit), XP, Vista(64-bit), 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit) , or C:\Program Files (x86) in Windows XP(64-bit), Vista(64-bit), 7(64-bit), 8(64-bit), 8.1(64-bit), 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It appends the following extension to the file name of the encrypted files:
- .{Random}
It drops the following file(s) as ransom note:
SOLUTION
9.850
14.754.07
16 Jan 2019
14.755.00
17 Jan 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
Step 4
Delete this registry value
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_LOCAL_MACHINE\SOFTWARE\ex_data\data
- ext = {Hex Values}
- ext = {Hex Values}
- In HKEY_LOCAL_MACHINE\SOFTWARE\keys_data\data
- public = {KEY}
- public = {KEY}
- In HKEY_LOCAL_MACHINE\SOFTWARE\keys_data\data
- private = {KEY}
- private = {KEY}
Step 5
Search and delete these files
- %User Temp%\pidor.bmp
- {Encrypted Folder}\{Random}-DECRYPT.txt
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as RANSOM.WIN32.GANDCRAB.QGS.ASF. 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
Scan your computer with your Trend Micro product to delete files detected as RANSOM.WIN32.GANDCRAB.QGS.ASF. 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 8
Restore encrypted files from backup.
Step 9
Reset your Desktop properties
Did this description help? Tell us how we did.