Cyber security
What Is Malware? Types, Examples and How to Stay Protected
What is malware? It's any software built to harm a device, a network or the people who use them. It can steal data, lock files, record what staff type or hand control of a machine to an attacker.
Email is one of the most common routes in.
Overview
The word is short for malicious software. It's an umbrella term, so viruses, ransomware, Trojans and spyware are all types of malware rather than separate threats.
For a business, the damage rarely stops at one infected laptop. Malware sits behind most serious cyber attacks, and the cost shows up as downtime, lost data, regulatory exposure and difficult conversations with clients.
This guide covers how it works, the main types and real examples. Our steps to protect your business from malware go deeper on the practical rollout once the basics are clear.
What Is Malware Designed to Do Inside a Business?
Malware is designed to make money for an attacker or to cause disruption, and often both. Most strains aim to steal something valuable or lock something you can't work without, such as passwords, client data, banking details or your file server.
The goals usually fall into five groups.
- Stealing logins so attackers can get into email, Microsoft 365 or banking portals
- Copying client or financial data to sell, leak or use for fraud
- Encrypting files and servers, then demanding payment for the key
- Watching activity to time a fraud, such as a fake invoice sent mid-transaction
- Using your devices and bandwidth for other attacks or for crypto mining
Modern malware is rarely a lone program. Attackers chain several types together, with one piece getting in, a second stealing passwords and a third doing the final damage.
How Does Malware Get Into a Business Network?
Malware usually gets into a business through an inbox, an unpatched system or a stolen password. Email is one of the most common routes in, with an attachment or link doing the first stage of the job while the person who clicked sees nothing unusual.
The main entry points are these.
- Email attachments and links disguised as invoices, delivery notices or shared documents
- Unpatched software, where attackers exploit a known flaw in a server, firewall or app
- Stolen or reused passwords on remote access tools and cloud accounts without multi-factor authentication
- Fake software updates, cracked programs and malicious browser extensions
- USB drives and personal devices plugged into work machines
- A compromised supplier or IT tool that already has trusted access
Because so much malware arrives by email, it pays to understand the main types of phishing attack and how they differ before one lands in a shared inbox.
What Are the Main Types of Malware?
The main types of malware are viruses, worms, Trojans, ransomware, spyware, infostealers, keyloggers, adware, rootkits, botnet malware and fileless malware. Each type is defined by how it behaves once inside, and most real attacks combine two or three of them.
| Type of Malware | What It Does | How It Usually Spreads |
|---|---|---|
| Virus | Attaches to a legitimate file or program and runs when that file is opened | Infected files, downloads, shared drives |
| Worm | Copies itself across a network without anyone clicking anything | Unpatched network services |
| Trojan | Poses as useful software while opening a door for other malware | Fake downloads, email attachments |
| Ransomware | Encrypts files and systems and demands payment, often after copying the data first | Phishing, stolen remote access logins, other malware |
| Spyware | Monitors activity, browsing and communications without consent | Bundled software, Trojans |
| Infostealer | Harvests saved passwords, browser cookies and login sessions | Phishing, fake installers |
| Keylogger | Records keystrokes to capture passwords and messages | Trojans, malicious attachments |
| Adware | Pushes unwanted ads and can redirect browsers to harmful sites | Free software bundles |
| Rootkit | Hides deep in the operating system to keep an attacker's access hidden | Installed by other malware |
| Botnet malware | Turns a device into one node in a network the attacker controls | Worms, Trojans, weak device passwords |
| Fileless malware | Runs in memory using built-in tools like PowerShell, leaving little on disk | Malicious documents and scripts |
Infostealers are worth singling out. They don't damage anything visible. They quietly lift saved passwords and active login sessions, which attackers then use to walk into cloud accounts as if they were a member of staff.
3 Real Malware Examples That Show How Attacks Unfold
Three well-documented attacks show the main patterns. WannaCry spread on its own across unpatched networks, Emotet got in through email and delivered other malware, and the 2021 HSE attack showed how long attackers can sit inside a network before striking.
1. WannaCry Ransomware Worm (2017)
WannaCry was ransomware that behaved like a worm. In May 2017 it spread automatically between Windows machines through a known flaw in file sharing, encrypting files as it went.
Microsoft had released a patch for that flaw before the outbreak. The machines hit hardest were the ones that hadn't been updated.
2. Emotet Trojan Loader
Emotet began as banking malware and grew into one of the most widespread malware loaders in circulation. It typically arrived through emails carrying infected Word documents.
Its real job was opening the door for other malware, including ransomware, once it was inside. Europol coordinated an international takedown of its infrastructure in January 2021.
3. HSE Conti Ransomware Attack (2021)
The attack on the HSE is the clearest Irish example of malware hiding before it strikes. The independent post-incident review by PwC traced the first infection to a malicious Excel file attached to a phishing email.
That file was opened on a single workstation on 18 March 2021. The Conti ransomware wasn't executed until 14 May, close to eight weeks later, and the HSE switched off its IT systems nationwide to contain it.
7 Warning Signs of a Malware Infection on Business Devices
The warning signs of malware are often small and easy to dismiss as an ordinary IT glitch. Watch for changes in how devices, accounts and files behave, especially when several appear at once.
- Devices slowing down, crashing or running fans hard with nothing open
- Security software switched off or failing to update
- Unfamiliar programs, browser extensions or pop-ups
- Login alerts, MFA prompts or password resets nobody requested
- Sent emails or inbox rules that staff don't recognise
- Files renamed with odd extensions or suddenly impossible to open
- Unusual outbound traffic or large uploads outside working hours
One sign alone may be nothing. Two or three together on the same device or account should be treated as an incident until proven otherwise.
How to Stay Protected From Malware
Staying protected from malware means layering controls so that one failure doesn't become a breach. No single product stops everything, but patching, multi-factor authentication, email filtering, endpoint detection and tested backups close off the routes covered above.
| Control | What It Protects Against |
|---|---|
| Prompt patching of operating systems, apps and firewalls | Worms and exploits of known flaws |
| Multi-factor authentication on email, remote access and cloud apps | Stolen and reused passwords |
| Email filtering and attachment sandboxing | Phishing attachments and malicious links |
| Endpoint detection and response (EDR) | Fileless malware and attacker activity after the first infection |
| Offline or immutable backups, tested regularly | Ransomware and data destruction |
| Least-privilege access for staff accounts | Malware spreading with admin rights |
| Staff awareness training | Clicks on convincing phishing emails and fake updates |
Backups decide how fast you recover. If ransomware reaches every copy, the business is negotiating from a weak position, so keep at least one copy offline or immutable through a managed backup and recovery service and test restores on a schedule.
Staff matter just as much as tools. Short, regular training on what a suspicious attachment or login prompt looks like turns your team into an early warning system.
For a free baseline, the National Cyber Security Centre's cyber security guidance for small businesses sets out practical measures and a checklist you can work through with your IT provider.
What to Do If You Suspect Malware on a Business Device
If you suspect malware, isolate the device from the network straight away and contact your IT or security team. Don't wipe or reinstall it without advice, because that can destroy the evidence needed to work out what was taken.
- Disconnect the device from Wi-Fi and wired networks, and unplug any external drives
- Report it to your IT provider or security team immediately
- Reset passwords for affected accounts from a clean device and end active sessions
- Check that backups are intact before restoring anything
- Assess whether personal data was exposed, as GDPR may require you to notify the Data Protection Commission within 72 hours
- Report the incident to An Garda Síochána
Speed counts for more than certainty here. A managed cyber security team with monitoring in place can often spot and contain this activity before staff notice anything at all.
Next Steps to Keep Malware Out of a Business
Malware is less about one bad file and more about how long an attacker goes unnoticed. The businesses that recover quickly are the ones with patched systems, MFA everywhere, monitored endpoints and backups an attacker can't reach.
If you'd like a clear picture of where your own defences stand, book a strategic IT review with our team or call us at +353 1 901 2080.
Contact UsFrequently Asked Questions
What is the difference between a virus and malware?
Malware is the umbrella term for any harmful software. A virus is one specific type that attaches itself to a file and spreads when that file is opened. Every virus is malware, but much of what businesses face today is Trojans, ransomware and infostealers instead.
Can Macs and mobile phones get malware?
Yes. macOS, iOS and Android devices can all be infected, usually through malicious apps, fake updates or phishing links. Infostealers built for Macs are increasingly common, so company phones and Macs need the same management and protection as Windows machines.
Does antivirus software stop all malware?
No. Traditional antivirus catches known malicious files but can miss new strains and fileless attacks that run in memory. It works best as one layer alongside endpoint detection, patching, multi-factor authentication and staff awareness training.
How can I tell if my work computer has malware?
Common signs include sudden slowness, security software being switched off, unfamiliar programs, unexpected login alerts and files that won't open. If you notice more than one of these, disconnect from the network and contact your IT team before doing anything else.
Is ransomware a type of malware?
Yes. Ransomware is malware that encrypts files and systems, then demands payment for the key. Many groups also copy data before encrypting it and threaten to publish it, which is why backups alone don't remove the risk.
Should a business pay a ransomware demand?
Authorities generally advise against paying. Payment doesn't guarantee working decryption or the deletion of stolen data, and it funds further attacks. Speak to your IT security provider, your insurer and An Garda Síochána before making any decision.