detection icon

Short bio

OSX.DarthMiner is Malwarebytes’ detection name for a Trojan targeting MacOS systems and use them for cyptomining.

Type and source of infection

OSX.DarthMiner is basically a script that combines two open-source tools – the EmPyre backdoor and the XMRig cryptominer – to mine cryptocurrency for the threat actor. OSX.DarthMiner was likely installed by the victims themselves, but under false pretences. It was offered for download as a program to steal software.


A backdoor opens up an affected system to additional malware, so it’s impossible to say if OSX.DarthMiner will be the only malware to be found on an infected system.


Malwarebytes for Mac detects and removes OSX.DarthMiner.


Malwarebytes for Mac will detect and remove the components of this malware.

Download and install the latest version of Malwarebytes for Mac.

Click the “Scan Now” button to perform a system scan.

If threats are detected during the scan, a count of detected threats is displayed. More detailed threat information is displayed after the scan completes.

Click “Confirm” to move the detected threats to Quarantaine.

If a restart is required to complete remediation of threats detected during a scan, you will be notified. When a restart is required, please remember to save all work before clicking “Restart”.