Yes—researchers have demonstrated malware that uses artificial intelligence to alter parts of its behavior, including adapting malicious code as it moves through a system. But reports of “AI-powered malware that adapts as it spreads” can overstate what has been shown: these are limited research demonstrations, not evidence of a self-improving virus that autonomously evolves across the internet.
What researchers have demonstrated
Security researchers have explored ways to use generative AI in malware experiments, including producing or changing code in response to conditions. A widely discussed example is Morris II, a research “AI worm” disclosed in 2024 by researchers at Cornell Tech and the Israel Institute of Technology. It was designed to exploit generative AI systems connected to email or other applications, not to infect ordinary computers in the way a conventional computer worm does.
In a controlled demonstration, Morris II used prompts and specially crafted inputs to influence AI-enabled applications. The researchers showed how an attack could propagate through connected AI services, such as by generating messages that contained malicious prompts or by extracting information from an AI system. The work was a proof of concept: it illustrated risks in systems that let AI read and act on untrusted content, rather than reporting a widespread real-world outbreak.
Other experiments have investigated AI-generated code or malware that changes to make detection harder. The important distinction is between AI helping create or modify a malicious program and a program independently learning, choosing targets, and spreading without human direction. Public demonstrations generally show constrained capabilities under specific conditions, not that full chain of autonomy.
What “adapts as it spreads” can mean
The phrase can refer to several different techniques, and they should not be treated as interchangeable:
- Changing code: A program can rewrite or generate parts of its code. This may be done by a model, a script, or a human operator using AI tools.
- Changing its delivery: Malware may vary messages, file names, or other features as it attempts to reach new victims. Variation alone does not require AI.
- Responding to its environment: Software can check whether it is running in a virtual machine, whether security tools are present, or which operating system it has encountered. Such conditional behavior has existed for years.
- Learning and making decisions: A more ambitious claim would involve a system updating its strategy based on results and selecting new actions with little oversight. Demonstrating this reliably and safely is much harder.
Headlines sometimes label any automated variation as “adaptive AI.” A more useful question is what the system actually changed, what information it used, and whether the change happened automatically or was directed by a person.
How an AI-enabled worm could work
A conventional worm spreads by exploiting a vulnerability or persuading someone to run a malicious attachment, then using the compromised device to reach more systems. AI does not remove the need for a route into those systems. It may, however, help with tasks such as generating convincing text, interpreting content, or selecting among actions that have been made available to it.
In an AI-connected application, a possible attack chain could look like this:
- An attacker places hostile instructions in content that an AI assistant is asked to read, such as an email or document.
- The model fails to distinguish those instructions from trusted directions.
- The application has permissions—such as sending email, accessing files, or calling tools—that let it act on the model’s output.
- The action exposes information or passes malicious content to another connected system.
This is not simply “the AI gets infected.” The weak point is often the surrounding application: its permissions, its handling of untrusted input, and its ability to perform consequential actions without a separate check. A model that can only answer text, with no access to tools or sensitive data, has a very different risk profile from one that can send messages or modify files.
What the demonstrations do—and do not—prove
A controlled proof of concept establishes that a technique is possible under specified conditions. It does not show how often it would succeed against real targets, whether it would survive security controls, or whether it could spread at scale. Research demonstrations also commonly use test systems and safeguards that are unlike a live criminal campaign.
Claims about AI malware should therefore be checked for details: Was the software tested outside a lab? Did it infect systems without human interaction? Did the model itself make decisions, or did conventional code carry out the steps? Was the target an AI service, a computer, or both? Those distinctions help separate a serious emerging risk from a dramatic but imprecise headline.
There is also a common misconception that polymorphic malware is new because of AI. Malware has long changed its appearance, encrypted or rearranged code, or used conditional behavior to evade detection. AI can potentially make some forms of content generation or adaptation cheaper and more flexible, but it is not the origin of self-modifying or evasive malware.
Risks and practical defenses
For organizations deploying AI assistants, the central security lesson is to treat model output as untrusted and limit what the model can do. Defenses should focus on the whole system—not just the model—because an attacker may exploit excessive permissions or unsafe connections even when the model itself is not compromised.
- Give AI tools only the data and permissions necessary for their task; avoid broad access by default.
- Require human confirmation before consequential actions, such as sending messages, changing records, or running code.
- Separate instructions from retrieved documents and other untrusted content, and do not treat text found in a document as an authority to override system rules.
- Keep operating systems, applications, and security tools updated, and use established controls such as multifactor authentication and endpoint monitoring.
- Log tool use and review unusual activity, especially unexpected access to files, contacts, or external services.
- Test AI integrations with security reviews and controlled exercises before granting them access to real accounts or sensitive information.
For individuals, ordinary cyber hygiene remains relevant: do not open unexpected attachments or follow suspicious links, keep devices updated, and report unusual account activity. AI-generated messages may be fluent and personalized, but a convincing tone is not proof that a message is genuine.
Frequently Asked Questions
Can AI malware really spread by itself?
Research has demonstrated limited ways for malicious content to propagate through AI-connected applications. That is not the same as proving that an AI system can independently spread across ordinary computers at large scale.
Is Morris II a real virus in the wild?
Morris II was a research proof of concept disclosed in 2024. Its demonstrations used controlled, AI-enabled environments; they were not evidence of a widespread malware outbreak.
Does adaptive malware always use AI?
No. Traditional malware can change its code or behavior using preset rules and random variation. AI is one possible tool, not a requirement for adaptive or evasive behavior.
Can an AI assistant infect my computer just by reading an email?
Reading text alone does not automatically infect a device. Risk rises when an AI application treats hostile content as instructions and has permissions or connected tools that can take actions. App design and access controls matter.
How can a company reduce the risk?
Restrict permissions, isolate sensitive data, require approval for consequential actions, treat retrieved content as untrusted, and monitor activity. Security depends on the entire AI application and its integrations.
Should people be worried about AI malware?
It is reasonable to take the research seriously without assuming every headline describes an active threat. The most practical concern is how AI features connect to accounts, files, and tools—and whether those connections are adequately controlled.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Delete Picture Kik? How to Remove Photos
- Disable Google Assistant: Turn It Off on Android & Home
- Resin vs FDM Printers for Miniatures: Detail, Durability, Cost
- Are Networked Implants Safe? What If One Fails?
- How to Stop WordPress Comment Spam: A Layered Guide
- What Happens to X Replies, DMs, and Followers After Deletion?