CWE-509: Replicating Malicious Code (Virus or Worm)
Replicating malicious code, including viruses and worms, will attempt to attack other systems once it has successfully compromised the target system or the product.
A kind of CWE-507 Trojan Horse.
From the CWE List. © The MITRE Corporation.