TSPY_RAWPOS.ACR

 Analysis by: Cris Nowell Pantanilla

 PLATFORM:

Windows

 OVERALL RISK RATING:
 REPORTED INFECTION:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware

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.

  TECHNICAL DETAILS

File Size:

2,291,105 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

13 Oct 2016

Payload:

Steals information

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

  • %User Temp%\p2xtmp-{number}\auto\B\B.dll
  • %User Temp%\p2xtmp-{number}\auto\Cwd\Cwd.dll
  • %User Temp%\p2xtmp-{number}\auto\Data\Dumper\Dumper.dll
  • %User Temp%\p2xtmp-{number}\auto\Digest\MD5\MD5.dll
  • %User Temp%\p2xtmp-{number}\auto\Fcntl\Fcntl.dll
  • %User Temp%\p2xtmp-{number}\auto\IO\IO.dll
  • %User Temp%\p2xtmp-{number}\auto\List\Util\Util.dll
  • %User Temp%\p2xtmp-{number}\auto\MIME\Base64\Base64.dll
  • %User Temp%\p2xtmp-{number}\auto\POSIX\POSIX.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32API\File\File.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32API\Registry\Registry.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\API\API.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\Process\List\List.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\Process\Process.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\Win32.dll
  • %User Temp%\p2xtmp-{number}\auto\mro\mro.dll
  • %User Temp%\p2xtmp-{number}\auto\re\re.dll
  • %User Temp%\p2xtmp-{number}\p2x{number}.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\OLE\OLE.dll
  • %User Temp%\p2xtmp-{number}\auto\Win32\Console\Console.dll

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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:

  • {Malware Path}\memdump - contains memory dumps
  • %User Temp%\p2xtmp-{number}
  • %User Temp%\p2xtmp-{number}\auto
  • %User Temp%\p2xtmp-{number}\auto\B
  • %User Temp%\p2xtmp-{number}\auto\Cwd
  • %User Temp%\p2xtmp-{number}\auto\Data
  • %User Temp%\p2xtmp-{number}\auto\Data\Dumper
  • %User Temp%\p2xtmp-{number}\auto\Digest
  • %User Temp%\p2xtmp-{number}\auto\Digest\MD5
  • %User Temp%\p2xtmp-{number}\auto\Fcntl
  • %User Temp%\p2xtmp-{number}\auto\IO
  • %User Temp%\p2xtmp-{number}\auto\List
  • %User Temp%\p2xtmp-{number}\auto\List\Util
  • %User Temp%\p2xtmp-{number}\auto\MIME
  • %User Temp%\p2xtmp-{number}\auto\MIME\Base64
  • %User Temp%\p2xtmp-{number}\auto\POSIX
  • %User Temp%\p2xtmp-{number}\auto\Win32
  • %User Temp%\p2xtmp-{number}\auto\Win32API
  • %User Temp%\p2xtmp-{number}\auto\Win32API\File
  • %User Temp%\p2xtmp-{number}\auto\Win32API\Registry
  • %User Temp%\p2xtmp-{number}\auto\Win32\API
  • %User Temp%\p2xtmp-{number}\auto\Win32\Console
  • %User Temp%\p2xtmp-{number}\auto\Win32\OLE
  • %User Temp%\p2xtmp-{number}\auto\Win32\Process
  • %User Temp%\p2xtmp-{number}\auto\Win32\Process\List
  • %User Temp%\p2xtmp-{number}\auto\mro
  • %User Temp%\p2xtmp-{number}\auto\re

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp 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 does the following:

  • It has the following components:
    • msdtv.exe - (extract and encrypt) detected as TSPY_RAWPOS.ACR
    • sstpsvc.exe - (memory dumper) detected as TSPY_RAWPOS.ACR
    • tskman.exe - (service installer) detected as TSPY_RAWPOS.ACR
  • This malware is capable of searching for track data on the affected system (PoS machine). Once executed, it dumps the memory into a file in the created folder "memdump". It then reads the file to search for track data. If a track data is found, it will write the output to the file "dxfs32.dll". It also encrypts the stolen data using a XOR encryption.
  • It uses the following regular expression to search for track 1 and track 2 data on a memory dump:
    • track1 - ((b|B)(([0-9]{13,16})|([0-9]|\s){13,25})\^[A-Za-z\s0-9]{0,30}\/[A-Za-z\s0-9]{0,30}\^(0[7-9]|1[0-5])((0[1-9])|(1[0-2]))([0-9]|\s){3,50})
    • track2 - ([0-9]{15,16}(D|=)(0[7-9]|1[0-5])((0[1-9])|(1[0-2]))[0-9]{8,30})

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.834.05

FIRST VSAPI PATTERN DATE:

13 Oct 2016

VSAPI OPR PATTERN File:

12.835.00

VSAPI OPR PATTERN Date:

14 Oct 2016

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

Identify and terminate files detected as TSPY_RAWPOS.ACR

[ Learn More ]
  1. Windows Task Manager may not display all running processes. In this case, please use a third-party process viewer, preferably Process Explorer, to terminate the malware/grayware/spyware file. You may download the said tool here.
  2. If the detected file is displayed in either Windows Task Manager or Process Explorer but you cannot delete it, restart your computer in safe mode. To do this, refer to this link for the complete steps.
  3. If the detected file is not displayed in either Windows Task Manager or Process Explorer, continue doing the next steps.

Step 3

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.  {Malware Path}\memdump
%User Temp%\p2xtmp-{number}
%User Temp%\p2xtmp-{number}\auto
%User Temp%\p2xtmp-{number}\auto\B
%User Temp%\p2xtmp-{number}\auto\Cwd
%User Temp%\p2xtmp-{number}\auto\Data
%User Temp%\p2xtmp-{number}\auto\Data\Dumper
%User Temp%\p2xtmp-{number}\auto\Digest
%User Temp%\p2xtmp-{number}\auto\Digest\MD5
%User Temp%\p2xtmp-{number}\auto\Fcntl
%User Temp%\p2xtmp-{number}\auto\IO
%User Temp%\p2xtmp-{number}\auto\List
%User Temp%\p2xtmp-{number}\auto\List\Util
%User Temp%\p2xtmp-{number}\auto\MIME
%User Temp%\p2xtmp-{number}\auto\MIME\Base64
%User Temp%\p2xtmp-{number}\auto\POSIX
%User Temp%\p2xtmp-{number}\auto\Win32
%User Temp%\p2xtmp-{number}\auto\Win32API
%User Temp%\p2xtmp-{number}\auto\Win32API\File
%User Temp%\p2xtmp-{number}\auto\Win32API\Registry
%User Temp%\p2xtmp-{number}\auto\Win32\API
%User Temp%\p2xtmp-{number}\auto\Win32\Console
%User Temp%\p2xtmp-{number}\auto\Win32\OLE
%User Temp%\p2xtmp-{number}\auto\Win32\Process
%User Temp%\p2xtmp-{number}\auto\Win32\Process\List
%User Temp%\p2xtmp-{number}\auto\mro
%User Temp%\p2xtmp-{number}\auto\re

Step 4

Scan your computer with your Trend Micro product to delete files detected as TSPY_RAWPOS.ACR. 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.