TSPY_GORYNYCH.A


 PLATFORM:

Windows

 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 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 uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

It connects to certain websites to send and receive information. It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

299,008 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

09 Jan 2017

Payload:

Connects to URLs/IPs, 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 a copy of itself in the following folders using different file names:

  • %Application Data%\com9.{UID}\svcproc.exe
  • %User Startup%\svcproc.exe
  • %Application Data%\com9.{UID}\dwn.exe

(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.. %User Startup% is the current user's Startup folder, which is usually C:\Documents and Settings\{user}\Start Menu\Programs\Startup on Windows 2000 and XP, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup on Windows Vista, 7, and 8.)

It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

It adds the following processes:

  • taskkill /IM pos.exe /F

It creates the following folders:

  • %Application Data%\com9.{UID}←uses reserved name (COM{1~9})

(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:

  • dVICLKDhnkG4MRbx6Gn2FU7tiZfRjz

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
svcproc = "%Application Data%\com9.{UID}\svcproc.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
svcproc = "%Application Data%\com9.{UID}\svcproc.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer\Run
svcproc = "%Application Data%\com9.{UID}\svcproc.exe"

The scheduled task executes the malware every:

  • User Logon

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
L!NK\1

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System

It adds the following registry entries:

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
L!NK\1
0 = {value}

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableTaskMgr = "1"

HKLM\SOFTWARE\Microsoft\
Security Center
UACDisableNotify = "0"

HKLM\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
system
EnableLUA = "0"

Dropping Routine

This spyware drops the following files:

  • %Application DAta%\POS.exe
  • log.c
  • keys.c← list of gathered data

Other Details

This spyware connects to the following website to send and receive information:

  • http://{BLOCKED}1.bid/casadeto/gate.php
  • http://{BLOCKED}1.bid/casadeto/gate.php?1ee=1

It does the following:

  • Logs the following:
    • Key strokes
    • Executed Processes
    • Clipboards
  • Deletes the contents of the host file

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

13.146.08

FIRST VSAPI PATTERN DATE:

09 Jan 2017

VSAPI OPR PATTERN File:

13.147.00

VSAPI OPR PATTERN Date:

09 Jan 2017

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

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
    • VB and VBA Program Settings

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\Policies\System
    • DisableTaskMgr = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
    • UACDisableNotify = "0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
    • EnableLUA = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • svcproc = "%Application Data%\com9.{UID}\svcproc.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • svcproc = "%Application Data%\com9.{UID}\svcproc.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
    • svcproc = "%Application Data%\com9.{UID}\svcproc.exe"

Step 5

Search and delete this file

[ 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.
  • rd\\.\%Application Data%\com9.{UID}

Step 6

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %System\drivers\etc\hosts

Step 7

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

NOTES:

Delete this folder that this malware created.

  • %Application Data%\com9.{UID}

To delete the folder that this malware created:
1. Open Command Prompt.
2. Type the following:

  • rd\\.\%Application Data%\com9.{UID}

3. Hit Enter.


Did this description help? Tell us how we did.