How to Remove Kharma (Dharma/Crysis) Ransomware and Recover .kharma Files

What is Kharma ransomware

A screenshot of Kharma’s ransom note RETURN FILES.txt

A new variant of Dharma/Crysis ransomware has appeared that uses .kharma extension for encrypted files. Ransomware is a type of malicious software that encrypts files on the computer and asks for a payment in return for a decryption tool. Kharma ransomware might end up on your computer after you open an attached file from a spam email, download some pirated software or files, or the criminals may access your computer through an open RDP (Remote Desktop Protocol) port and download Kharma onto your machine. Kharma uses an asymmetric encryption method (RSA-2048) to encrypt important files; asymmetric means there is a pair of keys: one for encryption and one for decryption. Both are generated on the ransomware’s server and the encryption key is sent to the victim’s computer. Kharma appends a new extension consisting of a unique ID, an email to contact ransomware developers and the ransomware variant’s name (for example, *******.[teammarcy10@cock.li].kharma) to the files it encrypts. Kharma leaves ransom notes called RETURN FILES.txt and Info.hta on the infected computer asking for a payment made in Bitcoins.

Info.hta says:

ALL FILES ENCRYPTED “RSA2048”
All YOUR FILES HAVE BEEN ENCRYPTED!!! IF YOU WANT TO RESTORE THEM, WRITE US TO THE E-MAIL teammarcy10@cock.li
IN THE LETTER WRITE YOUR ID, YOUR ID C15006EA
IF YOU ARE NOT ANSWERED, WRITE TO EMAIL: justbtcwillhelpu@firemail.cc
YOUR SECRET KEY WILL BE STORED ON A SERVER 7 DAYS, AFTER 7 DAYS IT MAY BE OVERWRITTEN BY OTHER KEYS, DON’T PULL TIME, WAITING YOUR EMAIL
FREE DECRYPTION FOR PROOF
You can send us up to 5 files for free decryption. The total size of files must be less than 10MB (non archived), and files should not contain valuable information.
(databases,backups, large excel sheets, etc.)
DECRYPTION PROCESS:
When you make sure of decryption possibility transfer the money to our bitcoin wallet. As soon as we receive the money we will send you:
1. Decryption program.
2. Detailed instuction for decryption.
3. And individual keys for decryption your files.
!WARNING!
Do not rename encrypted files.
Do not try to decrypt your data using third party software, it may cause permanent data loss.
Decryption of your files with the help of third parties may cause increased price (they add their fee to our) or you can become a victim of a scam.

RETURN FILES.txt says:

All your data is encrypted!
for return write to mail:
teammarcy10@cock.li or justbtcwillhelpu@firemail.cc

According to previous victims of Dharma/Crysis ransomware, some of them did receive the decryption tool after paying and were able to restore their files, while others made several payments and didn’t get anything. Unfortunately, if you don’t have a backup of your files, there is little chance to recover them without the decryptor. This article describes a few ways to possibly recover your files, however none of them is a guarantee.

How to Remove Kharma Ransomware

If you have working backups of your encrypted files or you are not going to try and recover lost files, then scan your computer with one or several antivirus and anti-malware programs or reinstall the operating system altogether.

SpyHunter is a powerful anti-malware solution that protects you against malware, spyware, ransomware and other types of Internet threats. SpyHunter is available for Windows and macOS devices.

Download SpyHunter

How to Recover Files Encrypted by Kharma Ransomware

If you want to recover files encrypted by ransomware you can either try to decrypt them or use methods of file recovery.
Ways to decrypt the files:

  1. Contact the ransomware authors, pay the ransom and possibly get the decryptor from them. This is not reliable: they might not send you the decryptor at all, or it might be poorly done and fail to decrypt your files.
  2. Wait for security researchers to find some vulnerability in the ransomware that would allow you to decrypt files without paying. This turn of events is possible but not very probable: out of thousands of known ransomware variants only dozens were found to be decryptable for free. You can visit NoMoreRansom site from time to time to see if free decryptor for Kharma exists.
  3. Use paid services for decryption. For example, antivirus vendor Dr. Web offers its own decryption services. They are free for users of Dr.Web Security Space and some other Dr. Web’s products if Dr. Web have been installed and running at the time of encryption (more detail). According to Dr. Web’s statistics, the probability of them being able to restore files is roughly 10%.

