Cybernion
← Insights

Security

What Is Malware? A Guide to Malicious Software

5 Oct 2026 · Updated 5 Oct 2026

Malware is software deliberately written to damage a system, steal data, or give an attacker unauthorised access. It is a broad category that includes viruses, worms, trojans, ransomware, spyware and rootkits, each with a different mechanism but the same underlying purpose, benefiting the attacker at the victim’s expense.

Every specific threat covered elsewhere on this site, from ransomware to spyware to botnets, is a type of malware. Understanding the umbrella term first makes it easier to see what distinguishes one category from another and why a single control rarely stops all of them.

What does malware mean

Malware is short for malicious software. It is any program or code written with harmful intent, as opposed to software that is simply buggy, poorly designed, or unwanted but not malicious (adware falls in a grey area many vendors still classify as malware because of how aggressively it is often installed and how it behaves once running). The defining feature is intent. A virus that corrupts files, a trojan that opens a backdoor, and a keylogger that records passwords are all malware because each was built to act against the interests of the person or organisation running it.

Malware is not a single piece of code with one behaviour. It is a category that spans a wide range of techniques, delivery methods and objectives. Some malware is destructive and announces itself immediately, such as a wiper attack. Other malware is designed to stay hidden for as long as possible, such as a rootkit or spyware. The common thread is that none of it is running with the informed consent of the system owner.

What are the main categories of malware

Viruses and worms. A virus attaches itself to a legitimate file or program and needs that host to run and spread, typically through user action like opening an infected file. A worm is self contained and self replicating, and can spread across a network without any user action once it finds a vulnerable target.

Trojans. A trojan disguises itself as, or hides inside, legitimate software. Unlike a virus or worm it does not self replicate, it relies on the victim installing or running it voluntarily, then delivers its actual payload once active.

Ransomware. Ransomware encrypts files or systems and demands payment for the decryption key, often combined with data theft and a threat to publish stolen data.

Spyware and keyloggers. Spyware and keyloggers covertly monitor activity and capture information such as keystrokes, screenshots or browsing history, usually for credential theft or surveillance.

Rootkits. A rootkit modifies a system at a deep level, often the kernel, to hide the presence of other malware or an attacker’s ongoing access.

Botnet malware. Malware that recruits an infected device into a botnet, a network of compromised machines an attacker controls remotely, typically for distributed denial of service attacks, spam, or further compromise.

Cryptojacking malware. Malware that uses a victim’s computing resources to mine cryptocurrency without consent, covered in more detail in the cryptojacking article.

Fileless malware. Fileless malware operates in memory and abuses legitimate system tools rather than writing a malicious file to disk, making it harder for traditional antivirus to detect.

Logic bombs and wipers. A logic bomb lies dormant until a trigger condition is met. A wiper is designed purely to destroy data or render systems unusable, with no ransom or financial motive.

How does malware infect a system

Most infections still follow a small number of well understood paths. Phishing remains the dominant delivery mechanism, an email or message carries a malicious attachment, a link to a site hosting an exploit kit, or a pretext that convinces the recipient to run something they should not. Unpatched software is the second major path, attackers scan for systems running vulnerable versions of an operating system, browser, or internet-facing application and exploit the vulnerability directly, sometimes with no user action required at all.

Malicious advertising and compromised legitimate websites can deliver malware through a browser vulnerability, a technique known as a drive by download. Removable media, particularly USB drives, remains a viable infection path in environments where device control is weak. Trojanised software, a legitimate looking application or browser extension modified to include malicious code and distributed outside official channels, catches users who bypass official app stores or software repositories looking for cracked or free versions of paid software.

Supply chain compromise is less frequent but disproportionately damaging. If an attacker compromises a software vendor’s build or update process, every customer who trusts that update channel can receive the malware, sometimes without any indicator that would normally raise suspicion, because the file is signed and delivered through a channel the victim already trusts. Supply chain attacks are covered in more detail separately.

How is malware detected and removed

Detection relies on layered techniques because no single method catches everything. Signature based antivirus compares files against a database of known malware and remains useful against common, previously seen threats but is blind to new variants. Behavioural detection, the approach used by endpoint detection and response (EDR) tools, watches for suspicious patterns of activity, such as a process attempting to encrypt many files quickly or inject code into another process, and can catch malware that has never been seen before.

Network monitoring and a SIEM (security information and event management) platform can surface malware indirectly by flagging unusual outbound connections, command and control traffic, or data exfiltration, particularly important for malware families designed to evade endpoint detection. Removal generally involves isolating the affected system, identifying the scope of compromise, and either cleaning the specific malicious components or, more reliably for anything beyond a simple infection, rebuilding the system from a known clean image and restoring data from backup.

How Australian organisations defend against malware

The ASD’s Essential Eight is the primary Australian framework for malware prevention and was designed around exactly this threat model. Application control, restricting which executables are allowed to run, is one of the most direct defences, because most malware fails immediately if it cannot execute. Patching operating systems and applications, particularly internet-facing services, removes the vulnerabilities malware relies on for initial access. Configuring Microsoft Office macro settings closes a delivery path that remains common in phishing campaigns. Regular, tested, offline backups mean that even a successful infection does not translate into permanent data loss.

Organisations reporting a malware incident that has compromised personal information should also consider their obligations under the Notifiable Data Breaches scheme. Entities covered by the Security of Critical Infrastructure Act have separate, mandatory incident reporting obligations to the ASD. For a structured view of where malware defences fall against the broader control set, Cybernion provides Essential Eight assessments and advisory services.

Frequently asked questions

What is malware in simple terms?

Malware is any software deliberately written to harm a system, steal data, or give an attacker unauthorised access. The word is short for malicious software and covers viruses, worms, trojans, ransomware, spyware and several other categories. What separates malware from a buggy program is intent, malware is built to cause harm or benefit an attacker at the victim’s expense.

What are the main types of malware?

The main categories are viruses and worms that self replicate, trojans that disguise themselves as legitimate software, ransomware that encrypts data for payment, spyware that covertly collects information, rootkits that hide an attacker’s presence, and botnet malware that recruits infected devices into a remote controlled network. Many real infections combine techniques from several categories rather than fitting one label cleanly.

How does malware get onto a system?

The most common paths are phishing emails with malicious attachments or links, exploitation of unpatched software vulnerabilities, malicious or compromised websites, infected removable media, and trojanised software downloaded from unofficial sources. Supply chain compromise, where a trusted vendor’s update mechanism is used to distribute malware, is less common but can affect very large numbers of systems at once.

How can we tell if a system is infected with malware?

Common signs include unexpected slowdowns, unfamiliar processes or programs, disabled security software, unusual network traffic, pop ups or browser redirects, and files that will not open or have changed extension. Some malware, particularly fileless and rootkit based malware, is designed to avoid these visible signs, which is why endpoint detection and response tooling and log monitoring matter alongside user observation.

How does the Essential Eight help prevent malware infections?

The ASD’s Essential Eight targets the conditions malware needs to succeed. Application control stops unapproved executables from running. Patching applications and operating systems closes the vulnerabilities malware exploits. Restricting administrative privileges and configuring Microsoft Office macro settings reduce common infection and spread paths. Regular backups mean an infection that does succeed does not become a permanent data loss event.

Sources:

  1. Malware, Australian Signals Directorate, 2026
  2. Essential Eight, Australian Signals Directorate, 2026
  3. Malware attribute enumeration and characterization, National Institute of Standards and Technology, 2026

Last updated: 30 August, 2026

Talk to us about your engagement

A scoped proposal within one business day.