No. It is not against the law or a crime to make a computer virus, Trojan, or malware. However, if that virus spreads to other computers intentionally or by mistake, you’ve violated the law, and you could be held liable for any damages it causes.
Related information
- How to create a computer virus.
- See our computer crime and virus definitions for further information and related links.
- Computer virus help and support.