Other ways to recover encrypted files:

  1. Restore from backup. If you make regular backups to a separate device and check from time to time that those are in working order and files can be successfully restored – well, you probably won’t have any problems getting back your files. Just scan your computer with a couple of AVs and anti-malware programs or reinstall operating system, and then restore from backup.
  2. Recover some files from cloud storage (DropBox, Google Drive, OneDrive, etc.) if you have one connected. Even if encrypted files were already synced to the cloud, a lot of cloud services keep old versions of altered files for some time (usually 30 days).
  3. Recover Shadow Volume Copies of your files if those are available – ransomware usually tries to delete them too. Volume Shadow Copy Service (VSS) is a Windows technology that periodically creates snapshots of your files and allows you to roll back changes made on those files or recover deleted files. VSS is enabled together with System Restore: it’s turned on by default on Windows XP to Windows 8 and disabled by default on Windows 10.
  4. Use file recovery software. This probably won’t work for Solid State Drives (SSD – it is a newer, faster and more expensive type of data-storage devices) but is worth a try if you store your data on a Hard Disc Drive (HDD – older and more common as of yet storage device). When you delete a file from your computer – and I mean completely delete: use Shift + Del or empty the Recycle Bin – on SSD it gets wiped from the drive right away. On HDD however, it rather gets marked as deleted, and the space it occupies on a hard drive – as available for writing, but the data is still there and usually recoverable by special software. However, the more you use the computer, especially if you do something that writes new data on the hard drive, the more chance that your deleted file gets overwritten and will be gone for good. That is why, in this guide we will try to recover deleted files (as you remember, ransomware creates an encrypted copy of a file and deletes the original file) without installing anything on a disk. Just know that this still might not be enough to successfully recover your files – after all, when ransomware creates encrypted files it writes new information on a disk, possibly on top of files it just deleted. This actually depends on how much free space is there on your hard drive: the more free space, the less chance that new data will overwrite the old data.
  5. Going further, we need to 1) stop ransomware from encrypting files that we recover, if malware is still active; 2) try not to overwrite files deleted by ransomware. The best way to do it is disconnect your hard drive and connect it to another computer. You will be able to browse all your folders, scan them with antivirus programs, use file recovery software or restore data from Shadow Volume Copies. Although it is better to download all tools you’ll need beforehand and disconnect the computer from the Internet before connecting the infected hard drive, just to be safe.
    Disadvantages of this method:

    • This might void your warranty.
    • It’s harder to do with laptops, and you’ll need a special case (disk enclosure) to put a hard drive in before connecting it to another machine.
    • It is possible to infect the other computer if you open a file from the infected drive before scanning the drive with AVs and removing all found malware; or if all AVs fail to find and delete the malware.

    Another, easier, way is to load into Safe Mode and do all file recovery measures from there. However, that will mean using the hard drive and potentially overwriting some data. In this case it’s preferable to use only portable versions of recovery software (the ones that don’t require installation), download them onto an external device, and save any recovered files onto an external device too (external hard drive, thumb drive, CD, DVD, etc.).

    Boot Into Safe Mode:

    Win XP Windows XP, Win Vista Windows Vista, Win 7 Windows 7:

    1. Restart the computer.
    2. Once you see a boot screen tap F8 key continuously until a list of options appears.
    3. Using arrow keys, select Safe Mode with Networking.
    4. Press Enter.

    Win 8 Windows 8, Win 8.1 Windows 8.1, Win 10 Windows 10:

    1. Hold down Windows key Windows key and hit X key.
    2. Select Shut down or sign out.
    3. Press Shift key and click on Restart.
    4. When asked to choose an option, click on Advanced options => Startup Settings.
    5. Click Restart in the bottom right corner.
    6. After Windows reboots and offers you a list of options, press F5 to select Enable Safe Mode with Networking.

    Back up Your Encrypted Files

    It is alwayse advisable to create a copy of the encrypted files and put it away. That might help you if free ransomware decryptor becomes available in the future, or if you decide to pay and get the decryptor but something goes wrong and files get irreparably damaged in the process of decryption.

    Use File Recovery Tools to Recover Files

    Stellar Windows Data Recovery Professional is an easy to use Windows data recovery software to get back lost documents, emails, photos, videos & many more from HDD, USB, Memory Card, etc.

    Download Stellar Data Recovery

    Screenshot:
    Stellar Data Recovery Pro in use

    About Stellar Data Recovery

    R-Undelete
    Installing R-Undelete to get back deleted files
    How to recover deleted files with R-Undelete

    Puran File Recovery
    Using Puran File Recovery
    Video guide on how to use Puran File Recovery

    Recover Encrypted Files From Shadow Copies.

    The easiest way to access Shadow Volume Copies is by using a free tool called Shadow Explorer. Just download the latest version and install it (or download the portable version).

    1. Launch Shadow Explorer.
    2. On the top left part of the window you can select a disk (C:\, D:\, etc.) and a date when a snapshot of files was taken.
    3. To recover a file or a folder right-click on it and select Export….
    4. Choose where do you want to put the files.

    Remove Kharma Ransomware

    Now that you have your recovered or still encrypted files on an external device, it is time to scan your computer with AV and anti-malware software or, better yet, reinstall the operating system, to fully get rid of possible ransomware traces. Remember to also scan your external device before putting files back on your computer!

    Download SpyHunter

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top