WinSec ransomware virus: what it is and how to remove it
WinSec virus seems to target one specific group of netizens – Portuguese users. However, if it does not mean that residents of other countries should let their guard down.
Facts checked October 6, 2026. Removal steps tested on Windows 11 (26H2) and checked against Microsoft's and the browser makers' current documentation. Sections marked as our earlier report are the original text: they describe the threat as it was then and have not been reviewed since. The 2026 status, the removal steps and the questions are current.
Automatic
Get a free scan and check if your PC is infected.
Fortect finds malware, unwanted programs and the Windows damage they leave behind, and repairs it in one pass.
Make sure nothing will rename more files to .locked: an automatic scan checks the PC first.
Do it yourself · free Remove WinSec ransomware virus yourself 6 steps, about 18 minutes, no software needed.
Start the steps
WinSec ransomware virus: summary
| Detection names | No Microsoft detection name is known |
|---|---|
| Ransom note | Not recorded in our earlier report |
| Contact | Not recorded in our earlier report |
| Encrypted file extension | .locked |
| Decryptor | No free decryptor is known for this variant; check No More Ransom (nomoreransom.org) for updates |
| Distribution | Not recorded in the old report |
| Removal | Scan the PC with security software to find and remove the malware and anything installed with it. Fortect scans Windows for malware and repairs the system files and settings it damaged. Remove it nowTo use the full-featured product, you have to purchase a license for Fortect. The scan is free. |
Show 9 more facts
| Damage | Not recorded in the old report |
|---|---|
| Name | WinSec ransomware virus |
| Type | File-encrypting ransomware |
| Symptoms | Files renamed with a new extension |
| Evidence | 6 write-ups by security sites; details still limited |
| Encrypted files | .locked |
| Free decryptor | No free decryptor is known (checked 6 October 2026) |
| First seen | 13 April 2017 |
| Facts checked | 6 October 2026 |
What to search your PC and browser for
- File extension:
.locked
How WinSec ransomware virus behaves
From our report of Apr 2017 · not reviewed since
WinSec ransomware strikes at Portuguese users
WinSec virus seems to target one specific group of netizens – Portuguese users.
However, if it does not mean that residents of other countries should let their guard down. It is yet another virus created on the basis of open-source crypto-malware – HiddenTear . The internet has no borders so virus targeted at one group may soon spread into other cyber regions . Unintentionally users facilitate the distribution as well.
Speaking of this malware, its transmission frequency is still low, but it is already detectable by several security applications. It also contains quite unusual features but is said to use AES encryption method which unfortunately bothers the decryption process. If you accidentally happened to open the email attachment and activate this file-encrypting threat, find out how you can remove WinSec from the device.
Portuguese ransomware viruses are not a rarity. In the past, there were already a couple of viruses directed at this country's Internet users: CryptoLocker Portuguese virus, etc. There have been also poor imitations.
However, some of them even happen to be quite elaborate . WinSec malware seems to possess quite insidious features: once it gets into the system, it might trigger fake Windows error messages which might be presented as Windows Security alerts.
Likewise, if users notice winsec.exe file running on the system, they may not regard it as a fraudulent file. As a result, they accidentally pave way for the ransomware to operate without disturbance. Furthermore, WinSec malware does not indicate any email address for contacting the racketeers.
Instead, the program of the infection presents a box where users should enter their email and supposedly receive the decryption key. No specific amount of ransom is indicated so the sum varies each case. Needless to say, that we do not recommend contacting the cyber villains . Besides your computer, your email account might be hacked as well.
If you store your important documents in Google Docs, such WinSec hijack might be too severe. Speaking about data recovery, you might need to opt for alternative methods to restore documents which now contain .locked file extension. You can do it with the help of backup copies, shadow volume copies or data recovery programs. Some of the recommendations are provided below.

