Malicious software can tie up system resources for cryptocurrency mining or even give hackers administrator-level control over your device.