TSPY_POSLOGR.B

 Analysis by: Rhena Inocencio

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Spyware

  • Destructiveness: No

  • 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, 7, and 8.)

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, 7, and 8.)

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, 7, and 8.)

NOTES:

This Trojan performs memory scraping on all processes except the following:

  • 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 DATE:

31 Jul 2014

VSAPI OPR PATTERN File:

10.957.00

VSAPI OPR PATTERN Date:

01 Aug 2014

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 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.