TSPY_URSNIF.CCD

 Analysis by: Francis Xavier Antazo

 ALIASES:

Trojan-Ransom.Win32.Blocker.himi (Kaspersky),

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware


This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It steals certain information from the system and/or the user.

It connects to certain websites to send and receive information. It terminates itself if it detects it is being run in a virtual environment.

  TECHNICAL DETAILS

File Size:

415,744 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

30 Jun 2015

Payload:

Connects to URLs/IPs, Steals information

Arrival Details

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

  • %Application Data%\{compound filename 2}.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.)

It drops the following files:

  • %User Temp%\{random}.bat
  • %Application Data%\Microsoft\Address Book\{user}.wab

(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.. %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 is injected into the following processes running in memory:

  • explorer.exe
  • iexplore.exe
  • chrome.exe
  • firefox.exe

Autostart Technique

This Trojan adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{compound filename 1} = %Application Data%\{compound filename 2}.exe

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\AppDataLow\
Software\Microsoft\{GUID}

Information Theft

This Trojan steals the following information:

  • Keyboard Logs
  • Clipboard Logs
  • Capture Screenshot
  • Drive List
  • Computer Name

Other Details

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

  • {BLOCKED}ecitipurpose.ru
  • {BLOCKED}onaccus.ru

It terminates itself if it detects it is being run in a virtual environment.

NOTES:

It checks if its running in a virtual machine by searching for the following string in certain registry entry:

  • vbox
  • qemu
  • vmware
  • virtual hd

It connects to constitution.org to download the constitution of the United States.

It also tries to connect to the following URLs:

  • - {compound url}.ru - {compound url} is created by combining words and part of words from the downloaded text file

The value of {compound filename} is formed by combining the parts of filenames from DLLs in the %System% folder. For example, dpnmrtuti.exe is derived from dpnmodem.dll and rtutils.dll.

It scans the system for the following registry keys, which are related to antivirus and security applications:

  • Windows Defender
  • Microsoft Antimalware

  SOLUTION

Minimum Scan Engine:

9.750

FIRST VSAPI PATTERN FILE:

11.762.06

FIRST VSAPI PATTERN DATE:

30 Jun 2015

VSAPI OPR PATTERN File:

11.763.00

VSAPI OPR PATTERN Date:

30 Jun 2015

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 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\AppDataLow\Software\Microsoft
    • {GUID}

Step 5

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\Run
    • {compound filename 1} = %Application Data%\{compound filename 2}.exe

Step 6

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.  
  • %User Temp%\{random}.bat

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_URSNIF.CCD. 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.

Step 8

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