Ransomware is malicious software that encrypts your files and then demands payment for the key that unlocks them. It is one of the most damaging attacks a person or a business can face, because it doesn't just take a copy of your data: it takes the data away from you.
What ransomware does
Most malware tries to stay hidden for as long as it can, quietly stealing passwords or spying on you. Ransomware wants to be noticed. Once it runs, it works through your documents, photos, source code and databases, encrypting each one. When it is finished, it leaves a ransom note, usually a text file in every folder or a message on the desktop, saying the files are locked and explaining how to pay.
The files are still on your disk. They keep their names, sometimes with a new extension added, but their contents are scrambled. Open one and you get an error or gibberish. That is what makes ransomware feel so personal: the attacker hasn't carried your things off, they have put them behind glass, where you can see them but not use them.
Why encryption makes it hard to undo
Encryption is the same tool that protects your bank login and your messages. It turns readable data into scrambled data using a key, and only the right key turns it back. Good encryption is designed so that guessing the key would take longer than anyone could wait, and ransomware uses exactly that kind of encryption against you.
A typical design works in two layers:
- The ransomware creates a fast symmetric key and encrypts your files with it.
- It then encrypts that key with the attacker's public key, so only the matching private key can unlock it. That private key never touches your machine.
So nothing left on your computer can undo the damage. Without the attacker's key, getting the files back means restoring them from a copy kept somewhere else, or hoping this ransomware has a flaw. Some do: security researchers and police have released free decryptors for strains with weak encryption or seized keys. They are worth checking, but they are the exception, not a plan.
How it gets in
Ransomware is a payload: something else has to deliver it. The common routes are:
Wondering how this was made? How we make these