How to avoid the massive WannaCry ransomware attack

On Friday a major piece of malware hit the web, and throughout the weekend infected hundreds of thousands of computers, taking down everything from businesses to the U.K.’s National Health Service. The software, dubbed WannaCry 2.0, is what’s known as ransomware.

A type of malware that burrows into your computer, ransomware encrypts the files on your machine, keeping you from being able to access them. The malware’s creator then asks that you to pay a fee to unlock your data.

The first round of the WannaCry 2.0 attack seems to have passed. But chances are the creator, or some other hacker, will repurpose the malware and send it back into the wild again.

Here’s how can you avoid this software, and what can you should if your machine is infected. The biggest tip I can give you is to simply keep your computer’s software updated.

And of course, never pay these ransoms.

Ransom?

Let’s start with the basics. A particularly nefarious form of malware, ransomware is a piece of software criminals use to lock you out of your computer by encrypting its files and holding them for ransom for a specific dollar amount. WannaCry 2.0 uses a vulnerability in Microsoft’s (MSFT) Windows operating system to attack users’ computers.

The vulnerability was originally made public when a hacking group released the exploit online, claiming to have stolen software exploits from the National Security Agency.

If your machine is infected, and you don’t pay up, you can potentially say goodbye to your photos, tax documents, pay stubs, and any other documents you’ve saved throughout the years.

This isn’t some idle threat, either. If you don’t pay, your documents will disappear or simply stay locked up until you completely reformat your system.

Ransomware programs sometimes require you to pay in Bitcoin, an anonymous currency that can’t be tracked.

However, criminals have increasingly begun demanding payment in the form of iTunes or Amazon gift cards, since the average person doesn’t know how to use Bitcoin, according to McAfee’s Gary Davis.

The amount you have to pay to unlock your computer can vary, with some experts saying criminals will ask for up to $500.

To be clear, ransomware doesn’t just target Windows PCs. The malware has been known to impact systems ranging from Android phones and tablets to Linux-based computers and Macs.

Where it comes from

According to Davis, ransomware was actually popular among cybercriminals over a decade ago. But it was far easier to catch the perpetrators back then since anonymous currency like Bitcoin didn’t exist yet. Bitcoin helped changed all that by making it nearly impossible to track criminals based on how victims pay them.