Skip to content Skip to navigation Skip to footer

Ransomware Prevention

Cyber criminals use ransomware to take over your computer for the purpose of extorting money from you. Once the malware has been installed, the hacker controls your computer, freezing you out of it until you pay a specific sum. The attacker will claim that after you make the payment, you will get a decryption key you can use to regain control of your computer. 

Ransomware attacks have crippled entire organizations for hours, days, or longer. Fortunately, there are ways to prevent ransomware from getting onto your computer, as well as steps you can take if an attack is successful.

Never Click on Unverified Links

How to protect from ransomware? If a link is in a spam email or on a strange website, you should avoid it. Often, hackers spread ransomware through a malicious link that initiates a malware download. Once the malware is on your computer, it can encrypt your data, holding it hostage, only allowing someone with a decryption key to access it.

However, the malware has to get on your computer first, and the most popular method of spreading ransomware is through a malicious link. If a link has not been verified, it is best to leave it alone.

Scan Emails for Malware

How to stop ransomware virus or other malware starts with scanning email communications. Email scanning tools can often detect malicious software. After the scanner has detected malware, the email can be discarded, never even reaching your inbox. 

Typically, the malware in the email will be embedded in an attachment or inside a file within the body of the email. Hackers have been known to insert images that appear innocent, but when you click on the image, it installs ransomware on your computer. 

Scanning for emails with these kinds of files can prevent your device—or others on your network—from getting infected.

Use Firewalls and Endpoint Protection

Firewalls can be a good solution as you figure out how to stop ransomware attacks. Firewalls scan the traffic coming from both sides, examining it for malware and other threats. In this way, a firewall can ascertain where a file came from, where it is headed, and other information about how it traveled and then use that to know whether it is likely to contain ransomware. 

Further, a next-generation firewall (NGFW) can use deep packet inspection (DPI) to examine the contents of the data itself, looking for ransomware and then discarding any file that has it.

With endpoint protection, individual endpoints are shielded from threats. There are certain types of traffic that are more prone to carrying threats, and endpoint protection can keep your device from engaging with those kinds of data. Also, hackers may use malicious applications to infect your endpoints with ransomware. Endpoint protection will prevent designated endpoints from running these kinds of applications.

Only Download from Trusted Sites

It is common for hackers to put malware on a website and then use content or social engineering to entice a user to click within the site. Social engineering applies pressure on the user, typically through fear, to get them to take a desired action—in this case, clicking a malicious link.

In many cases, the link itself may look innocent. If you are not familiar with the site or if its Uniform Resource Locator (URL) looks suspicious even though it appears to be a trusted site, you should steer clear. Cyber criminals often create fake sites that look like a trusted one. Always double-check the URL of a site before downloading anything from it.

Keep Backups of Important Data

Ransomware attackers like to take advantage of users who depend on certain data to run their organizations. Often, because the data plays an integral role in daily operations, a victim may feel it makes more sense to pay the ransom so they can regain access to their data. You can avoid this temptation by backing up your important data on a regular basis.

If your data is backed up to a device or location you do not need your computer to access, you can simply restore the data you need if an attack is successful. It is important to make sure you back up all critical data frequently because if enough time goes by, the data you have may be insufficient to support your business’s continuity.

Use a VPN When Using Public Wi-Fi

Public Wi-Fi is convenient because it is easy to get onto, often without a password. Unfortunately, it is just as easy for hackers to use public Wi-Fi to spread ransomware. Whenever you are on a public Wi-Fi network, you should use a virtual private network (VPN).

A VPN encrypts the data flowing to and from your device while you are connected to the internet. In effect, a VPN forms a “tunnel” that your data passes through. To enter the tunnel, a user has to have an encryption key. Also, to read data that goes through the tunnel, a hacker would need to decrypt it. To block ransomware, a VPN keeps outsiders from sneaking into your connection and placing malware in your path or on your computer.

Use Security Software

Security software can be a powerful tool in ransomware prevention. Therefore, it is often listed among the best practices to prevent ransomware. Security software checks the files coming into your computer from the internet. When a malicious file has been detected, the software prevents it from getting into your computer.

Security software uses the profiles of known threats and malicious file types to figure out which ones may be dangerous for your computer. To stay current, security software often comes with free regular updates. These can be installed automatically by the provider. As the provider becomes aware of new threats, their profiles are included in the update. As long as you make sure your software is updated periodically, you will have the best protection the software can provide.

Do Not Use Unfamiliar USB Devices

A Universal Serial Bus (USB) device can be used to store a malicious file that could contain ransomware. Whether the USB has an executable file on it that can infect your computer or the file is launched automatically when you insert the USB device, it can take very little time for an apparently benevolent USB to capture your computer.

Cyber criminals may leave a USB device laying around, knowing that some people may be tempted to pick it up and insert it into their computers. The criminal may even print a seemingly innocent label on it, making the device look like a free gift from a reputable company. If you ever find a USB device, do not insert it into your computer. The safest USBs are those purchased from a store and sealed inside intact packaging.

Avoid Giving Out Personal Data

With the right personal data, a cyber criminal can set a variety of traps to get ransomware on your computer or trick you into installing it on your device yourself. People often use the same passwords for their computers as they do for websites and accounts. A cyber criminal can use your personal data to gain access to an account, and then use that password to get into your computer and install ransomware.

If you avoid giving out personal data, you make it far more difficult for an attacker to levy this kind of attack, particularly because they would have to find another way to figure out your passwords or other account information. Personal data also includes the names of people, pets, or places that you use as the answers to security questions for your accounts. 

