A better idea would be a virus that infects a miner so that it mines towards your personal address. That'd be more economical.
Miners are mostly run by tech people. It is almost impossible for them to get infected en masse...
not to mention every virus will get caught eventually, you will see if you earn less instantly