Cybercriminals are targeting websites running the Magento platform to inject them with code that can steal credit card data and infect visitors with malware, Flashpoint reports.
This week, on Monday, Willem de Groot, a well-known Dutch security expert, figured out a previously unreported card scrapping campaign involving a skimmer script loaded from the magentocore.net domain.
At least 1,000 Magento admin panels have been compromised, Flashpoint says. The attackers attempt to log in using standard and known default Magento credentials, once again proving that changing the credentials upon installation of the platform can prevent compromise.
The campaign has infected 7,339 Magento stores with a script that collects payment card data from people shopping on the sites.
“The rash of attacks resurrects the epidemic of default credential usage among admins. Default credentials were at the core of the 2016 Mirai attacks where hackers were able to access connected devices such as security cameras, DVRs and routers using known and common default passwords,” Flashpoint notes.
GB Hackers has described the working mechanism of Magento core Malware:
Once it gathers the required information, it sends the data in real-time to magentocore[.]Net server that located in Moscow.
The malware also adds a backdoor to the cron file which used to configure regularly scheduled tasks. By having a backdoor added in the cron file, it regularly downloads the malicious code from the server and runs the code. After running the code, it also deletes itself to avoid traces.
It also removes any other competing malware found already installed in the Magento Store. Also, it uses to change the password “how1are2you3″ periodically to the admin accounts.