Skip to content

Export page to PDF
TSPY_POSLOGR.B
Malware type: Spyware
Destructive: No
Platform: Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)
Encrypted: Yes
In the wild: Yes

Overview


Infection Channel: Downloaded from the Internet, Dropped by other malware

This malware is involved in the Backoff PoS malware attack discovered in August 2014. It has the ability to steal financial information from the devices it infects. Users who may be affected by this malware may find their financial accounts suddenly being drained of cash.

To get a one-glance comprehensive view of the behavior of this Spyware, refer to the Threat Diagram shown below.

This spyware 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.

Technical Details


File size: 90,112 bytes
File type: EXE
Memory resident: Yes
Initial samples received date: 31 Jul 2014
Payload: Compromises system security, Drops files, Steals information, Connects to URLs/IPs

Arrival Details

This spyware 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 copies of itself into the affected system:

  • %Application Data%\AdobeFlashPlayer\mswinsvc.exe
  • %Application Data%\winserv.exe - deleted afterwards

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

It creates the following folders:

  • %Application Data%\AdobeFlashPlayer

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

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

  • uhYtntr56uisGst
  • uyhnJmkuTgD

It stays memory-resident by creating remote threads:

  • explorer.exe

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
Windows NT Service = "%Application Data%\AdobeFlashPlayer\mswinsvc.exe"

Other System Modifications

This spyware adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion
identifier = "{random characters as ID}" such as "YEKfpuv"

Backdoor Routine

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

  • Download updated copy
  • Terminate itself
  • Uninstall itself
  • Download and execute arbitrary files

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

  • http://{BLOCKED}12827312.com/aircanada/dark.php

Information Theft

This spyware gathers the following data:

  • username
  • computer name
  • malware version name (e.g. goo)
  • malware built version

Other Details

This spyware drops the following file(s)/component(s):

  • %Application Data%\mskrnl - encrypted copy of the malware

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

NOTES:

This Trojan performs memory scraping on the following processes:

  • alg.exe
  • chrome.exe
  • csrss.exe
  • devenv.exe
  • explorer.exe
  • firefox.exe
  • iexplore.exe
  • LogonUI.exe
  • lsass.exe
  • mysqld.exe
  • services.exe
  • smss.exe
  • spoolsv.exe
  • taskhost.exe
  • winlogon.exe
  • wmiprvse.exe
  • wuauclt.exe

It posts the following information to the C&C server:

&op=1&id={identifier found in registry}&ui={username} @ {computer name}&wv={Windows version}&gr={malware version name}&bv={built version}&data={encrypted data}

Solution


Minimum scan engine: 9.700
First VSAPI Pattern File: 10.956.08
First VSAPI Pattern Release Date: 31 Jul 2014
VSAPI OPR Pattern Version: 10.957.00
VSAPI OPR Pattern Release Date: 01 Aug 2014

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

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

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
    • identifier = "{random characters as ID}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • Windows NT Service = "%Application Data%\AdobeFlashPlayer\mswinsvc.exe"

Step 5

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.
  • %Application Data%\mskrnl

Step 6

Search and delete these folders

[ 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.
  • %Application Data%\AdobeFlashPlayer

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_POSLOGR.B. 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.
Analysis By: Rhena Inocencio

Connect with us on