Analysis by: Ryan Gardo

ALIASES:

FileCryptor.BWU(AVG); Trojan.Win32.Tescrypt.a (v)(MicrosoftAVware); Ransom:Win32/Tescrypt.A(Microsoft)

 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.

  TECHNICAL DETAILS

File Size: 375,808 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 27 May 2015

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 and executes them:

  • %Application Data%\{random 7 characters}.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:

  • %Desktop%\Save_Files.lnk
  • Application Data\log.html
  • Application Data\storage.bin
  • {Folder of Encrypted File}\help_restore_files_{random 5 characters}.txt
  • {Folder of Encrypted File}\RECOVERY_FILE.TXT
  • %Desktop%\HELP_RESTORE_FILES.TXT
  • %Desktop%\HELP_RESTORE_FILES.bmp

(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.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
mssvcav = "%Application Data%\{random 7 characters}.exe"

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
mssvcav = "%Application Data%\{random 7 characters}.exe"

Other System Modifications

This Trojan modifies the following registry entries:

HKEY_CURRENT_USER\Control Panel\Desktop
WallpaperStyle = "0"

(Note: The default value data of the said registry entry is {User Defined}.)

HKEY_CURRENT_USER\Control Panel\Desktop
TileWallpaper = "0"

(Note: The default value data of the said registry entry is {User Defined}.)

HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = "%Desktop%\HELP_RESTORE_FILES.bmp"

(Note: The default value data of the said registry entry is {User Defined}.)

Other Details

This Trojan connects to the following URL(s) to get the affected system's IP address:

  • http://ipinfo.io/ip

It connects to the following possibly malicious URL:

  • http://{BLOCKED}zor5ybfto.tor2web.{BLOCKED}gie.de:443
  • http://{BLOCKED}zor5ybfto.tor2web.org:443
  • http://{BLOCKED}w45ndf4.{BLOCKED}0er4wf.com/ping1.php?A6D121D21FBD4D853912A65FAD9DD7EB5CCD444E78101CD22C79E490EA2B7009A9C1B0851C18B8319B45B0C80537F1B86A758346E170719C432077FED26FBD76CC3F3234A2D24FAC80D672ADF5591BCEFDDFCA3507EDF0C07AE672CBE9BEF153053EE07DDE6034C6177D7D1423474890701270E4C3264CFCBC662B0F753054469A7AFF23B7457450EC6F5DFD7B00F6B2A9F7FD785A6D6354D8DEBEEF8292047F21A8E6254F2A7818B1B5D457B618BEA2A0B5767FD240A44EEF1DD786AE2D231D331AED51F2D0AEF1EE42B083B4B677736D1DE3400A7DB79CA3BE58D3F030240CCC0F25163D2C24912C5EE02845BD9C68
  • http://{BLOCKED}w45ndf4.{BLOCKED}0er4wf.com/ping1.php?EBBA0FA36E85154E0EF48091B1C355631E46CFF02850F5440B403830EEDC7AB33AF4083D777254B75421D27A483E6B20961748A4DF268000D083B51BD04A3F69BB87B07FDF5643838E0FD8890F028F2985DC0B683F1BC37B18EBAD339A9DC7F6D037B7605D8876F1E54FAB8BD8F0F224483C548E2C61B610F0FF9DD15BA2C0D3E858E31E2AADA552A0A576DE8B6C02238E93E1CC7305E53CAA280817B3AF6FBA49ECF75230D0D7CF1B2BBF333A08E869D336D92B4AFE96FE6425830D54A00005874FFB6EBC7DDB193B4FDDF56306A8A1238BBCDA63F6538396CDEBE7C54F888D
  • http://{BLOCKED}dw45ndf4.{BLOCKED}0er4wf.com/ping1.php?EBBA0FA36E85154E0EF48091B1C355633003936988C149B35F7BC77588E095AE7B9E549B478CD2C644FC908C7204764C56483C4AEBA8CE3BF993E949BC92519018783ECAC954C85CB22F1B6DAB6FA608A2D4B2EDE880EA43A5E1C9C78E2F2FC8C6E347A14326CD898A823B78F05A417014158EC0658B2286707C32E03978E704A6E658F8D610915F4C80F7DEB59625E19A816B1522CD8CD670AA627C3EA420DBB817316AF3D6279EA62D1C7CC99695050B928BA580C7B6920627E5B3E185B5620CD666C2044AB2925C5218174A9CD6DDBE7AF48277AF1ED187DC39EBF8B35627
  • http://{BLOCKED}a439ws.{BLOCKED}cm3qec.com/ping1.php?A6D121D21FBD4D853912A65FAD9DD7EB5CCD444E78101CD22C79E490EA2B7009A9C1B0851C18B8319B45B0C80537F1B86A758346E170719C432077FED26FBD76CC3F3234A2D24FAC80D672ADF5591BCEFDDFCA3507EDF0C07AE672CBE9BEF153053EE07DDE6034C6177D7D1423474890701270E4C3264CFCBC662B0F753054469A7AFF23B7457450EC6F5DFD7B00F6B2A9F7FD785A6D6354D8DEBEEF8292047F21A8E6254F2A7818B1B5D457B618BEA2DF5189FBE7CBE3EB957235DA13AB07BDC7EB2E8190479F415DC56DFFEB3E34645A81D9F1D2C2AC9653A87E11A71474784C66295F00ACBA1C908E000EF3D28682

It renames encrypted files using the following names:

  • {original filename & extension}.exx

It deletes the initially executed copy of itself

  SOLUTION

Minimum Scan Engine: 9.750
FIRST VSAPI PATTERN FILE: 11.710.08
FIRST VSAPI PATTERN DATE: 27 May 2015
VSAPI OPR PATTERN File: 11.711.00
VSAPI OPR PATTERN Date: 05 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 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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • mssvcav = "%Application Data%\{random 7 characters}.exe"
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • mssvcav = "%Application Data%\{random 7 characters}.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.
  • %Desktop%\Save_Files.lnk
  • %Desktop%\HELP_RESTORE_FILES.TXT
  • %Desktop%\HELP_RESTORE_FILES.bmp
  • Application Data\log.html
  • Application Data\storage.bin
  • {Folder of Encrypted File}\RECOVERY_FILE.TXT
  • {Folder of Encrypted File}\help_restore_files_{random 5 characters}.txt

Step 6

Restore this modified 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\Control Panel\Desktop
    • From: WallpaperStyle = "0"
      To: WallpaperStyle = {User Defined}
  • In HKEY_CURRENT_USER\Control Panel\Desktop
    • From: TileWallpaper = "0"
      To: TileWallpaper = {User Defined}
  • In HKEY_CURRENT_USER\Control Panel\Desktop
    • From: Wallpaper = "%Desktop%\HELP_RESTORE_FILES.bmp"
      To: Wallpaper = {User Defined}

Step 7

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