RANSOM_HPCRYPTESLA.SM2


 ALIASES:

Win32/Filecoder.TeslaCrypt.K (ESET), Trojan.Cryptolocker.N (Symantec), Trojan.Win32.Filecoder (Ikarus)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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 deletes the initially executed copy of itself. It is capable of encrypting files in the affected system.

  TECHNICAL DETAILS

File Size:

417,008 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

17 Mar 2016

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 a copy of itself in the following folders using different file names:

  • %User Profile%\Documents\{random filename}.exe

(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

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
{value} = "%system\CMD.EXE /C START "" "%User Profile%\Documents\{random filename}.exe""

where {value} can have the following format:

  • +++{random letters}
  • _{random letters}

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USERSoftware\{ID key}

where {ID key} can be the following:

  • MSVCC
  • trueimg

It adds the following registry entries:

HKEY_CURRENT_USER\Software\{ID key}
{ID value} = "{ID}"

where {ID key} can be the following:

  • MSVCC
  • trueimg

and {ID value} can be the following:

  • FIX
  • ID

HKEY_CURRENT_USER\Software\{ID}
data = "{hex values}"

Dropping Routine

This Trojan drops the following files:

  • {Recover String}{random letters}+.png
  • {Recover String}{random letters}+.txt
  • {Recover String}{random letters}+.html
  • %Desktop%\{Recover String}{random letters}+.png
  • %Desktop%\{Recover String}{random letters}+.txt
  • %Desktop%\{Recover String}{random letters}+.html
  • %User Profile%\Documents\{Recover String in lower case}file.txt

    where {Recover String} can be the following:

    • +REcovER+
    • RECOVER
    • recover_

(Note: %Desktop% is the desktop folder, where it usually is C:\Documents and Settings\{user name}\Desktop in Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\Desktop in 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 Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}minproduktion.de/plugins/binstr.php
  • http://{BLOCKED}ntandre.fr/images/binstr.php
  • http://{BLOCKED}p.pl/tmp/binstr.php
  • http://{BLOCKED}gicdisaster.info/wordpress/wp-content/plugins/binstr.php
  • http://{BLOCKED}e.com/images/binstr.php
  • http://{BLOCKED}eproductes.com/binstr.php
  • http://{BLOCKED}15.com/strbin.php
  • http://{BLOCKED}garden.com/strbin.php
  • http://{BLOCKED}k.com/binstr.php
  • http://{BLOCKED}ument.co.uk/strbin.php
  • http://{BLOCKED}athart.com/binstr.php
  • http://{BLOCKED}yerdesign.com/wp-content/plugins/binstr.php

It deletes the initially executed copy of itself

It is capable of encrypting files in the affected system.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.426.07

FIRST VSAPI PATTERN DATE:

25 Mar 2016

VSAPI OPR PATTERN File:

12.427.00

VSAPI OPR PATTERN Date:

26 Mar 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

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\{ID key}
    • {ID value} = "{ID}"
  • In HKEY_CURRENT_USER\Software\{ID}
    • data = "{hex values}"

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
    • {value} = "%system\CMD.EXE /C START "" "%User Profile%\Documents\{random filename}.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 Profile%\Documents\{random filename}.exe
  • {Recover String}{random letters}+.png
  • {Recover String}{random letters}+.txt
  • {Recover String}{random letters}+.html
  • %Desktop%\{Recover String}{random letters}+.png
  • %Desktop%\{Recover String}{random letters}+.txt
  • %Desktop%\{Recover String}{random letters}+.html
  • %User Profile%\Documents\{Recover String in lower case}file.txt

Step 7

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