Analysis by: Sabrina Lei Sioting

ALIASES:

Backdoor:Win32/Wkysol.B, Backdoor:Win32/Wkysol.C (Microsoft); Backdoor.Win32.Sykipot.bg, Backdoor.Win32.Sykipot.bv (Kaspersky); Backdoor.Sykipot (Symantec); BDS/Sykipot.bg (Antivir); W32/Sykipot.BG!tr.bdr (Fortinet); Backdoor.Win32.Wkysol (Ikarus); Trojan W32/Sykipot_gen!apt.A (Norman);

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

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

  TECHNICAL DETAILS

File Size: 40,960 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 07 Dec 2011
Payload: Connects to URLs/IPs, Drops files, 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_PIDIEF.EGG

Installation

This backdoor drops the following files:

  • %User Profile%\Local Settings\gtpretty.tmp - contains commands from the C&C server
  • %User Profile%\Local Settings\gdtpretty.tmp - contains the decrypted commands from the C&C server
  • %User Profile%\Local Settings\ptpretty.tmp - log file
  • %User Profile%\Local Settings\pdtpretty.tmp - encrypted log file

(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 drops the following component file(s):

  • %User Profile%\Local Settings\WSE4EF1.TMP - also detected as BKDR_SYKIPOT.SM

(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 drops the following copies of itself into the affected system:

  • %User Profile%\Local Settings\pretty.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.)

Its DLL component is injected to the following process(es):

  • outlook.exe
  • iexplore.exe
  • firefox.exe

It terminates the execution of the copy it initially executed and executes the copy it drops instead.

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
office = "%User Profile%\Local Settings\pretty.exe"

NOTES:
The file pdtpretty.tmp contains the following information:

  • process injected
  • adapter information (from ipconfig /all)
  • started windows services
  • active network connections
  • running processes
  • the result of the command, dir c:\*.url /s
  • system information (OS, processor, bios version, time zone, memory, etc)
  • contents of boot.ini

It then encrypts this file and saves it as ptpretty.tmp. This is later on sent to the server upon initial connection:

  • https://www.{BLOCKED}likeher.com/asp/kys_allow_get.asp?name=getkys.kys&hostname={computer name}-{ip address}-pretty20111122

It uses http://www.yahoo.com/ as its referrer.

If the connection is successful, it may perform the following routines depending on the server's reply:

  • cmd: remote command-prompt commands
  • door: execute subcommands:
    • run executes a command using WinExec
    • reboot restarts the computer
    • kill terminates a process
    • process list all processes
    • shell do nothing
  • time: indicate next connection time
  • getfile: downloads files
  • putfile: upload files

  SOLUTION

Minimum Scan Engine: 9.200

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_SYKIPOT.SM

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\CurrentVersion\Run
    • office = %User Profile%\Local Settings\pretty.exe

Step 5

Search and delete these files

[ 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.
  • %User Profile%\Local Settings\gtpretty.tmp
  • %User Profile%\Local Settings\gdtpretty.tmp
  • %User Profile%\Local Settings\ptpretty.tmp
  • %User Profile%\Local Settings\pdtpretty.tmp

Step 6

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

Related Malware