BKDR_PLUGX.SFI

 Analysis by: RonJay Kristoffer Caragay

 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:

Downloaded from the Internet, Dropped by other malware


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 executes commands from a remote malicious user, effectively compromising the affected system.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

57,344 bytes

File Type:

DLL

Memory Resident:

Yes

Initial Samples Received Date:

30 Jul 2015

Payload:

Connects to URLs/IPs, Drops files

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 adds the following processes:

  • %System%\svchost

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It injects itself into the following processes running in the affected system's memory:

  • svchost.exe

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

  • ioHBGfDyHJIKSJOO
  • Global\{random}

Autostart Technique

This backdoor registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\emproxy
Start = "2"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\emproxy
ImagePath = "{malware path}\MpCmdRun.exe" ← non-malicious component used to load itself

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\emproxy
DisplayName = "emproxy"

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
emproxy = "{malware path}\MpCmdRun.exe" ← non-malicious component used to load itself

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\emproxy

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://www.{BLOCKED}cbox.{BLOCKED}up.org/{random values}
  • http://www.{BLOCKED}cbox.{BLOCKED}up.org:53/{random values}
  • http://www.{BLOCKED}cbox.{BLOCKED}up.org:443/{random values}

Dropping Routine

This backdoor drops the following files:

  • %System Root%\{random file name} → encrypted data

(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.)

Other Details

This backdoor requires the following additional components to properly run:

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine:

9.750

FIRST VSAPI PATTERN FILE:

11.822.05

FIRST VSAPI PATTERN DATE:

30 Jul 2015

VSAPI OPR PATTERN File:

11.823.00

VSAPI OPR PATTERN Date:

31 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

Remove the malware/grayware file dropped/downloaded by BKDR_PLUGX.SFI. (Note: Please skip this step if the threat(s) listed below have already been removed.)

     
    • TROJ_PLUGX.SFI

Step 4

Restart in Safe Mode

[ Learn More ]

Step 5

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
    • emproxy = "{malware path}\MpCmdRun.exe"

Step 6

Delete this registry key

[ 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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • emproxy

Step 7

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.
  • %System Root%\{random file name}

Step 8

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