TROJ_CRYPCTB.YN
Ransom:Win32/Critroni.A (Microsoft), Troj/Agent-AIRO (Sophos), Trojan.CTBLockerKD.2095075 (F-Secure),
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
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.
TECHNICAL DETAILS
704,512 bytes
EXE
Yes
20 Jan 2015
Encrypts files, Changes wallpaper
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 files:
- %System Root%\{randomly selected path}\Decrypt All Files {random characters}.txt - Ten (10) *.txt files in different locations
- %System Root%\{randomly selected path}\Decrypt All Files {random characters}.bmp - Ten (10) *.bmp files in different locations
- %User Profile%\My Documents\Decrypt All Files {random characters}.bmp - image used as wallpaper
- %User Profile%\My Documents\Decrypt All Files {random characters}.txt - ransom note in text file
- %All Users Profile%\Application Data\{random characters}.html - contains ransom note and list of encrypted files
(Note: %System Root% is the Windows root folder, where it usually is C:\ on all Windows operating system versions.. %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.. %All Users Profile% is the All Users folder, where it usually is C:\Documents and Settings\All Users on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData 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 copies of itself into the affected system:
- %User Temp%\{random filename}.exe
(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 injects itself into the following processes running in the affected system's memory:
- svchost.exe
- explorer.exe
It creates the following folders:
- %All Users Profile%\Application Data\{randomly selected path}\{random characters}
(Note: %All Users Profile% is the All Users folder, where it usually is C:\Documents and Settings\All Users on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\ProgramData 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.)
Autostart Technique
This Trojan drops the following files:
- C:\Windows\Tasks\{random filename}.job
Other System Modifications
This Trojan modifies the following registry entries:
HKEY_CURRENT_USER\Control Panel\Desktop
Wallpaper = "%User Profile%\My Documents\Decrypt All Files {random characters}.bmp"
(Note: The default value data of the said registry entry is {user-defined}.)
HKEY_CURRENT_USER\Control Panel\Desktop
TileWallpaper = 0
Other Details
This Trojan connects to the following URL(s) to get the affected system's IP address:
- http://ip.telize.com
It connects to the following possibly malicious URL:
- {BLOCKED}zduo52siy.onion.cab
- {BLOCKED}zduo52siy.tor2web.org
- {BLOCKED}duo52siy.onion.gq
- {BLOCKED}zduo52siy.tor2web.fi
- {BLOCKED}zduo52siy.onion.lt
- {BLOCKED}zduo52siy.tor2web.blutmagie.de
It encrypts files with the following extensions:
- 3fr
- 7z
- acc
- ai
- arw
- bas
- bay
- bl
- c
- cdr
- cer
- cpp
- cr2
- crt
- crw
- cs
- db
- dbf
- dcr
- dd
- dds
- der
- dng
- doc
- docm
- docx
- dwg
- dxf
- dxg
- end
- eps
- erf
- groups
- indd
- jpe
- jpeg
- jpg
- js
- kdc
- kwm
- md
- mdb
- mdf
- mef
- mrw
- nef
- nrw
- odb
- odm
- odp
- ods
- odt
- orf
- p12
- p7b
- p7c
- pas
- pdd
- pef
- pem
- pfx
- php
- pl
- ppt
- pptm
- pptx
- psd
- pst
- ptx
- pwm
- py
- r3d
- raf
- rar
- raw
- rtf
- rw2
- rwl
- safe
- sql
- srf
- srw
- txt
- vsd
- wb2
- wpd
- wps
- xlk
- xls
- xlsb
- xlsm
- xlsx
- zip
- blend
- dbx
- gdb
- bsdr
- bsdu
- bdcr
- bdcu
- bpdr
- bpdu
- ims
- bds
- bdd
- bdp
- gsf
- gsd
- iss
- arp
- rik
- fdb
- abu
- fig
- con
- rgx
NOTES:
This trojan deletes all Windows Shadow Copies found in the system.
The dropped Decrypt All Files {random characters}.txt contains the following ransom message:
It sets the system's desktop wallpaper to the following image:
It appends the extension .{seven random characters} to the encrypted files. (ex. sample.docx.{seven random characters})
It displays the ransom message in four different languages: German, Dutch, Italian and English
It can decrypt five random files to entice the user that it is capable of recovering the files after payment of ransom.
If the connection to the server is established, it will save the details of the private key in %Application Data%\{randomly selected path}\{random file name}.
It will then asks the user to pay the ransom in bitcoin to automatically decrypt the files. It also contain instructions how to buy bitcoins via cash, electronic currency and etc.
If the connection is not established, it will give instruction to the user how to pay the ransom in another computer with internet connection.
It deletes copies of itself and its scheduled task after the time expired.
SOLUTION
9.700
11.424.04
20 Jan 2015
11.425.00
20 Jan 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
Scan your computer with your Trend Micro product and note files detected as TROJ_CRYPCTB.YN
Step 4
Restart in Safe Mode
Step 5
Search and delete this file
- %User Profile%\My Documents\Decrypt All Files {random characters}.bmp
- %User Profile%\My Documents\Decrypt All Files {random characters}.txt
- %All Users Profile%\Application Data\{random characters}.html
- %Windows%\Tasks\{random filename}.job
- %System Root%\{randomly selected path}\Decrypt All Files {random characters}.txt
- %System Root%\{randomly selected path}\Decrypt All Files {random characters}.bmp
Step 6
Search and delete these folders
- %All Users Profile%\Application Data\{randomly selected path}\{random characters}
Step 7
Restore these modified registry values
Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: Wallpaper = "%User Profile%\My Documents\Decrypt All Files {random characters}.bmp"
To: Wallpaper = "{user-defined}"
- From: Wallpaper = "%User Profile%\My Documents\Decrypt All Files {random characters}.bmp"
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_CRYPCTB.YN. 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:
Restore the encrypted files from backup.
Did this description help? Tell us how we did.