How to Respond to Ransomware Attacks

Just because a ransomware attack has made it onto your computer or network does not mean there is nothing you can do to improve the situation. You can often limit the damage of ransomware by quickly taking action.

Isolate

Isolating the ransomware is the first step you should take. This can prevent east-west attacks, where the ransomware spreads from one device to another through their network connections. You should first shut down the system that has been infected. Shutting it down prevents it from being used by the malware to further spread the ransomware. 

You should also disconnect any network cables attached to the device. This includes anything that connects the infected device to the network itself or devices on the network. For example, your device may be connected to a printer that is linked to the local-area network (LAN). Unplugging the printer can prevent it from being used to spread the ransomware.

In addition to hardware cables, you should also turn off the Wi-Fi that serves the area infected with the ransomware. The Wi-Fi connection can be used as a conduit to spread the ransomware to other devices connected to the same Wi-Fi network. Shutting it down can stop this kind of east-west spread before it begins. However, if it has already begun by the time you realize the computer has been infected, cutting off Wi-Fi can prevent it from spreading further.

Storage devices connected to the network need to be immediately disconnected as well. The ransomware can potentially find the storage device and then infect it. If that happens, any device that connects to the storage system may get infected. This may happen immediately or at some point in the future. Therefore, if you have been a victim of a ransomware attack, it is important to assume each storage device has been infected and clean them before allowing any devices in your network to attach to them.

Identify

The next step is to ascertain the type of malware used to infect your system with ransomware. In some cases, knowing the kind of malware used can help an incident response team find a solution. The decryption keys of some ransomware attacks are already known, and knowing the type of malware used can help the response team figure out if the decryption key is already available. If it is, they can use it to unlock your computer, circumventing the attacker’s objective.

Also, the kind of malware may help determine other ways of dealing with the threat. To understand your remediation options, your IT team or outside consultant will need to know what kind of malware they are dealing with, making early identification a critical step.

Remove the Malware

It may go without saying that you need to remove the malware, but the necessity of this step is less important than its timing. It is important to only try to remove the malware after the previous steps, isolation and identification, have been performed. If you try to remove the malware before isolating it, it could use the time you take to uninstall it to spread to other devices connected to the network.

Also, if you remove the malware before it can be identified, you may miss out on the opportunity to gather information about it that could be useful to your incident response team, external consultants, or law enforcement.

Once you have taken the preceding steps, removing the malware can prevent it from getting to other devices. Even though the computer is no longer connected to the network, the malware could be spread at a later date if it is not removed.

Recover the Data

As soon as the attack has been contained and your computer has been secured and cleaned, you should start recovering your data. This can help ensure business continuity and improve your resiliency, particularly if the data was recently backed up.

Successful data recovery depends on a data recovery program put in place prior to the attack. If the data is backed up multiple times a day, for example, an attack will only set you back a few hours, at worst. You can use cloud-based services or on-premises hardware to back up your data—as long as whatever service you use can be accessed from a different device. Ensuring access may require storing login information securely instead of merely on the devices that access the backup storage.

Never Pay the Ransom

When a ransomware attack has taken hold, it can be tempting to pay the ransom. A user may reason that they are losing more money than the attacker is asking for as time goes by. For example, if critical systems are shut down and customers cannot make purchases, the losses could easily get into the thousands. If the attacker is asking for a few hundred dollars, you may feel paying would be the prudent choice. However, this is not the case.

Similar to hijackers and terrorists who hold humans captive, hackers depend on ransomware attacks successfully extorting the victims. If enough users refuse to pay the ransom, attackers may think twice before using ransomware, investing their energies in a potentially more profitable venture. Therefore, when you refuse to pay the ransom, you are helping others who could be targets in the future.

Also, if you pay one time, attackers know you are likely to pay again when faced with a similar situation. So when you pay, you may identify yourself as a potentially lucrative target for future attacks.

When Should You Pay the Ransom? (And When Not To Pay)

Generally speaking, you should never pay the ransom. Paying can tell the attacker they can get away with extorting you, causing them to return for a second attack later on. It also harms others in that it sends a message to the hacker community that ransomware is still an effective attack vector. Also, keep in mind that once you pay the ransom, there is no guarantee the attacker will allow you back onto your computer.

However, saying no can be easier said than done, especially when you are without an adequate backup or resiliency plan. While it is never advisable to pay the ransom, you may have to weigh the consequences before making a final decision. You may want to consider the following factors:

  1. How much it will cost to recover lost data
  2. Whether your cyber insurance—if you have any—can help defray some of the cost
  3. How much it will cost to rebuild systems that have been destroyed by the attack

How Fortinet Can Help

The Fortinet FortiMail solution protects your network from email and phishing attacks hackers use to put ransomware on your computer. FortiMail protection extends to both inbound and outbound traffic. As traffic tries to enter your email system, FortiMail inspects it, checking for threats. If a threat is detected, FortiMail can stop an outbreak from happening or use sandbox analysis to trap and then enable the IT team to study the threat. FortiMail can also detect when someone is trying to impersonate a trusted contact to launch a phishing or whale-phishing attack.

Additionally, FortiMail can integrate with your existing email system, making it a convenient choice for a wide variety of users. FortiMail works with Microsoft Exchange, Google Workspace (formerly G Suite), Microsoft 365, and other email providers, regardless of whether they are on-premises or hosted in a cloud environment.