Skip to main content
Mallory
← Back to News
financial-sector-threatcredential-stealer-activitydata-exfiltration-methoddefense-evasion-method

Credit Card Skimmers Hit X-Cart and Magento Sites With Obfuscated JavaScript

Sector Threat Intelligence · 2 sources · Updated 3mo ago · First seen Feb 7, 2022

Credit Card Skimmers Hit X-Cart and Magento Sites With Obfuscated JavaScript

Researchers found a compromised X-Cart e-commerce site running two separate payment skimmers: a basic server-side stealer and a more advanced client-side JavaScript skimmer. The server-side malware captured base64-encoded payment POST data and saved it to a fake .jpg file, while the browser-based skimmer validated that a credit card number was present before exfiltrating checkout data to attacker infrastructure. Analysts traced the X-Cart exfiltration path to metahtmlhead[.]com/folder/ip/zxc.php, with the destination assembled through DOM-based domain construction to hinder detection.

The JavaScript skimmer used layered obfuscation and an anti-debugging technique tied to wrapper-function length, forcing researchers to brute-force parts of the code to recover its behavior. A similar skimmer was later identified on a Magento 1.x site, using the same obfuscation style and a matching URL path structure but sending stolen payment data to winsiott[.]com/folder/ip/stt.php. The overlap in code design, evasion methods, and infrastructure indicates a broader web-skimming campaign targeting multiple e-commerce platforms.

Who's targeting your sector?See the actors and campaigns active against you right now.
See sector threats
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Jun 7, 2021 – Feb 7, 2022
  1. Reported May 17, 20225y ago

    Additional Magento infections linked via PublicWWW and SiteCheck

    PublicWWW identified additional infected sites hosting skimmer variations that used winsiott[.]com/folder/ip/stt.php. Sucuri SiteCheck detected those Magento infections as malware.magento_shoplift?199, indicating a broader campaign affecting multiple e-commerce sites.

    X-Cart Skimmer with DOM-based Obfuscation
  2. Reported May 17, 20225y ago

    Similar skimmer variant found on Magento 1.x site

    Researchers identified a similar obfuscated JavaScript skimmer in the database of a Magento 1.x site. The malware shared the same decoding approach and code structure as the X-Cart variant, but exfiltrated data to winsiott[.]com/folder/ip/stt.php instead of deriving its domain from the DOM.

    X-Cart Skimmer with DOM-based Obfuscation
  3. Reported May 17, 20225y ago

    X-Cart skimmer exfiltration domain decoded

    After brute-forcing the anti-debugging-dependent deobfuscation, analysts recovered the X-Cart skimmer logic and determined it built the exfiltration URL hxxps://metahtmlhead[.]com/folder/ip/zxc.php from the infected page's DOM.

    X-Cart Skimmer with DOM-based Obfuscation
  4. Reported May 17, 20225y ago

    Researchers uncover dual skimmers on compromised X-Cart site

    Analysts found a compromised X-Cart e-commerce site containing both a server-side skimmer in payment/payment_swoosh_cc.php and an obfuscated client-side JavaScript skimmer in skin/common_files/check_cc_number_script.tpl. The server-side malware stored base64-encoded payment POST data in a fake .jpg file, while the client-side skimmer collected checkout form data and exfiltrated it after validating a credit card number was present.

    X-Cart Skimmer with DOM-based Obfuscation
  5. Feb 7, 20225y ago

    metahtmlhead.com domain registered

    The domain metahtmlhead[.]com, later used by the X-Cart skimmer for exfiltration, was registered.

    X-Cart Skimmer with DOM-based Obfuscation
  6. Jun 7, 20215y ago

    winsiott.com domain registered

    The domain winsiott[.]com, later used by a related Magento skimmer variant for data exfiltration, was registered.

    X-Cart Skimmer with DOM-based Obfuscation
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Magento

Organizations

1 linked
X-Cart

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See the adversaries and campaigns active against your sector right now, ranked by what they're exploiting.
See Your Sector's Threats
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.