TROJ_DAGOZILL.C

 Analysis by: John Kevin Sanchez

 ALIASES:

Trojan:Win32/Godzilia.A (Microsoft), Gen:Trojan.Heur.FU.aeW@aS2UK5b (BitDefender)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet


This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size:

12,800 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

22 Sep 2016

Payload:

Connects to URLs/IPs, Downloads files

Arrival Details

This Trojan 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 Trojan drops the following copies of itself into the affected system:

  • %Application Data%/{random 15 characters}.exe
  • %Program Files%/{random 15 characters}.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.. %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.)

Autostart Technique

This Trojan drops the following file(s) in the Windows Startup folder to enable its automatic execution at every system startup:

  • %Start Menu%\Programs\Startup\{random 15 characters}.lnk

(Note: %Start Menu% is the Start Menu folder, where it usually is C:\Documents and Settings\{user name}\Start Menu on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu 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.)

Download Routine

This Trojan connects to the following website(s) to download and execute a malicious file:

  • http://{BLOCKED}get.com/api.php?g={filename without extension of dropped copy}&k={random 25 characters (verification key)}
  • http://{BLOCKED}demo.com/search.php?g={filename without extension of dropped copy}&k={random 25 characters (verification key)}
  • http://{BLOCKED}ent.com/img.php?g={filename without extension of dropped copy}&k={random 25 characters (verification key)}

It saves the files it downloads using the following names:

  • %User Temp%\{random 25 characters}.exe

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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.)

Trend Micro detects the dowloaded file as:

  • Ransom_LOCKY.DLDSAOV

Other Details

This Trojan does the following:

  • It deletes shadow copies by executing the following command:
    runas cmd.exe /c start {malware file path and file name} && vssadmin Delete Shadows /All /Quiet && exit

NOTES:

If this Trojan is unable to download the file to be executed from the websites, it attempts to connect to the URL https://twitter.com/hashtag/{BLOCKED}?f=tweets&vertical=default&src=tren to obtain a backup URL. If it obtains a backup URL, it saves the obtained URL in the Extended Attributes of %Desktop%\desktop.ini.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.794.03

FIRST VSAPI PATTERN DATE:

23 Sep 2016

VSAPI OPR PATTERN File:

12.795.00

VSAPI OPR PATTERN Date:

24 Sep 2016

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

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.  
  • %Start Menu%\Programs\Startup\{random 15 characters}.lnk

Step 5

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


Did this description help? Tell us how we did.

Related Malware