TSPY_SPYEYE.ABD

 Analysis by: Karl Dominguez

 ALIASES:

Trojan:Win32/EyeStye.N (Microsoft); Trojan.Zbot (Symantec); Trojan-Spy.Win32.SpyEyes.jze (Kaspersky);

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

This spyware injects a remote thread to certain running processes. It hooks the certain APIs to hide itself and steal information from users. It retrieves certain information from the affected system. It then gathers certain information about itself. As of this writing, the malware configuration file does not contain any sites that will be monitored.

This spyware arrives as an attachment to email messages spammed by other malware/grayware or malicious users. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It also has rootkit capabilities, which enables it to hide its processes and files from the user.

It modifies the Internet Explorer Zone Settings.

  TECHNICAL DETAILS

File Size:

207,872 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

15 Jul 2011

Payload:

Drops files, Compromises system security, Connects to URLs/IPs

Arrival Details

This spyware arrives as an attachment to email messages spammed by other malware/grayware or malicious users.

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

  • %System Root%\Recycle.Bin\19C834F9D35090D - encrypted configuration file

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It drops the following copies of itself into the affected system:

  • %System Root%\Recycle.Bin\B6232F3AEAD.exe

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It creates the following folders:

  • %System Root%\Recycle.Bin

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

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

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
4Y3Y0C3AWF7W0HWDDDIUT = "%System Root%\Recycle.Bin\B6232F3AEAD.exe /q"

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft Windows

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft Windows
{random value} = "{hex values}"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\PhishingFilter
EnabledV8 = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\PhishingFilter
ShownServiceDownBalloon = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Recovery
ClearBrowsingHistoryOnExit = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
WarnOnPostRedirect = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
WarnOnIntranet = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
GlobalUserOffline = "0"

Backdoor Routine

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

  • {BLOCKED}m.ru:8080

Rootkit Capabilities

This spyware also has rootkit capabilities, which enables it to hide its processes and files from the user.

Web Browser Home Page and Search Page Modification

This spyware modifies the Internet Explorer Zone Settings.

Stolen Information

This spyware sends the gathered information via HTTP POST to the following URL:

  • http://{BLOCKED}ne.ru/rss.php:90
  • http://{BLOCKED}ms.ru/wap2.php:90

Other Details

This spyware connects to the following URL(s) to check for an Internet connection:

  • http://www.microsoft.com/

NOTES:
Injects a remote thread to all running processes except the following:

  • System
  • smss.exe
  • csrss.exe
  • services.exe
  • B6232F3AEAD.exe
Hooks the following APIs to hide itself and steal information from users:
  • CryptEncrypt
  • PFXImportCertStore
  • FlushInstructionCache
  • NetpwPathCanonicalize
  • NtEnumerateValueKey
  • NtQueryDirectoryFile
  • NtResumeThread
  • NtVdmControl
  • TranslateMessage
  • HttpAddRequestHeadersA
  • HttpOpenRequestA
  • HttpQueryInfoA
  • HttpSendRequestA
  • HttpSendRequestW
  • InternetCloseHandle
  • InternetQueryDataAvailable
  • InternetQueryOptionA
  • InternetReadFile
  • InternetReadFileExA
  • InternetWriteFile
  • send
It retrieves the following information from the affected system:
  • Operating system information
  • Internet Explorer version
  • Account type
  • Volume information
  • Language ID
  • Tick time
  • Timezone
  • Local time
  • Hooked functions

It gathers the following information about itself:

  • Status (online/offline)
  • Bot version
  • Bot GUID
  • Bot hash
  • Plug-in
  • Function data
  • Process name
It does the following:
  • Update configuration file
  • Update itself
  • Modify Internet Setting Zones
  • Modify Mozilla Firefox preference file
  • Log keystrokes
  • Fill form data
  • Steal FTP and POP3 user names and passwords
  • Capture entered information in web forms

As of this writing, the malware configuration file does not contain any sites that will be monitored.

  SOLUTION

Minimum Scan Engine:

8.900

FIRST VSAPI PATTERN FILE:

8.288.19

FIRST VSAPI PATTERN DATE:

15 Jul 2011

VSAPI OPR PATTERN File:

8.329.00

VSAPI OPR PATTERN Date:

03 Aug 2011

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

Restart in Safe Mode

[ Learn More ]

Step 3

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.

 
  • In HKEY_CURRENT_USER\Software\
    • Microsoft Windows

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
    • 4Y3Y0C3AWF7W0HWDDDIUT = "%System Root%\Recycle.Bin\B6232F3AEAD.exe /q"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PhishingFilter
    • EnabledV8 = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PhishingFilter
    • ShownServiceDownBalloon = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Recovery
    • ClearBrowsingHistoryOnExit = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • ProxyHttp1.1 = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • WarnOnPostRedirect = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • WarnOnIntranet = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    • GlobalUserOffline = "0"

Step 5

Search and delete this folder

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %System Root%\Recycle.Bin

Step 6

Reset Internet security settings

[ Learn More ]

Step 7

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