Hackers Use Fake Google Analytics Scripts To Steal Credit Card Details from Magneto-based Websites

Hackers inject malicious skimmer scripts that steal the credit card information from the checkout pages of Magento based online shopping sites.

Security researchers from Sucuri noticed credit card-stealing scripts uses a fake Google Analytics and Angular scripts to make them appear less suspicious and to evade detection form website administrators.

“The malicious code is obfuscated and injected into legitimate JS files, such as skin/frontend/default/theme122k/js/jquery.jscrollpane.min.js, js/meigee/jquery.min.js, and js/varien/js.js.”

The obfuscated script loads another obfuscated script from the fake Google analytics URL www.google-analytics[.]cm/analytics.js and googlc-analytics[.]cm/analytics.js. The obfuscated script also masked itself as a Google Analytics script.

Some sites infected with the Fake Angular Script that contains keywords such as Angular.io, algularToken, angularCdn, and angularPages. Here the attackers use the fake tag manager URL’s hxxps://www.gooqletagmanager[.]com/gtm.js and hxxps://googletagmanager[.]eu/gtm.js.

According to PublicWWW, at the time of writing 39 sites containing these fake Angular scripts and all these scripts loads credit card stealers from different URLs.

“These hacked sites are not limited to Magento. URL structure analysis tells us that these sites are powered by different CMSs, mainly by WordPress, Joomla, and Bitrix,” reads Sucuri blog post.

The skimming scripts grab the credit card information entered by customers in checkout pages and pass the data in realtime and pass the information to C2 servers. The skimmer scripts generally look for fields such as credit card number, validity and billing address.

Website administrators are strongly recommended to scrutinize every change or addition of new code to their website.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

MagentoCore Malware That Steals Payment Card Details While You Shop Online

Hackers Compromised More than 1,000 Magento Stores to Steal Credit Card Details and to Mine Cryptocurrency

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Chinese Hackers Breach Belgium State Security Service as Investigation Continues

Belgium’s State Security Service (VSSE) has suffered what is being described as its most severe…

6 hours ago

Hacktivist Groups Emerge With Powerful Tools for Large-Scale Cyber Operations

Hacktivism, once synonymous with symbolic website defacements and distributed denial-of-service (DDoS) attacks, has evolved into…

6 hours ago

New Pass-the-Cookie Attacks Bypass MFA, Giving Hackers Full Account Access

Multi-factor authentication (MFA), long considered a cornerstone of cybersecurity defense, is facing a formidable new…

11 hours ago

Chinese Hackers Exploit Check Point VPN Zero-Day to Target Organizations Globally

A sophisticated cyberespionage campaign linked to Chinese state-sponsored actors has exploited a previously patched Check…

13 hours ago

PingAM Java Agent Vulnerability Allows Attackers to Bypass Security

A critical security flaw (CVE-2025-20059) has been identified in supported versions of Ping Identity’s PingAM…

13 hours ago

New GitHub Scam Uses Fake “Mods” and “Cracks” to Steal User Data

A sophisticated malware campaign leveraging GitHub repositories disguised as game modifications and cracked software has…

15 hours ago