This article has been created with the main purpose to explain what exactly is the .lockedfile extension ransomware, called PyLocky and how to remove it from your computer plus how you can try and restore files, encrypted by this virus.
A new ransomware variant, using the .lockedfile has been detected to still be active by researchers. The ransomware is an evolved variant of a previously detected PyLocky virus. The main purpose of the infection is to make it so that the files on your computer can not be opened at all by encrypting them. Furthermore, in addition to this, the PyLocky ransomware also adds a ransom note file which aims to get users to pay ransom in BitCoin in order to get their files to work again. If your computer has been infected by the PyLocky ransomware, we recommend that you read this article as it aims to help you to remove this ransomware infection from your computer and hopefully restore files, encrypted by it without having to pay ransom.
Threat Summary
Name | .lockedfile PyLocky virus |
Type | Ransomware, Cryptovirus |
Short Description | Files are encrypted and the virus leaves a ransom note extorting victims to pay ransom in order to get their files to work once again. |
Symptoms | The files on your computer have the .lockedfile extension added to them and cannot be opened. |
Distribution Method | Spam Emails, Email Attachments, Executable files |
Detection Tool |
See If Your System Has Been Affected by malware
Download
Malware Removal Tool
|
User Experience | Join Our Forum to Discuss .lockedfile PyLocky virus. |
Data Recovery Tool | Windows Data Recovery by Stellar Phoenix Notice! This product scans your drive sectors to recover lost files and it may not recover 100% of the encrypted files, but only few of them, depending on the situation and whether or not you have reformatted your drive. |
PyLocky .lockedfile Ransomware – Distribution
The main method by which this ransomware virus may land on your Windows machine is by using a malicious file that is executed either automatically or by you if you are deceived into doing so. Such files often carry exploits so that the infection on your computer remains no longer openable. These files can be seen in the form of e-mail attachments in e-mails, like the example below:
In addition to via e-mail, the file may also pretend to be an important document of some sort, such as:
- Setups of programs.
- Portable software.
- Cracks for games or software.
- Patches.
- License activators.
- Key generators.
PyLocky Ransomware – Analysis
Once an infection with PyLocky commences, the ransomware virus may immediatey drop it’s payload on the victim’s computer. The payload of this virus may be located in the following Windows directories:
- %AppData%
- %Temp%
- %LocalLow%
- %Local%
- %Roaming%
- Texttt
- Texttt
Once the files are In place, the .lockedfile variant of PyLocky may then modify the Windows Registry Editor of the infected machine so that it immediately starts when you log in Windows. To do this, the virus may add registry values in the following Windows sub-keys:
→ HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
In addition to this, the PyLocky ransomware also drops it’s ransom note file, reported to have the following message in several different languages:
Furthermore, the .lockedfile variant of PyLocky may also take actions towards deleting backups and shadow volume copies of the infected computer by running the following commands as an administrator:
→ sc stop VVS
sc stop wscsvc
sc stop WinDefend
sc stop wuauserv
sc stop BITS
sc stop ERSvc
sc stop WerSvc
cmd.exe /C bcdedit /set {default} recoveryenabled No
cmd.exe /C bcdedit /set {default} bootstatuspolicy ignoreallfailures
C:\Windows\System32\cmd.exe” /C vssadmin.exe Delete Shadows /All /Quiet
.lockedfile PyLocky Virus – Encryption Process
According to researchers, the .lockedfile files are encrypted with the AES encryption algorithm which generates an asymmetric decryption key that may be RSA encrypted itself. To do the encryption, PyLocky may first copy your files then delete their original variants and shortly after this encrypt the copies. If your computer has been infected by PyLocky ransomware, the following file types are at stake:
→ “PNG .PSD .PSPIMAGE .TGA .THM .TIF .TIFF .YUV .AI .EPS .PS .SVG .INDD .PCT .PDF .XLR .XLS .XLSX .ACCDB .DB .DBF .MDB .PDB .SQL .APK .APP .BAT .CGI .COM .EXE .GADGET .JAR .PIF .WSF .DEM .GAM .NES .ROM .SAV CAD Files .DWG .DXF GIS Files .GPX .KML .KMZ .ASP .ASPX .CER .CFM .CSR .CSS .HTM .HTML .JS .JSP .PHP .RSS .XHTML. DOC .DOCX .LOG .MSG .ODT .PAGES .RTF .TEX .TXT .WPD .WPS .CSV .DAT .GED .KEY .KEYCHAIN .PPS .PPT .PPTX ..INI .PRF Encoded Files .HQX .MIM .UUE .7Z .CBR .DEB .GZ .PKG .RAR .RPM .SITX .TAR.GZ .ZIP .ZIPX .BIN .CUE .DMG .ISO .MDF .TOAST .VCD SDF .TAR .TAX2014 .TAX2015 .VCF .XML Audio Files .AIF .IFF .M3U .M4A .MID .MP3 .MPA .WAV .WMA Video Files .3G2 .3GP .ASF .AVI .FLV .M4V .MOV .MP4 .MPG .RM .SRT .SWF .VOB .WMV 3D .3DM .3DS .MAX .OBJ R.BMP .DDS .GIF .JPG ..CRX .PLUGIN .FNT .FON .OTF .TTF .CAB .CPL .CUR .DESKTHEMEPACK .DLL .DMP .DRV .ICNS .ICO .LNK .SYS .CFG”
These file types are basically often used files on your computer, like documents, videos, images, audio files, archives and many other. The ransowmare skips encrypting files in the system folders of Windows, because you would still need to use your computer in order to pay the ransom.
After the encryption is complete, the files, encoded by this virus look like the following:
.lockedfile Files Virus (PyLocky) – Decryptor Released
There is a decrypter tool released for the Pylocky ransomware. The tool was initially released for the Windows variants versions of the cryptovirus. You can download the tool via the Decryption Tool link here. The tool requires the PCAP file of the outbound connection attempt to the C&C servers.
.lockedfile Files Virus (PyLocky) – Decryptor Released
There is a decrypter tool released for the Pylocky ransomware. The tool was initially released for the Windows variants versions of the cryptovirus. You can download the tool via the Decryption Tool link here. The tool requires the PCAP file of the outbound connection attempt to the C&C servers.
Remove PyLocky Ransomware and Restore .lockedfile Files
If you want to remove this variant of PyLocky ransomware virus, we strongly suggest that you follow the removal instructions underneath this article as they have been divided in manual and automatic removal steps. If manual steps do not work or you feel unsure in doing them, be advised that most experts would recommend using an advanced anti-malware software to automatically scan for and remove PyLocky .lockedfile ransomware from your PC.
If you wish to restore files, encrypted by PyLocky ransomware, it is strongly reccomended that you try out the alternative methods in step “2. Restore files, encrypted by .lockedfile PyLocky virus”. They may not be a 100% solution, but with their aid you may be able to recover some or most of your files.
Attention! SensorsTechForum strongly recommends that all malware victims should look for assistance only by reputable sources. Many guides out there claim to offer free recovery and decryption for files encrypted by ransomware viruses. Be advised that some of them may only be after your money.
As a site that has been dedicated to providing free removal instructions for ransomware and malware since 2014, SensorsTechForum’s recommendation is to only pay attention to trustworthy sources.
How to recognize trustworthy sources:
- Always check "About Us" web page.
- Profile of the content creator.
- Make sure that real people are behind the site and not fake names and profiles.
- Verify Facebook, LinkedIn and Twitter personal profiles.
- Guide 1: How to Remove .lockedfile PyLocky virus from Windows.
- Guide 2: Get rid of .lockedfile PyLocky virus from Mac OS X.
How to Remove .lockedfile PyLocky virus from Windows.
Step 1: Boot Your PC In Safe Mode to isolate and remove .lockedfile PyLocky virus





