Ransomware is a type of malware, which means harmful software. Criminals use it to lock you out of your computer or your files. Then, they show a message on your screen demanding money—a ransom—to give your access back.
When ransomware gets onto a computer, it often encrypts your files. Encrypting means scrambling the information with a secret code so you cannot open your photos, documents, or folders. The criminals promise to send you the key to unscramble your files if you pay them.
What to do right now if your files are locked
If you see a ransom message on your screen or cannot open your files, take these steps in order:
First steps if you suspect ransomware
0 of 7 done
If you need help cutting the connection, here is how to disconnect from the internet quickly.
Once you are using a different, safe device, change your passwords for important accounts like your email and bank.
If you tapped a web address inside a strange message, follow our checklist on what to do if you clicked a scam link.
How ransomware gets onto a device
Ransomware usually hides inside something that looks ordinary. It often arrives through phishing, which is when criminals send fake emails or messages that look like they come from a company you trust.
You might get an email with an attachment that looks like an invoice, a receipt, or a Word document. When you open the attachment, or click a link in the message, the harmful software quietly installs itself on your computer.
Invoice 48213 is overdue
From: billing@invoice-center.example
to me
Red flags in this message
Warning signs of ransomware
Aside from a message demanding money, there are a few other signs that ransomware is on your computer:
Your file names or icons look different, or have strange new letters at the end (like
.lockedor random letters).Your documents and photos are missing from their usual folders.
Criminals may also use an infostealer program to secretly copy your passwords and personal details.
How to lower your risk
A few habits make ransomware much easier to recover from.
Keep a backup copy of your important files. A backup is a spare copy of your photos and documents stored somewhere separate, like on an external hard drive. Unplug the backup drive when you are not using it. If ransomware locks your computer, your unplugged backup copy stays safe.
Keep your computer software updated. Updates fix weak spots that criminals use to sneak malware onto your device.
Do not open unexpected attachments. If a company sends you an unexpected bill or document by email, call them using a phone number you know is real before you open the file. If you open an email with a bill you did not expect, read what to do if you receive an unexpected invoice attachment before you open any files.
Common questions
Should I pay the ransom to get my files back?
Law enforcement agencies, including the FBI, do not support paying a ransom. Paying criminals does not guarantee they will give you a working key to unlock your files. Even if you pay, they may ask for more money or still refuse to return your information. A free tool to unlock your files may exist for some kinds of ransomware at nomoreransom.org, though not every type has a solution.
Can criminals still use my files if I pay?
Yes. Some criminals copy your files before they lock them. Even if you pay the ransom, you have no way to know if they deleted their copy or if they will still share or sell your information.
Can I just plug in my backup drive to copy my remaining files?
No. Do not plug an external drive into an infected computer. The ransomware can spread to the drive you plug in and lock the files on that drive too.