Cheat Engine is not a virus, its detected as a virus because it can attach itself to processes and modify memory. this is needed to be able to change the value in game to get infinite health, ammo etc.