Analysis by: Mark Joseph Manahan

ALIASES:

Trojan:Win32/Gyplit.A (Microsoft), Win32/Agent.THP trojan (Eset), Backdoor.AFCore.Dropper.1.Gen (BitDefender), Trojan.Win32.Gyplit (Ikarus), TR/Dropper.Gen (Antivir)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • 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 may be dropped by other malware.

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

  TECHNICAL DETAILS

File Size: 38,912 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 13 Nov 2012
Payload: Connects to URLs/IPs, Compromises system security

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.

It may be dropped by the following malware:

  • TROJ_ARTIEF.MA

Installation

This backdoor drops the following files:

  • %Cookies%\wineck.dat - Configuration File
  • %Application Data%\Microsoft\Media Player\SOUND735.WAV - Encrypted Code
  • %User Profile%\a.hiv
  • %User Profile%\b.hiv

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

It drops and executes the following files:

  • %User Profile%\Application Data\Microsoft\Messenger\Plugin\msgslang.exe - also detected BKDR_KIRPICH.A (decrypter & injector)

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

It adds the following processes:

  • iexplore.exe (injected with decrypted code)

It creates the following folders:

  • %User Profile%\Application Data\Microsoft\Messenger\Plugin
  • %User Profile%\Application Data\Microsoft\Messenger

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

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

  • 53ACCFO2G

Other System Modifications

This backdoor adds the following registry keys:

HKEY_CURRENT_USER\Software\printer

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
load = "%User Profile%\Application Data\Microsoft\Messenger\Plugin\msgslang.exe"

Backdoor Routine

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

  • Download arbitrary files and execute it
  • Get OS Version Information

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

  • {BLOCKED}m.{BLOCKED}nline.us:80

As of this writing, the said servers are currently inaccessible.

NOTES:

It retrieves the timestamp of %System%\svchost.exe and modifies the timestamp of %Cookies%\wineck.dat.

  SOLUTION

Minimum Scan Engine: 9.300
FIRST VSAPI PATTERN FILE: 9.524.03
FIRST VSAPI PATTERN DATE: 13 Nov 2012
VSAPI OPR PATTERN File: 9.525.00

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Remove the malware/grayware file that dropped/downloaded BKDR_KIRPICH.A

    TROJ_ARTIEF.MA

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 NT\CurrentVersion\Windows
    • load = "%User Profile%\Application Data\Microsoft\Messenger\Plugin\msgslang.exe"

Step 5

Search and delete this file

[ Learn More ]
There may be some component 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.
  • %Cookies%\wineck.dat
  • %Application Data%\Microsoft\Media Player\SOUND735.WAV
  • %User Profile%\a.hiv
  • %User Profile%\b.hiv

Step 6

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