What is malware? Types, warning signs and how businesses defend against it

What malware is, the main types from viruses to infostealers, how it gets into a business, the warning signs, how AI is changing it, and what to do if you are infected.

· 6 min read · By RiposteSecurity Research Team

Hong KongSingaporeMalaysia

Key points

  • Malware is any software written to harm a computer, steal data or give an attacker control. Ransomware, spyware and infostealers are all malware.
  • Most malware gets in through phishing, stolen logins or unpatched internet-facing systems.
  • The best defences are boring: patching, least privilege, endpoint detection, and backups you have tested.
  • Google and Anthropic have both reported criminals using AI tools to write or run malware. These tools lower the skill needed to attack.

What is malware? Malware, short for "malicious software", is any program built to damage a system, steal information, spy on users or give an attacker control without permission. This guide explains the main types of malware, how it reaches a business, the signs to look for, and what to do if a machine is infected.

Types of malware

The names describe how the malware spreads or what it does. One piece of malware often fits more than one type.

TypeWhat it doesBusiness impact
VirusAttaches to a file or program and spreads when that file is opened.Damaged files, spread through shared drives.
WormSpreads by itself across a network, with no user action.Fast, wide outbreaks on unpatched machines.
TrojanPretends to be useful software, such as a fake invoice viewer or a cracked app.Opens a back door for other malware.
RansomwareLocks or encrypts files and demands payment. Many groups also steal data first.Downtime, data leak, regulator reports. See our ransomware protection guide.
SpywareWatches activity, such as keystrokes or screens, without the user knowing.Stolen passwords and confidential data.
InfostealerGrabs saved passwords, browser cookies and session tokens, then sends them to the attacker.Account takeover that can get past passwords and some multi-factor checks.
Botnet malwareTurns the device into one of many machines the attacker controls remotely.Your systems used to attack others, send spam or mine cryptocurrency.

HKCERT reported that botnets made up 18% of the 15,877 security incidents it handled in Hong Kong in 2025, and that incidents involving vulnerable systems rose more than 3.5 times to 2,328.

How malware gets into a business

  • Phishing emails and messages with attachments or links. HKCERT said 57% of its 2025 incidents were phishing.
  • Unpatched internet-facing systems, such as VPNs, remote desktop servers and web apps.
  • Stolen or reused passwords, often taken earlier by an infostealer.
  • Suppliers and IT providers with access to your network.
  • Fake downloads: cracked software, fake browser updates, malicious ads.
  • USB drives and personal devices brought onto the network.

In Singapore, the Personal Data Protection Commission fined Courts (Singapore) S$178,000 in a decision published on 26 October 2026 over a 2022 ransomware attack that affected 946,972 people. Reports of the decision say the attackers entered through two internet-facing disaster recovery servers that had not been patched for months and were left out of regular vulnerability scans.

Backup and test servers are easy to forget. Attackers do not forget them.

Signs of a malware infection

  • Security tools turned off, or alerts you cannot explain.
  • Machines suddenly slow, fans running hard, or high network traffic at night.
  • New admin accounts, scheduled tasks or software nobody installed.
  • Logins from unusual places, or multi-factor prompts nobody asked for.
  • Files renamed with odd extensions, or a ransom note.
  • Colleagues or customers receiving emails "from you" that you did not send.

Many infections show no signs at all. Infostealers and spyware are built to stay quiet. That is why monitoring matters more than waiting for something to break.

How businesses defend against malware

Patch quickly, starting at the edge

Fix internet-facing systems first. On 13 November 2026 the Cyber Security Agency of Singapore (CSA) told organisations to "promptly apply security updates to Internet-facing servers" and to prioritise known exploited vulnerabilities. Our zero-day guide covers what to do when no patch exists yet.

Use endpoint detection and response

Traditional antivirus looks for known bad files. Endpoint detection and response (EDR) tools also watch behaviour, such as a program encrypting hundreds of files or dumping passwords, and can isolate a machine. Someone has to watch the alerts, day and night. See SIEM, EDR, XDR and SOC explained.

Give least privilege

Malware runs with the rights of the user or account it infects. Staff without admin rights, and admin accounts used only for admin work, limit what malware can do. CSA's November advisory also asked organisations to remove dormant accounts. See our privileged access guide.

Protect logins

Use phishing-resistant multi-factor authentication for email, remote access and admin accounts. Shorten session lifetimes so stolen cookies expire sooner. More in our multi-factor authentication guide.

Keep backups that malware cannot reach

Keep at least one backup offline or immutable, and test restores. CSA recommends "offline, immutable backups".

Filter email and train staff

Block risky attachment types and macros by default, and train staff to report suspicious messages. See our security awareness training guide.

How AI is changing malware

In November 2025, Google Threat Intelligence Group reported the first malware it had seen querying a large language model during a live operation. The tool, which it called PROMPTSTEAL and linked to the Russian group APT28, asked an AI model to generate commands instead of carrying them in its code. Google also described an experimental dropper, PROMPTFLUX, that asked Google's Gemini model to rewrite its own code to avoid detection, and said underground forums now sell AI tools for phishing and malware development that lower "the barrier to entry for less sophisticated actors".

In August 2025, Anthropic reported that a criminal used its Claude model to develop and sell several ransomware variants, priced at US$400 to US$1,200, and said the person appeared to rely on AI to write the code.

AI is not creating a new kind of malware that defences cannot see. It is making existing malware cheaper to produce, quicker to change and available to more people. That favours behaviour-based detection over lists of known bad files, and it makes patching speed and least privilege more important, not less. See our guide on defending against AI-powered attacks.

What to do if you are infected

  1. Disconnect, don't switch off. Unplug the network cable and turn off Wi-Fi. Leaving the machine on keeps evidence in memory.
  2. Tell your IT or security lead at once, and start your incident response plan. See our incident response plan guide.
  3. Reset passwords from a clean device, starting with email and admin accounts the infected user had. Revoke active sessions.
  4. Check for spread: other machines, new accounts, unusual logins.
  5. Rebuild, don't just clean. Restore from a known-good image or backup.
  6. Check your reporting duties. If personal data may be involved, deadlines can be short: 3 calendar days after assessment in Singapore, 72 hours in Malaysia. Report to SingCERT, HKCERT or NACSA's NC4 for help.

Sources

  1. HKCERT, Hong Kong Cybersecurity Outlook 2026 press release, 29 Jan 2026: hkcert.org
  2. Personal Data Protection Commission, Breach of the Protection Obligation by Courts (Singapore) Pte Ltd, 26 Oct 2026: pdpc.gov.sg
  3. The Straits Times, Courts fined $178,000 for data leak affecting close to 1 million customers and employees, Nov 2026: straitstimes.com
  4. Cyber Security Agency of Singapore, Advisory on recent uptick in reported cyber incidents (AD-2026-017), 13 Nov 2026: csa.gov.sg
  5. Google Threat Intelligence Group, GTIG AI Threat Tracker: Advances in Threat Actor Usage of AI Tools, Nov 2025: cloud.google.com
  6. Anthropic, Detecting and countering misuse of AI: August 2025, 27 Aug 2025: anthropic.com
  7. CISA, #StopRansomware Guide: cisa.gov

Based on public reports and agency guidance available on 26 November 2026.