A computer code that spreads without the user interaction and can cause network performance problem…