Step 2: Uninstall .lockedfile PyLocky virus and related software from Windows
Here is a method in few easy steps that should be able to uninstall most programs. No matter if you are using Windows 10, 8, 7, Vista or XP, those steps will get the job done. Dragging the program or its folder to the recycle bin can be a very bad decision. If you do that, bits and pieces of the program are left behind, and that can lead to unstable work of your PC, errors with the file type associations and other unpleasant activities. The proper way to get a program off your computer is to Uninstall it. To do that:



Step 3: Clean any registries, created by .lockedfile PyLocky virus on your computer.
The usually targeted registries of Windows machines are the following:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
You can access them by opening the Windows registry editor and deleting any values, created by .lockedfile PyLocky virus there. This can happen by following the steps underneath:



Before starting "Step 4", please boot back into Normal mode, in case you are currently in Safe Mode.
This will enable you to install and use SpyHunter 5 successfully.
Step 4: Scan for .lockedfile PyLocky virus with SpyHunter Anti-Malware Tool
Step 5 (Optional): Try to Restore Files Encrypted by .lockedfile PyLocky virus.
Ransomware infections and .lockedfile PyLocky virus aim to encrypt your files using an encryption algorithm which may be very difficult to decrypt. This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.
Simply click on the link and on the website menus on top, choose Data Recovery - Data Recovery Wizard for Windows or Mac (depending on your OS), and then download and run the tool.
Get rid of .lockedfile PyLocky virus from Mac OS X.
Step 1: Uninstall .lockedfile PyLocky virus and remove related files and objects
1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:
- Go to Finder.
- In the search bar type the name of the app that you want to remove.
- Above the search bar change the two drop down menus to “System Files” and “Are Included” so that you can see all of the files associated with the application you want to remove. Bear in mind that some of the files may not be related to the app so be very careful which files you delete.
- If all of the files are related, hold the ⌘+A buttons to select them and then drive them to “Trash”.
In case you cannot remove .lockedfile PyLocky virus via Step 1 above:
In case you cannot find the virus files and objects in your Applications or other places we have shown above, you can manually look for them in the Libraries of your Mac. But before doing this, please read the disclaimer below:
You can repeat the same procedure with the following other Library directories:
→ ~/Library/LaunchAgents
/Library/LaunchDaemons
Tip: ~ is there on purpose, because it leads to more LaunchAgents.
Step 3 (Optional): Try to Restore Files Encrypted by .lockedfile PyLocky virus.
Ransomware infections and .lockedfile PyLocky virus aim to encrypt your files using an encryption algorithm which may be very difficult to decrypt. This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.
Simply click on the link and on the website menus on top, choose Data Recovery - Data Recovery Wizard for Windows or Mac (depending on your OS), and then download and run the tool.
.lockedfile PyLocky virus FAQ
What is .lockedfile PyLocky virus ransomware and how does it work?
.lockedfile PyLocky virus is a ransomware infection - the malicious software that enters your computer silently and blocks either access to the computer itself or encrypt your files.
Many ransomware viruses use sophisticated encryption algorithm how to make your files inaccessible. The goal of ransomware infections is to demand that you pay a ransom payment to get access to your files back.
How does .lockedfile PyLocky virus ransomware infect my computer?
Via several ways..lockedfile PyLocky virus Ransomware infects computers by being sent via phishing e-mails, containing virus attachment.
This attachment is usually masked as an important document, like an invoice, bank document or even a plane ticket and it looks very convincing to users.
After you download and execute this attachment, a drive-by download occurs and your computer is infected with the ransomware virus.
Another way, you may become a victim of .lockedfile PyLocky virus is if you download a fake installer, crack or patch from a low reputation website or if you click on a virus link. Many users report getting a ransomware infection by downloading torrents.
How to open ..lockedfile PyLocky virus files?
You can't. At this point the ..lockedfile PyLocky virus files are encrypted. You can only open them once they are decrypted.
Decryptor did not decrypt my data. What now?
Do not panic and backup the files. If a decryptor did not decrypt your ..lockedfile PyLocky virus files successfully, then do not despair, because this virus is still new.
One way to restore files, encrypted by .lockedfile PyLocky virus ransomware is to use a decryptor for it. But since it's a new virus, advised that the decryption keys for it may not be out yet and available to the public. We will update this article and keep you posted as soon as this decryptor is released.
How Do I restore "..lockedfile PyLocky virus" files (Other Methods)?
Yes, sometimes files can be restored. We have suggested several file recovery methods that could work if you want to restore ..lockedfile PyLocky virus files.
These methods are in no way 100% guarantee that you will be able to get your files back. But if you have a backup, your chances of success are much greater.
How do I get rid of .lockedfile PyLocky virus ransomware virus?
The safest way and the most efficient one for the removal of this ransomware infection is the use a professional anti malware software. It will scan for and locate .lockedfile PyLocky virus ransomware and then remove it without causing any additional harm to your important ..lockedfile PyLocky virus files.
Also, keep in mind that viruses like .lockedfile PyLocky virus ransomware also install Trojans and keyloggers that can steal your passwords and accounts. Scanning your computer with an anti-malware software will make sure that all of these virus components are removed and your computer is protected in the future.
What to Do If nothing works?
There is still a lot you can do. If none of the above methods seem to work for you, then try these methods:
- Try to find a safe computer from where you can can login on your own line accounts like One Drive, iDrive, Google Drive and so on.
- Try to contact your friends, relatives and other people so that they can check if they have some of your important photos or documents just in case you sent them.
- Also, check if some of the files that were encrypted it can be re-downloaded from the web.
- Another clever way to get back some of your files is to find another old computer, a flash drive or even a CD or a DVD where you may have saved your older documents. You might be surprised what will turn up.
- You can also go to your email account to check if you can send any attachments to other people. Usually what is sent the email is saved on your account and you can re-download it. But most importantly, make sure that this is done from a safe computer and make sure to remove the virus first.
More tips you can find on our forums, where you can also asks any questions about your ransomware problem.
How to Report Ransomware to Authorities?
In case your computer got infected with a ransomware infection, you can report it to the local Police departments. It can help authorities worldwide track and determine the perpetrators behind the virus that has infected your computer. Below, we have prepared a list with government websites, where you can file a report in case you are a victim of a cybercrime:
Cyber-security authorities, responsible for handling ransomware attack reports in different regions all over the world:
- Germany - Offizielles Portal der deutschen Polizei
- United States - IC3 Internet Crime Complaint Centre
- United Kingdom - Action Fraud Police
- France - Ministère de l'Intérieur
- Italy - Polizia Di Stato
- Spain - Policía Nacional
- Netherlands - Politie
- Poland - Policja
- Portugal - Polícia Judiciária
- Greece - Cyber Crime Unit (Hellenic Police)
- India - Mumbai Police - CyberCrime Investigation Cell
- Australia - Australian High Tech Crime Center
Reports may be responded to in different timeframes, depending on your local authorities.