From our report of Apr 2017 · not reviewed since
How did the malware settle on my device?
Spam emails remain the most profitable and popular distribution methods.
Regardless of constant warnings, users still pay little attention when reviewing their spam folder. They should not get on the hook even if the emails are addressed to them directly. Some hackers may scare users with a subpoena from a court or tax refund emails . In such cases, restrain from opening the attached files and remove the email right away.
Alternatively, WinSec ransomware might occupy the device in the form of a trojan. Now it is detectable as Trojan.MSIL.Filecoder, Win32:Malware-gen, Troj.Ransom.W32.Foreign!c, Ransom_CRYPTEAR.SM, etc. Thus, you should combine your anti-virus with malware elimination utility, e.g. or , to improve the overall protection of the system. Now let us proceed to WinSec removal section.
How to remove WinSec ransomware virus
Tools you'll need
All of these are free except where noted. Download them on a clean device if the infected PC is offline.
- A USB stick: to keep the ransom note, two or three encrypted files and screenshots off the infected PC.
- Microsoft Defender Offline: built into Windows 11 and Windows 10; scans before Windows starts, so running malware cannot hide.
- Microsoft Safety Scanner: a second, portable scanner with current signatures; each download works for 10 days.
- ID Ransomware: identifies the family from the note and one encrypted file and says whether a decryptor exists.
- No More Ransom: the free decryptors from police and security companies; check it again every few months.
- Fortect (optional): scans Windows for malware and repairs the system files and settings it damaged. The free scan is in the box above.
How to remove WinSec ransomware virus and get your files back
Work in this order.
Disconnecting comes first, removal comes before any restore, and nothing here asks you to contact the attackers.
Step 1: Disconnect the PC and unplug backup drives
WinSec ransomware virus encrypts everything it can reach, including drives and shares you connect later. Cut the network first: cable out, or Wi-Fi off from the taskbar.
Then unplug every USB stick and backup disk and pause cloud sync, so the encrypted versions do not replace your online copies. Do not reconnect any of them until the ransomware is removed from the Windows 11 or Windows 10 PC.

Windows 11: turn off Wi-Fi to take the PC offline. Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files
Step 2: Save the ransom note and identify the family
Find the ransom note, usually a
.txt,.htmlor .hta file in every folder or on the desktop, and copy it with one or two encrypted files to a USB stick.From another device, upload them to ID Ransomware or No More Ransom's Crypto Sheriff, which name the family from the note and the file extension. Write down the contact address and your personal ID from the note for the report.
Warning: Never contact the attackers from the infected Windows 11 or Windows 10 PC.

Windows 11: the ransom note and encrypted files to copy for identification. Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files
Step 3: Check for a free decryptor
For WinSec ransomware virus, no free decryptor is known (checked 6 October 2026). Search the family name in the No More Ransom decryption tools list and in the free decryptors of Emsisoft, Avast and Kaspersky, because new tools appear years after an attack.
Important: Keep the encrypted files even if nothing works today, and do not pay before every free option is ruled out: payment does not guarantee a working key.
Decryptors run on Windows 11 and Windows 10, but only after the ransomware itself is removed.
Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files
Step 4: Remove the ransomware before you restore or decrypt
Restoring or decrypting files while WinSec ransomware virus still runs lets it encrypt them again. Run a Full scan in Windows Security > Virus & threat protection > Scan options, then the Microsoft Defender Antivirus (offline scan).
If the ransomware blocks Windows Security, start Safe Mode with Networking and scan from there. Some families install a password stealer as well, so let both scans finish on Windows 11 or Windows 10.

Windows 11: Windows Security > Virus & threat protection > Scan options. Full procedure with screenshots: Run a Microsoft Defender Offline scan
Step 5: Look for shadow copies of the files
Open Command Prompt as administrator and run
vssadmin list shadows. If it lists copies dated before the attack, right-click a folder with encrypted files in File Explorer, choose Properties > Previous Versions, and open or restore a version from before that date.ShadowExplorer, a free tool, shows the same copies when the tab is empty or hidden. Most current families delete shadow copies, so an empty list is normal, but the check takes two minutes on Windows 11 or Windows 10.

Windows 11: vssadmin list shadows shows whether shadow copies exist. Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files
Step 6: Restore the files from a backup or recover deleted originals
Restore from an external backup, File History or OneDrive's version history, choosing a date before the attack. Connect the backup drive only after the scans are clean, or the ransomware encrypts it too.
If there is no backup, file recovery software can sometimes find the deleted originals, because some ransomware writes an encrypted copy and deletes the original file.
Stop writing to the drive and try recovery on Windows 11 or Windows 10 before new files overwrite the space.
Full procedure with screenshots: Recover deleted files (Recycle Bin, backups, OneDrive) On uGetFix
Instructions for each browser and system
The detailed steps for every browser and system this guide covers. Open the one you use.
Manual removal using Safe Mode
Important! →
Manual removal guide might be too complicated for regular computer users. It requires advanced IT knowledge to be performed correctly (if vital system files are removed or damaged, it might result in full Windows compromise), and it also might take hours to complete. Therefore, we highly advise using the automatic method provided above instead.
Step 1. Access Safe Mode with Networking
Manual malware removal should be best performed in the Safe Mode environment.
Windows 7 / Vista / XP
- Click Start > Shutdown > Restart > OK.
- When your computer becomes active, start pressing F8 button (if that does not work, try F2, F12, Del, etc. - it all depends on your motherboard model) multiple times until you see the Advanced Boot Options window.
- Select Safe Mode with Networking from the list.

Windows 10 / Windows 8
- Right-click on Start button and select Settings.

- Scroll down to pick Update & Security.

- On the left side of the window, pick Recovery.
- Now scroll down to find Advanced Startup section.
- Click Restart now.

