Škodlivý počítačový program navržen tak, aby replikoval sám sebe a šířil z počítače na počítač. Vir může poškodit hardware, software nebo data.