RANSOM_CYPEN.THEBBAH
Trojan:Win32/Occamy.C (Microsoft), Ransom.PGPSnippet (Malwarebytes), a variant of MSIL/Filecoder.LV (ESET-NOD32)
Windows
Threat Type: Ransomware
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It encrypts files found in specific folders. It drops files as ransom note.
TECHNICAL DETAILS
Arrival Details
This Ransomware 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 Ransomware drops the following copies of itself into the affected system:
- %Application Data%\KBFilt.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:
- %Application Data%\host.txt - (contains the User Private Key)
- %Application Data%\FrameworkLog\Logs.txt - (contains the list of drives and files)
- %Application Data%\FrameworkLog\Associace.exe - (ransom note which does not run due to bugs)
- %Application Data%\BouncyCastle.Crypto.dll - (collection of API used in Cryptography)
(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 creates the following folders:
- %Application Data%\FrameworkLog
(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:
- myProgramm
Autostart Technique
This Ransomware adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Anti-Malware = %Application Data%\KBFilt.exe
File Infection
This Ransomware avoids infecting files that contain the following strings in their names:
- {file name}.decodeme666@{BLOCKED}ta_com
- !!!README_DECRYPT!!!.txt
- hosts.txt
- KBFilt.exe
- BouncyCastle.Crypto.dll
- Logs.txt
Ransomware Routine
This Ransomware encrypts files found in the following folders:
- {All Available Drives}:\
- {All Available Drives}:\{Folders and Sub-Folders}
It avoids encrypting files found in the following folders:
- FrameworkLog
It appends the following extension to the file name of the encrypted files:
- .decodeme666@{BLOCKED}ta_com
It drops the following file(s) as ransom note:
- {Folders containing encrypted files}\!!!README_DECRYPT!!!.txt
- %Application Data%\FrameworkLog\!!!README_DECRYPT!!!.txt
(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.)
NOTES:
This ransomware displays the following:
It will also display the following message box to ensure that only one instance of itself is running.
SOLUTION
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
Step 4
Delete this registry value
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
- Anti-Malware = "%Application Data%\KBFilt.exe"
- Anti-Malware = "%Application Data%\KBFilt.exe"
Step 5
Search and delete this folder
Step 6
Search and delete these files
- %Application Data%\host.txt
- %Application Data%\BouncyCastle.Crypto.dll
- %Application Data%\KBFilt.exe
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as RANSOM_CYPEN.THEBBAH. 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
Restore encrypted files from backup.
Did this description help? Tell us how we did.