<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=325921436538399&amp;ev=PageView&amp;noscript=1">
Skip to the main content.

Create an account on our custom learning platform, Foundry™, to access our free and premium content.

Create Free Account

 

New call-to-action

2 min read

​​Common Types of Malware—and How to Defend Against Them

Common Types of Malware—and How to Defend Against Them

Malware, which is short for malicious software, is any software that is designed to cause damage to computer systems, networks, or devices. Malware can take many different forms, including viruses, worms, trojan horses, ransomware, and spyware.

In this blog, we’ll discuss three of the most common types of malware.

Viruses

A virus is a type of malware that is designed to replicate itself and spread to other computers or devices. Viruses can be spread through email attachments, file downloads, or infected software. Once a virus infects a computer, it can cause a variety of problems, including data loss, system crashes, and performance issues.

Some viruses can also be used to steal sensitive information, such as login credentials or financial data. Fun fact: this self spreading behavior is also referred to as “worm” behavior or a “Worm Virus.” 

Trojans

A trojan, or trojan horse, is a type of malware that is disguised as legitimate software. Trojans are typically spread through email attachments, file downloads, or infected websites. Once a trojan is installed on a computer, it can perform a variety of malicious activities, such as stealing sensitive information, opening backdoors to allow remote access to the system, or installing additional malware. Unlike viruses, which can replicate themselves, trojans cannot. They usually have to be executed by a user.

Ransomware

Ransomware is a type of malware that encrypts your files and demands payment in exchange for the decryption key. Ransomware can be spread through email attachments, file downloads, or infected websites. 

Ransomware is one of the louder and more overt forms of malware, as a message is displayed upon infection to let victims know their files are locked and will remain encrypted unless a payment is made. Otherwise, threat actors usually threaten to permanently delete the files or refuse to decrypt them—or even threaten to release the files publicly online in a move called double extortion.

Defending Against Malware

There are a few simple steps you can take to protect yourself against malware.

1. Use antivirus software.

Installing antivirus software is a no-brainer when it comes to defending against malware. Choose software released by a reputable organization, and make sure to keep the software up-to-date. 

It’s important to note that antivirus software can only defend against known malware. Antivirus software checks for known malicious code, so it can’t properly defend against brand new threats (such as 0-days) until the antivirus provider updates the software with additional indicators. They’re usually pretty quick about getting those new signatures out to customers, so all the more reason to make sure your software is up to date.

2. Exercise caution when opening attachments.

There’s a reason why verify, then trust is a common phrase you’ll hear in cybersecurity.

Don’t interact with emails when you don’t recognize the sender. Many forms of malware take hold because an unknowing recipient opens an attachment, which includes a malicious executable that runs—or even runs in the background without the user knowing it. If an email attachment or text message with a file download looks sketchy, just play it safe and don’t click it. 

3. Back up your data regularly.

Make sure you’re backing up your files regularly so that if your device does become infected with malware, it’ll be easier to get back up and running. Ideally, backups will be isolated and on a different computer than the one you’re currently using. That way, if the virus goes in search of your backups, it won’t be able to find them. An example might be using an external hard drive that you disconnect from your computer once a backup is complete. You could also use web options like Microsoft’s OneDrive or Google Drive to stash your stuff.

Want to learn more cybersecurity basics? Check out our free Foundations course!

New call-to-action

Building Strong Cyber Foundations: Going Beyond Cybersecurity 101

Building Strong Cyber Foundations: Going Beyond Cybersecurity 101

In a field that evolves as fast as cybersecurity, having a solid foundation is crucial for success. While many introductory courses provide a basic...

Read More
Alumni Spotlight: Kelly Ngo-Bakam and Odniel Gonzalez

Alumni Spotlight: Kelly Ngo-Bakam and Odniel Gonzalez

It's that time again—time for us to brag on two more of our alumni.

Read More
Meet the Newest Level Effect Team Members!

Meet the Newest Level Effect Team Members!

Not so long ago, two cyber nerds met at the NSA and set out to “do a startup.” Their goals were twofold: They wanted to create a network-aware...

Read More