29 July 2019

Magecart hackers use a new trick to pilfer credit card data


Magecart hackers use a new trick to pilfer credit card data

Sucuri research team has uncovered a new Magecart campaign that injects Magecart multi-gateway skimmer in fake Google domains in order to steal payment data when unaware visitors make transactions. The operation was detected when a Magento website owner had the site’s domain blacklisted by McAfee's SiteAdvisor service. The closer inspection revealed that the culprit was a JavaScript-based payment card skimmer embeded in the site.

“Our investigation revealed that the site had been infected with a credit card skimmer loading JavaScript from the malicious internationalized domain google-analytîcs[.]com (or xn--google-analytcs–xpb[.]com in ASCII). The malicious user purposely selected the domain name with the intention of deceiving unsuspecting victims. Website visitors may see a reputable name (like “Google”) in requests and assume that they’re safe to load, without noticing that the domain is not a perfect match and is actually malicious in nature,”explained Sucuri’s Luke Leal.

This tactic is often used in phishing attacks to trick victims into thinking a phishing page is actually legitimate, he added.

The card skimming script injected by the threat actor "uses the loaded JavaScript to capture any input data using the document.getElementsByTagName and input or stored element names for capturing drop down menu data." What makes it stand out from other card skimming scripts is the ability to alter its behaviour based on whether developer tools are open in Google Chrome or Mozilla Firefox. In the presence of Chrome or Firefox web browsers the skimmer script will not send collected data to command and control server likely in order to avoid detection.

“If the malicious code doesn’t detect developer tools in the browsing session, the stolen credit card information skimmed by the malware is categorized for exfiltration to a remote server. The bad actors again attempt to deceive visitors with another fake Google domain—google[.]ssl[.]lnfo[.]cc,” reads the analysis.

The researcher also notes that the credit card skimmer itself supports dozens of payment gateways suggesting that the threat actor behind the attacks put a lot of efforts in this campaign.

 

 

Back to the list

Latest Posts

GuptiMiner campaign hijacks antivirus updates to distribute backdoors

GuptiMiner campaign hijacks antivirus updates to distribute backdoors

GuptiMiner also distributes the XMRig cryptocurrency miner on infected devices.
24 April 2024
North Korean hackers target South Korean defense contractors

North Korean hackers target South Korean defense contractors

Lazarus, Kimsuky, and Andariel are believed to be behind the cyber intrusions.
23 April 2024
US imposes visa restrictions on individuals linked to commercial spyware

US imposes visa restrictions on individuals linked to commercial spyware

The announcement follows the implementation of a new policy by the US government over two months ago.
23 April 2024