An installer of unwanted applications that targets OS X. It contains three main folders
bin
MacOS
Resources
The bin folder encompasses an application detected by Dr.Web anti-virus as Tool.Mac.ExtInstaller. It serves the purpose of installing add-ins for browsers, changing the home page or the search engine used by default. The MacOS folder contains the binary file of the installer; the Resources folder includes the main part of SDK in the form of JavaScripts. These scripts can be either encrypted with the AES algorithm or not.
The main configuration file config.js resides in the Resources\skin\script\ folder and looks as follows:
var appInfo = {
scheme : 'MacMPlayerX',
channel : '',
account : 'MPlayerX',
product_id : 'MPlayerX',
report : 'http://rp.yameyepe.com',
ad_url : 'http://os.yameyepe.com/MacMPlayerX/?v=5.0',
img_base_url : 'http://img.yameyepe.com/img/',
isdlm : true,
terms_url : '',
privacy_url : '',
eula_url : '', // will only be used if this is a DLM
ad_timeout : 4000,
requires_root: false,
root_if_installed : [ '' ],
name : '',
title : '',
ad_timeout : 4000,
style : 'pkg',
language : 'EN',
useOSLang : true,
disableConfirm : false,
window: {
width : 764,
height : 500
},
//used by pkg types
logo : {
x : 1,
y : 47,
width : 186,
height : 140
}
};
var prodInfo = {
title : 'MPlayerX',
package_id : 'MPlayerX',
package : 'http://cznic.dl.sourceforge.net/project/mplayerx-osx/MPlayerX-1.0.22.1.zip',
mountOnly : '',
root_if_installed : 'org.niltsh.MPlayerX',
type : 'install',
preinstall: '',
app_name : 'MPlayerX'
};
var offersInfo = {
max_offers : 0,
vmcs : {},
cancels : [],
offers : []
};
The offersInfo section contains the following parameters:
- max_offers—maximum number of applications to be installed
- vmcs—the list of virtual machines, whose presence prevents from the installation of additional programs
- cancels—applications, whose presence prevents from the installation of additional programs
- offers—the list of applications to be installed
This configuration file is not the only one the program uses for its operation. Another file is received from the remote server, whose address is specified in the “ad_url” field of the local configuration file. A POST request is forwarded to this address. In return, the malware receives the encrypted package that looks as follows:
struct st_encrypted_packet
{
_BYTE data[];
_BYTE signature; // 0xFE
_DWORD datalen; // sizeof(data)
_DWORD xorkey;
}
Data downloaded from the network is encrypted with the XOR algorithm and compressed using GZIP. The decrypted file contains various data and language parameters necessary for the correct display of the interface elements.
The file Resources\skin\script\scripts.js is used to detect the presence of virtual machines
...
var disableVM = false;
...
function runningFromVM() {
var result = false;
var macAdress = mciapiEnvironment.macAddressString();
var vmMacAdressPrefixes = ['001c42', '080027', '000c29', '000569', '001c14', '005056'];
for (var i = 0; i < vmMacAdressPrefixes.length; i++) {
var vmMacAdressPrefix = vmMacAdressPrefixes[i];
if (macAdress.indexOf(vmMacAdressPrefix) == 0) {
result = true;
break;
}
}
return result;
}
The malware will not urge the user to install additional programs if it runs on VirtualBox, VMWare Fusion, or Parallels or if either a development environment package XCode or the Charles application used for debugging is detected. There have been some cases, when the unwanted application did not prompt the user to install additional programs if one of the following anti-viruses was detected: AVG, Avast, BitDefender, Comodo, ESET, Kaspersky, Sophos, Symantec, Intego, ClamAV, or F-Secure.
The installer file can have one of the following digital signatures:
Developer ID Application: Ben Werthaouf
Developer ID Application: Adlogica, Inc.
Developer ID Application: Sylvester Andrews
Developer ID Application: Javier Griffin
Developer ID Application: Zongyao Qu
Developer ID Application: Darrel Cannon
Developer ID Application: RealNetworks, Inc
The following list presents some programs and utilities, which Adware.Mac.InstallCore.1 can install on the system:
- Yahoo Search
- MacKeeper (Program.Unwanted.MacKeeper)
- ZipCloud
- WalletBee (Adware.Mac.DealPly.1)
- MacBooster 2 (Program.Unwanted.MacBooster)
- PremierOpinion (Mac.BackDoor.OpinionSpy)
- RealCloud
- MaxSecure
- iBoostUp
- ElmediaPlayer