Malware
Malware is software deliberately designed to harm a computer, network or its users, for example by stealing data, damaging files, spying or giving an attacker control, and includes viruses, worms, ransomware and spyware.
Malware is short for malicious software. NIST's definitions describe it as software or firmware that performs unauthorised actions harming the confidentiality, integrity or availability of a system, usually inserted covertly. The category is broad: viruses copy themselves into other files and spread when an infected program runs; worms spread across networks on their own; trojans pose as legitimate programs; ransomware locks or encrypts files until a ransom is paid; spyware watches users; and rootkits hide malware from the operating system.
Malware usually arrives through a phishing attachment, a malicious download or an exploit that takes advantage of a software flaw, and then does the lasting damage. Its history runs from early viruses in the 1980s, such as the 1986 Brain boot sector virus on IBM PCs, and the 1988 Morris worm, the first widely known worm, to today's criminal ransomware businesses and state-sponsored spying tools.
Generative AI has changed how malware is made, though less than some headlines suggest. In November 2025 Google's Threat Intelligence Group reported the first malware families it had seen that call large language models while running. PROMPTSTEAL, which it attributed to the Russian state-backed group APT28, was used against Ukraine in June 2025 and asked an open-source model through the Hugging Face service to generate Windows commands for collecting files and system information. PROMPTFLUX, an experimental script, asked Google's Gemini to rewrite its own code to evade antivirus software.
Google described this just-in-time use of AI as nascent. It assessed PROMPTFLUX as still in development, with its self-rewriting function switched off and no demonstrated ability to compromise a device, and it disabled the assets linked to the activity.
The defences are the familiar ones: keep software patched, limit user permissions, use reputable security software, back up important data offline and be wary of unexpected attachments and links. Malware that writes or rewrites its own code with AI makes signature-based detection harder, which pushes defenders further towards spotting suspicious behaviour rather than known code.
Malware is malicious software: any program or code designed to harm a device, network or user. Common types include viruses, worms, trojans, ransomware, spyware and rootkits. It is usually installed without the user's knowledge or by tricking them into running it. AI models can help write malicious code, and security researchers have found malware that uses AI while running. In November 2025 Google reported malware families, including PROMPTSTEAL and PROMPTFLUX, that query language models to generate commands or rewrite their own code. Google judged this use still nascent and disabled the assets linked to the activity. Malware is the umbrella term for all malicious software. A virus is one type of malware that spreads by inserting copies of itself into other programs or files and usually needs a user to run an infected program. Worms, trojans and ransomware are other types. Keep your operating system and applications updated, avoid opening unexpected attachments or links, install software only from trusted sources, use reputable security software, and keep offline backups of important files. Organisations also restrict user permissions so that malware cannot spread easily.Common questions
What is malware?
Can AI create malware?
What is the difference between a virus and malware?
How do I protect against malware?
Search for "malware types", "AI-powered malware" or "Google Threat Intelligence AI misuse report" to follow the threat. Reliable sources include national cybersecurity agencies, NIST's glossary, threat intelligence reports from established security teams, and vendor security advisories. Be sceptical of marketing claims about "AI malware" that give no samples, dates or attribution.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.