Polymorphic Malware
Polymorphic malware constantly changes its code or appearance, for example by re-encrypting itself with a new key each time it spreads, so that every copy looks different and signature-based antivirus has trouble recognizing it.
Also called: polymorphic virus, metamorphic malware, obfuscated malware
What is polymorphic malware?
Traditional antivirus recognizes malware by its "signature", a pattern of bytes unique to a known sample. Polymorphic malware defeats that by changing how it looks every time it copies itself or is downloaded, while doing the same harmful thing underneath. MITRE ATT&CK groups this with other obfuscation techniques attackers use to make their code hard to discover or analyze.
How does polymorphic malware work?
The malicious core is usually encrypted, with a small decryptor in front. Each new copy uses a different key and a reshuffled decryptor, so the file's contents and fingerprint change. Some criminal services now generate a fresh, unique version of the same malware for every victim or every download. Metamorphic malware goes further and rewrites its own code entirely, rather than just re-encrypting it.
How to protect your business
- Use endpoint protection that detects malicious behavior, such as endpoint detection and response, rather than relying only on signatures.
- Limit what can run on devices with application allow-listing where practical.
- Keep email and web filtering that opens attachments in a sandbox to see what they do.
- Patch quickly, since changing appearance doesn't help malware that can't find a way in.
Related terms
Sources
Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.
