TROJ_PAKES.NP

Malware type: Trojan

Aliases: Trojan.Win32.Pakes.q (Kaspersky), Spam-Mailbot (McAfee), Hacktool.Spammer (Symantec), TR/Pakes.Q.1 (Avira), Troj/Mailbot-CD (Sophos),

In the wild: Yes

Destructive: No

Language: English

Platform: Windows 98, ME, NT, 2000, XP, Server 2003

Encrypted: No

Overall risk rating:

Reported infections:

Damage potential:

Medium

Distribution potential:

Low

Description: 

A Trojan horse program is a malware that is not capable of automatically spreading to other systems. Trojans are usually downloaded from the Internet and installed by unsuspecting users.

Trojans typically carry payloads or other malicious actions that can range from the mildly annoying to the irreparably destructive. They may also modify system settings to automatically start. Restoring affected systems may require procedures other than scanning with an antivirus program.

For additional information about this threat, see:

Description created: Dec. 6, 2008 10:01:14 PM GMT -0800


TECHNICAL DETAILS


File type: PE

Memory resident:  Yes

Size of malware: 23,552 Bytes

Initial samples received on: May 22, 2007

Related toTROJ_DLOAD.LF

Payload 1: Downloads files

Details:

Installation

This Trojan drops the following possibly malicious files:

  • %System%\wpv611228474072.cpx
  • %Windows%\wiaservb.log

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

Other System Modifications

This Trojan creates the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop
host = "{BLOCKED}.201.27"
id = "68335848244"

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Security
host = "92.48.201.27"

HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Run
Firewall auto setup = "%User Temp%\winlogon.exe"

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Run
lsass driver = "%Windows%\msauc.exe"
PromoReg = "%System%\wpv611228474072.cpx"

It modifies the following registry entry as part of its installation routine:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
SecurityProviders
SecurityProviders = "msapsspc.dll, schannel.dll, digest.dll, msnsspc.dll, msansspc.dll"

(Note: The default value data for the said registry entry is msapsspc.dll, schannel.dll, digest.dll, msnsspc.dll.)

Download Routine

This Trojan connects to the following sites to download malicious files:

  • http://{BLOCKED}.116.2/all/controller.php?action=bot&entity_list=&uid=3&first=1&guid=0&rnd=982735
  • http://{BLOCKED}.116.2/all/controller.php?action=report&guid=0&rnd=982735&uid=3&entity=1226754427:unique_start;
    1226754542:unique_start;1226754776:unique_start;1226756506:unique_start;
    1228474072:unique_start
  • http://{BLOCKED}.29.112/polls/get.php?key=BD20C6CC1F1D&ver=080105

These are saved as the following files, which are detected as BKDR_AGENT.CGZZ:

  • %System%\wpv641226754776.cpx
  • %User Profile%\Local Settings\Temp\winlogon.exe
  • %Windows%\msauc.exe

(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 then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

Dropping Routine

This Trojan drops a component file as:

Analysis By: Cris Pantanilla


SOLUTION


Minimum scan engine version needed: 8.500

Pattern file needed: 4.483.00

Pattern release date: May 22, 2007


Important note: The "Minimum scan engine" refers to the earliest Trend Micro scan engine version guaranteed to detect this threat. However, Trend Micro strongly recommends that you update to the latest version in order to get comprehensive protection. Download the latest scan engine here.

Solution:

Note: To fully remove all associated malware, perform the clean solution for TROJ_DLOAD.LF.

Important Windows ME/XP Cleaning Instructions

Users running Windows ME and XP must disable System Restore to allow full scanning of infected computers.

Users running other Windows versions can proceed with the succeeding solution set(s).

Restarting in Safe Mode

This malware has characteristics that require the computer to be restarted in safe mode. Go to this page for instructions on how to restart your computer in safe mode.

Removing Malware Entries from the Registry

This solution deletes/modifies registry keys/entries added/modified by this malware. Before performing the steps below, make sure you know how to back up the registry and how to restore it if a problem occurs. Refer to this Microsoft article for more information about modifying your computer's registry.

  1. Open Registry Editor. Click Start>Run, type REGEDIT, then press Enter.
  2. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>Internet Explorer>Desktop
  3. In the right panel, locate and delete the entry:
    • host = "92.48.201.27"
    • id = "68335848244"
  4. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>Internet Explorer>Security
  5. In the right panel, locate and delete the entry:
    host = "92.48.201.27"
  6. In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>Windows>
    CurrentVersion>Run
  7. In the right panel, locate and delete the entry:
    Firewall auto setup = "%User Temp%\winlogon.exe"
    (Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)
  8. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows>
    CurrentVersion>Run
  9. In the right panel, locate and delete the entry:
    • lsass driver = "%Windows%\msauc.exe"
    • PromoReg = "%System%\wpv611228474072.cpx"
    (Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)
  10. Close Registry Editor.

Restoring Registry Entries

  1. Open Registry Editor. Click Start>Run, type REGEDIT, then press Enter.
  2. In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control>SecurityProviders
  3. In the right panel, locate the entry:
    SecurityProviders = "msapsspc.dll, schannel.dll, digest.dll, msnsspc.dll, msansspc.dll"
  4. Right-click on the value name and choose Modify. Change the value data of this entry to:
    "msapsspc.dll, schannel.dll, digest.dll, msnsspc.dll"
  5. Close Registry Editor.

Deleting the Malware File(s)

  1. Right-click Start then click Search... or Find..., depending on the version of Windows you are running.
  2. In the Named input box, type:
    %System%\wpv611228474072.cpx
  3. In the Look In drop-down list, select the drive that contains Windows, then press Enter.
  4. Once located, select the file then press SHIFT%20DELETE.
  5. Repeat steps 2-4 for the following file:
    %Windows%\wiaservb.log

Running Trend Micro Antivirus

If you are currently running in safe mode, please restart your computer normally before performing the following solution.

Scan your computer with Trend Micro antivirus and delete files detected as TROJ_PAKES.NP and BKDR_AGENT.CGZZ. To do this, Trend Micro customers must download the latest virus pattern file and scan their computer. Other Internet users can use HouseCall, the Trend Micro online virus scanner.




Trend Micro offers best-of-breed antivirus and content-security solutions for your corporate network, small and medium business, mobile device or home PC.