Analysis by: Rhena Inocencio

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

  • 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 connects to a website to send and receive information.

It is used to load and execute a file.

  TECHNICAL DETAILS

File Size: Varies
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 19 Jun 2014
Payload: Compromises system security, Connects to URLs/IPs, Steals information

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.

Backdoor Routine

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

  • Perform remote shell
  • Launch DDoS (distributed denial of service) attack using any of the following flood methods:
    • UPD flood
    • TCP flood
    • SYN flood
    • ICMP flood
  • Update copy of itself
  • Download arbitrary files

It connects to the following websites to send and receive information:

  • {BLOCKED}.{BLOCKED}.41.219

Information Theft

This backdoor gathers the following data:

  • OS version
  • Processor information
  • Processor performance (\Processor({number})\% Processor Time)
  • Network Interface performance (Network Interface({name})\Bytes Total/sec)
  • List of Devices

Other Details

This backdoor is used to load and execute the following file:

  • %System%\libamplify.dll

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

NOTES:

It will read the following files:

  • {malware path}\conf.n
  • {malware path}\cmd.n

It queries the following registry key to get the processor information:

  • HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\{number}\~MHz

It will not perform its intended routine if the following strings are present in Network Interface:

  • Loopback
  • Virtual
  • MAC

It checks if the following files are present:

  • {Directory}\agony.exe
  • {Directory}\DNSSupport.exe
  • {Directory}\DNSProtection.exe
  • {Directory}\agony.sys
  • {Directory}\agony.exe
  • {Directory}\conf.n
  • {Directory}\cmd.n
  • {Directory}\svch0st.exe

where {Directory} can be any of the following:

  • %Program Files%\Windows Media Player
  • {malware path}

If the files are found, it will execute the following as hidden processes:

  • {Directory}\agony.exe -tcp 45000
  • {Directory}\agony.exe -tcp 45100
  • {Directory}\agony.exe -s DNSSupport
  • {Directory}\agony.exe -p DNSSupport.exe
  • {Directory}\agony.exe -p DNSProtection.exe
  • {Directory}\agony.exe -f DNSSupport.exe
  • {Directory}\agony.exe -f DNSProtection.exe
  • {Directory}\agony.exe -f agony.sys
  • {Directory}\agony.exe -f agony.exe
  • {Directory}\agony.exe -f conf.n
  • {Directory}\agony.exe -f cmd.n
  • {Directory}\agony.exe -f svch0st.exe

  SOLUTION

Minimum Scan Engine: 9.700

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

Identify and terminate files detected as BKDR_GATES.Q

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

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.  
  • {malware path}\conf.n
  • {malware path}\cmd.n
  • {Directory}\agony.exe
  • {Directory}\DNSSupport.exe
  • {Directory}\DNSProtection.exe
  • {Directory}\agony.sys
  • {Directory}\agony.exe
  • {Directory}\conf.n
  • {Directory}\cmd.n
  • {Directory}\svch0st.exe

Step 4

Scan your computer with your Trend Micro product to delete files detected as BKDR_GATES.Q. 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.