Monero miner based on XMRig infects PCs via illegitimate software downloads
On Friday, August 21, 2020, we began detecting fake Malwarebytes installation files containing a backdoor that loads a Monero miner based on XMRig onto infected PCs. The most prevalent filename under which one of the installation files is being distributed is “MBSetup2.exe”. Avast has protected nearly 100K Avast and AVG users from the fake installation files, which are mostly spreading in Russia, the Ukraine, and Eastern Europe. As of yet, we do not know where or how the fake installation file is being distributed, but we can confirm that the installation files are not being distributed via official Malwarebytes channels, which remain trusted sources.
The cybercriminals behind this have repackaged the Malwarebytes installer to contain a malicious payload. The fake installation file, MBSetup2.exe, is an unsigned file which contains malicious dll files called Qt5Help.dll and Qt5WinExtras.dll with invalid digital signatures. All other portable executable (PE) files packed inside the installer are signed with valid Malwarebytes or Microsoft certificates.
The person or people behind this can change the malicious payload at any time, distributing other malicious programs to infected PCs.
After executing one of the fake Malwarebytes installers, a fake Malwarebytes setup wizard appears. The malware installs a fake Malwarebytes program to "%ProgramFiles(x86)%\Malwarebytes" and hides a majority of the malicious payload inside one of the two dlls, Qt5Help.dll. The malware notifies victims that Malwarebytes was successfully installed, which is not true, as the program cannot be opened.
The malware then installs itself as a service called "MBAMSvc" and proceeds to download an additional malicious payload, which is currently a cryptocurrency miner called Bitminer, a Monero miner based on XMRig.
The installation wizard is based on the popular Inno Setup tool which makes it look different from the actual Malwarebytes installer, as can be seen in the screenshots below.
Fake installation setup screen
Real Malwarebytes installation setup screen
Concerned users can check if they have been infected by searching for one of the following files on their PC:
If any of these files are present, all files under "%ProgramFiles(x86)%\Malwarebytes" and the executables under "%ProgramData%\VMware\VMware Tools\" should be deleted, and if possible, the service "MBAMSvc" can also be removed. Avast detects and quarantines the installer and the dll files, making the MBAMSvc service benign. MBAMSvc can be removed by opening an elevated command prompt and executing the command "sc.exe delete MBAMSvc"
Users who also have the real Malwarebytes software installed should be careful when removing these files, as the actual Malwarebytes program also installs itself to %ProgramFiles%\Malwarebytes. To be on the safe side, users can remove all the files in this folder, and reinstall Malwarebytes directly from their website.
Avast has notified Malwarebytes of the fake installation files being circulated.
Installers (SHA-256 hashes):
Cryptocurrency miners (SHA-256 hashes):
Cryptocurrency miners (filesystem locations):