An easy way for a virus to damage hardware is by disrupting the normal operation of a computer’s power management or thermal management. For instance, the fans in laptops can be controlled through software. Disabling the fans can destroy the computer.