BKDR_GATAKA.JEM


 ALIASES:

Trojan:Win32/Gataka.D (Microsoft); PWS-Zbot.gen.ary (McAfee); Trojan.Tatanarg.B (Symantec); Trojan-Ransom.Win32.PornoAsset.bker (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan horse Crypt.BBWA (AVG)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

304,128 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

16 May 2013

Arrival Details

This backdoor 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 backdoor creates the following folders:

  • %User Profile%\Application Data\TeamViewer
  • %User Profile%\TeamViewer\{9BCBF1B5-5B2C-4786-9E7B-D4EF42CBDA9E}
  • %User Profile%\Application Data\ICQ
  • %User Profile%\ICQ\{2E107637-AA7F-40D9-A370-E903065BC8EB}

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

Autostart Technique

This backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Upgrade = "%User Profile%\{2E107637-AA7F-40D9-A370-E903065BC8EB}\Upgrade.exe"

Other System Modifications

This backdoor adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartCurrId = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartCurrMask = "3e"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartMainId = "3"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartMainMask = "7e"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
StartPage
CustomBarMenu = "{random values}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
PersistFile = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
PersistFolder = "9"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartMenuMask = "185e"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
StartProcIrq = "1"

Dropping Routine

This backdoor drops the following files:

  • %User Profile%\{9BCBF1B5-5B2C-4786-9E7B-D4EF42CBDA9E}\96D7AE76CB0D48C7BF4B6A54EF26AFE5.dat
  • %User Profile%\{2E107637-AA7F-40D9-A370-E903065BC8EB}\Upgrade.exe

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

Other Details

This backdoor deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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

Restart in Safe Mode

[ Learn More ]

Step 3

Delete this registry value

[ Learn More ]

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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • Upgrade = "%User Profile%\{2E107637-AA7F-40D9-A370-E903065BC8EB}\Upgrade.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartCurrId = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartCurrMask = "3e"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartMainId = "3"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartMainMask = "7e"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage
    • CustomBarMenu = "{random values}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • PersistFile = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • PersistFolder = "9"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartMenuMask = "185e"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • StartProcIrq = "1"

Step 4

Search and delete these components

[ Learn More ]
There may be some components 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.
  • %User Profile%\{9BCBF1B5-5B2C-4786-9E7B-D4EF42CBDA9E}\96D7AE76CB0D48C7BF4B6A54EF26AFE5.dat
  • %User Profile%\{2E107637-AA7F-40D9-A370-E903065BC8EB}\Upgrade.exe

Step 5

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %User Profile%\Application Data\TeamViewer
  • %User Profile%\TeamViewer\{9BCBF1B5-5B2C-4786-9E7B-D4EF42CBDA9E}
  • %User Profile%\Application Data\ICQ
  • %User Profile%\ICQ\{2E107637-AA7F-40D9-A370-E903065BC8EB}

Step 6

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