- Select Troubleshoot.
- Go to Advanced options.

- Select Startup Settings.

- Press Restart.
- Now press 5 or click 5) Enable Safe Mode with Networking.

Step 2. Shut down suspicious processes
Windows Task Manager is a useful tool that shows all the processes running in the background. If malware is running a process, you need to shut it down:
- Press Ctrl + Shift + Esc on your keyboard to open Windows Task Manager.
- Click on More details.

- Scroll down to Background processes section, and look for anything suspicious.
- Right-click and select Open file location.

- Go back to the process, right-click and pick End Task.

- Delete the contents of the malicious folder.
Step 3. Check program Startup
- Press Ctrl + Shift + Esc on your keyboard to open Windows Task Manager.
- Go to Startup tab.
- Right-click on the suspicious program and pick Disable.

Step 4. Delete virus files
Malware-related files can be found in various places within your computer. Here are instructions that could help you find them:
- Type in Disk Cleanup in Windows search and press Enter.

- Select the drive you want to clean (C: is your main drive by default and is likely to be the one that has malicious files in).
- Scroll through the Files to delete list and select the following:
Temporary Internet Files
Downloads
Recycle Bin
Temporary files - Pick Clean up system files.

- You can also look for other malicious files hidden in the following folders (type these entries in Windows Search and press Enter):
%AppData%
%LocalAppData%
%ProgramData%
%WinDir%
After you are finished, reboot the PC in normal mode.
From our report of Apr 2017 · not reviewed since
WinSec elimination guidelines
Whether it is more elaborate or quite weak ransomware, manual termination might be futile.
Use security apps to remove WinSec virus. If either anti-virus or malware elimination utility is shut down forcefully, look up the below instructions to regain full access. Then, you will be able to proceed with WinSec removal.
Note that security applications do not restore encrypted files. take a look at the bottom of the page. Under "Bonus: Recover your data," you might find useful tips.
[GI=method-2]If Safe Mode with Networking fails to restore access, you might need to opt for System Restore.
The authors of software claim for it to be able to restore users files and even emails.
Try Windows Previous Versions function
Though this method is less elaborate, but it might help you restore some of the files. Note that it takes time.
Expklore the usefulness of Shadow Explorer
This program might help you recover the files encrypted by WinSec virus. It locates shadow volume copies and restores your valuable documents based on them.
Report it and recover your files
Report it
Report the attack even if you do not expect the files back: insurers and banks ask for the report number, and police use the contacts in the note to link cases.
- United States
- FBI IC3 · FTC ReportFraud
- United Kingdom
- Report Fraud (formerly Action Fraud) · NCSC
- Australia
- ReportCyber (ASD)
- EU countries
- Europol: national reporting sites
Give the victim ID, the note and the date the files were encrypted. A business that holds personal data may also have to notify its data protection authority, in the EU within 72 hours.
Make the next attack harmless
WinSec ransomware virus could only hurt the files that had no second copy, and the signs (files that end in .locked and no longer open) showed exactly which ones those were. The 3-2-1 rule fixes that:
- three copies
- two media
- one disconnected
A practical version for a home PC: OneDrive or another cloud backup with version history, plus an external disk that you plug in once a week for File History and then unplug. Test a restore now and then by opening a few files from the backup on another device.
Details, schedules and what not to back up are in our 3-2-1 backup guide for Windows.
Choose a proper web browser and improve your safety with a VPN tool
Online spying has got momentum in recent years and people are getting more and more interested in how to protect their privacy online.
One of the basic means to add a layer of security - choose the most private and secure web browser. Although web browsers can't grant full privacy protection and security, some of them are much better at sandboxing, HTTPS upgrading, active content blocking, tracking blocking, phishing protection, and similar privacy-oriented features.
However, if you want true anonymity, we suggest you employ a powerful VPN - it can encrypt all the traffic that comes and goes out of your computer, preventing tracking completely.
Lost your files? Use data recovery software
While some files located on any computer are replaceable or useless, others can be extremely valuable.
Family photos, work documents, school projects - these are types of files that we don't want to lose. Unfortunately, there are many ways how unexpected data loss can occur:
- power cuts
- Blue Screen of Death errors
- hardware failures
- crypto-malware attack
- even accidental deletion
To ensure that all the files remain intact, you should prepare regular data backups. You can choose cloud-based or physical copies you could restore from later in case of a disaster. If your backups were lost as well or you never bothered to prepare any, can be your only hope to retrieve your invaluable files.
Questions about WinSec ransomware virus
Is there a decryptor for .locked files?
That depends on the family behind the .locked extension, which this guide cannot confirm yet from the reports alone. Check No More Ransom and ID Ransomware with your ransom note and one encrypted file; they list families with free tools.
If none exists today, keep the encrypted files and a copy of the note on a separate drive, because decryptors are sometimes published months later after flaws are found or servers are seized. Never buy a decryptor from a website that is not the security company that made it.
How do I open .locked files?
You cannot open them by renaming or by choosing another program. The .locked ending shows that WinSec ransomware virus encrypted the content, and only the matching key can reverse it. Renaming a file back to .docx or .jpg changes nothing except the icon, and it can confuse a future decryptor, so leave the names as they are.
To get the content back, use a backup, an unencrypted copy elsewhere, or a decryptor listed on No More Ransom if one exists for WinSec ransomware virus. Store the encrypted files on an external disk until then.
Can a data-recovery company decrypt my files for a fee?
Only if a decryptor already exists or the company pays the attackers for you. Some "ransomware recovery" services advertise that they can decrypt families with no known flaw; in practice they negotiate with the attackers and add their own fee. Others use the same free tools listed on No More Ransom.
Before you hire anyone, ask in writing how they will recover the files, whether they will contact the attackers and what happens if they fail. A legitimate service answers clearly. If a free decryptor exists for your family, you can run it yourself.
Should I pay the ransom?
We advise against it, and so do the FBI, Europol and national cyber agencies. Payment does not guarantee a working tool: some attackers never reply, some tools damage files, and some variants have no decryptor at all. Paying also funds further attacks and can make you a target again.
Before considering payment, try every recovery option in this guide and report the attack. Companies must involve their legal adviser and insurer, because payments to sanctioned groups can be illegal. If files are truly irreplaceable, store the encrypted copies and wait; decryptors sometimes appear later.
How did WinSec ransomware virus get on my computer?
The way WinSec ransomware virus spreads has not been documented yet, so look at your own recent activity. On home PCs, ransomware most often comes with cracked programs, game cheats, key generators and fake updates, or with an e-mail attachment that was opened. On business networks, attackers usually log in through Remote Desktop with a stolen or guessed password.
Think back to what was downloaded or installed in the days before files that end in .locked and no longer open, and check the Downloads folder and Installed apps sorted by date. Keep anything suspicious for your report, but do not run it again.
Did WinSec ransomware virus steal my files or passwords?
We do not know yet. Nothing published so far shows data theft by WinSec ransomware virus, but the only confirmed sign is files that end in .locked and no longer open, which says nothing about what happened before. Many current ransomware attacks copy files or run a password stealer first, so it is wise to act as if they did.
From a clean device, change the passwords that were saved in the browsers on this PC, starting with e-mail and banking, sign out of all sessions and turn on two-step verification. Watch bank statements and account activity for the next few weeks.
Is WinSec ransomware virus the same as other ransomware with a similar name?
Not necessarily. Ransomware names come from the file extension, the note or a word in the code, so unrelated families often end up with similar names, and one family can appear under several names. The difference matters: a decryptor or advice for one family does not fit another and can damage files.
Compare the ending added to your files and the exact name of the note with the summary table at the top of this guide, then upload the note and one encrypted file to ID Ransomware from a clean device. If the result names another family, follow the guide for that family instead.
My files got .locked overnight. What happened?
Ransomware often runs at night or when the PC is idle, so the encryption finishes before anyone notices. It usually entered earlier through a cracked program, a fake installer, an e-mail attachment or remote desktop with a weak password.
The .locked extension marks every file it reached. Start by disconnecting the PC from the network, then identify the family from the ransom note and one encrypted file, check for a decryptor, and look for copies in backups and OneDrive before you consider anything else.
If I delete WinSec ransomware virus, do my files come back?
Unfortunately not. Deleting the program only ends the attack; every file that already has the .locked ending stays encrypted, because decryption needs a key that only the attackers hold.
That is why this guide separates removal from recovery. First make sure WinSec ransomware virus is gone with an offline scan, then work through the recovery list:
- backups
- OneDrive history
- Previous Versions
- copies on other devices and
- if one exists
- a decryptor
Do not rename or edit the encrypted files in the meantime, and keep them even if nothing works today.
Will Fortect remove WinSec ransomware virus?
Fortect scans Windows for malware and unwanted programs and repairs the system files and settings they change, and its free scan shows what it finds on your PC before you decide anything.
For WinSec ransomware virus, follow the plan above as well: the browser steps take back permissions and settings that no scanner treats as a threat, and uninstalling the program that brought it removes the source.
Run Microsoft Defender's full scan and, if anything was found, its offline scan as a second opinion. If the symptoms are gone after the plan and both scans are clean, there is nothing more to do.
Sources
- ZDNet: US disrupts giant botnet used for spam and ransomware (read October 6, 2026)
- CISA: StopRansomware (read October 6, 2026)
- No More Ransom (read October 6, 2026)
- FTC: How to recognize, remove and avoid malware (read October 6, 2026)
- Microsoft Learn: Microsoft Defender Offline (read October 6, 2026)