TSPY_POSLOGR.A
Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)
Threat Type: Spyware
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
Downloaded from the Internet
This malware is involved in the Backoff PoS malware attack discovered in August 2014. It has the ability to steal financial information from infected devices. 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.
It logs a user's keystrokes to steal information.
TECHNICAL DETAILS
77,312 bytes
EXE
Yes
28 Aug 2014
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%\OracleJava\javaw.exe
- %Application Data%\winserv.exe - deleted afterwards
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
It creates the following folders:
- %Application Data%\OracleJava
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
It adds the following mutexes to ensure that only one of its copies runs at any one time:
- nUndsa8301nskal
- nuyhnJmkuTgD
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%\OracleJava\javaw.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 "EdPjBTx"
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
- Upload log files
It connects to the following websites to send and receive information:
- http://{BLOCKED}workx86.ru/windows/updcheck.php
- http://{BLOCKED}workx86.com/windows/updcheck.php
- http://{BLOCKED}workx64.com/windows/updcheck.php
Information Theft
This spyware gathers the following data:
- User name
- Computer name
- Malware version name (e.g. goo)
- Malware built version
It logs a user's keystrokes to steal information.
Stolen Information
This spyware saves the stolen information in the following file:
- %Application Data%\OracleJava\Log.txt - contains logged active window, installations, keystrokes and mouse activities with corresponding date and time
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
Other Details
This spyware drops the following file(s)/component(s):
- %Application Data%\OracleJava\Local.dat - temporarily stores all found track data
- %Application Data%\nsskrnl - encrypted copy of the malware
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
NOTES:
This Trojan performs memory scraping on all processes except the following processes to check for track data and posts the data to the C&C server:
- 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
9.700
10.956.08
31 Jul 2014
10.957.00
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
Step 4
Delete this registry value
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}"
- identifier = "{random characters as ID}"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- Windows NT Service = "%Application Data%\OracleJava\javaw.exe"
- Windows NT Service = "%Application Data%\OracleJava\javaw.exe"
Step 5
Search and delete these files
- %Application Data%\OracleJava\Local.dat
- %Application Data%\OracleJava\Log.txt
- %Application Data%\nsskrnl
Step 6
Search and delete these folders
- %Application Data%\OracleJava
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_POSLOGR.A. 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.