Hackers
who opened a bitcoin mine on their victim's computer did not do so by
breaking into force the computer's security system. They take advantage of the bad habits of the victim, which likes to download pirated software.
Explained Kaspersky Lab, any pirated software that is offered for free is embedded an archive that contains the mining program. At the time the pirated software is installed, the mining program will also start running silently.
This mining program must have a bitcoin mining account. That is, the victim's computer is also controlled remotely by cyber criminals.