BKDR_PLUGX.ZJCG-A

 Analysis by: Sammy Chua

 ALIASES:

TrojanSpy:Win32/Banker (Microsoft); Backdoor.Trojan (Symantec); RDN/PWS-Banker!dv (McAfee); Gen:Variant.Zusy.138422 (BitDefender)

 PLATFORM:

Windows

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet

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 does not have any propagation routine.

It executes commands from a remote malicious user, effectively compromising the affected system.

  TECHNICAL DETAILS

File Size:

209,920 bytes

File Type:

DLL

Memory Resident:

Yes

Initial Samples Received Date:

21 May 2015

Payload:

Compromises system security, Connects to URLs/IPs

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

  • %Application Data%\Assemblies\Assemblies.cpl

(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.)

It drops the following component file(s):

  • %Application Data%\{random file name2} - encrypted logged keystrokes
  • %Application Data%\{random file name1} - encrypted data

(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.)

It adds the following processes:

  • svchost.exe
  • iexplore.exe

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

  • Global\{random}
  • bhSKmTYgz4Wk

It injects codes into the following process(es):

  • svchost.exe
  • iexplore.exe

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
Reference Assemblies = %Application Data%\Assemblies\Assemblies.cpl

Other System Modifications

This backdoor deletes the following files:

  • {path and filename of deleted files}.jpg ← deletes all .jpg files found

Propagation

This backdoor does not have any propagation routine.

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • Copy, move, rename, delete files
  • Create directories
  • Create files
  • Enumerate files
  • Execute files
  • Get drive information
  • Get file information
  • Open and modify files
  • Log keystrokes and active window
  • Enumerate TCP and UDP connections
  • Enumerate network resources
  • Set TCP connection state
  • Lock workstation
  • Log off user
  • Restart/Reboot/Shutdown system
  • Display a message box
  • Perform port mapping
  • Enumerate processes
  • Get process information
  • Terminate processes
  • Enumerate registry keys
  • Create registry keys
  • Delete registry keys
  • Copy registry keys
  • Enumerate registry entries
  • Modify registry entries
  • Delete registry values
  • Screen capture
  • Delete services
  • Enumerate services
  • Get service information
  • Modify services
  • Start services
  • Perform remote shell
  • Host Telnet server
  • Connect to a database server and execute SQL statement

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://{BLOCKED}a.hostport9.net/{random hex values}
  • http://{BLOCKED}a.hostport9.net:443/{random hex values}
  • http://{BLOCKED}a.hostport9.net:53/{random hex values}

As of this writing, the said sites are inaccessible.

  SOLUTION

Minimum Scan Engine:

9.750

FIRST VSAPI PATTERN FILE:

11.782.07

FIRST VSAPI PATTERN DATE:

11 Jul 2015

VSAPI OPR PATTERN File:

11.783.00

VSAPI OPR PATTERN Date:

11 Jul 2015

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

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
    • Reference Assemblies = %Application Data%\Assemblies\Assemblies.cpl

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.
  • %Application Data%\{random file name1}
  • %Application Data%\{random file name2}

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_PLUGX.ZJCG-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 this Knowledge Base page for more information.

Step 7

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • {path and filename of deleted files}.jpg

Step 8

Scan your computer with your Trend Micro product to delete files detected as BKDR_PLUGX.ZJCG-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 this Knowledge Base page for more information.


Did this description help? Tell us how we did.