Cybercriminals are increasingly resorting to hacking servers and devices remotely, forcing them to mine cryptocurrencies and bitcoin without their owners' knowledge.