BKDR_PLUGX.UJ

 Analysis by: RonJay Kristoffer Caragay

 ALIASES:

a variant of Win32/Korplug.GC trojan (ESET-NOD32)

 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 as attachment to mass-mailed email messages. It 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:

567,808 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

23 Jul 2015

Payload:

Compromises system security, Connects to URLs/IPs

Arrival Details

This backdoor arrives as attachment to mass-mailed email messages.

It 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 component file(s):

  • %Application Data%\{random file name 1}
  • %Application Data%\{random file name 2}

(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:

  • aUquyN5m1yTzfIdUP

It injects codes into the following process(es):

  • svchost.exe
  • iexplore.exe

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://mailj.{BLOCKED}rt9.net/{random values}
  • http://mailj.{BLOCKED}rt9.net:53/{random values}

  SOLUTION

Minimum Scan Engine:

9.750

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.
  • %Application Data%\{random file name 1}
  • %Application Data%\{random file name 2}

Step 5

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 6

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