{"id":6487,"date":"2025-02-21T19:21:04","date_gmt":"2025-02-21T19:21:04","guid":{"rendered":"https:\/\/fusionmindlabs.com\/blogs\/cybercriminals-use-image-tags-to-deploy-skimmers\/"},"modified":"2025-02-21T19:21:08","modified_gmt":"2025-02-21T19:21:08","slug":"cybercriminals-use-image-tags-to-deploy-skimmers","status":"publish","type":"post","link":"https:\/\/fusionmindlabs.com\/blogs\/cybercriminals-use-image-tags-to-deploy-skimmers\/","title":{"rendered":"Cybercriminals Use Image Tags to Deploy Skimmers"},"content":{"rendered":"\n<\/p>\n<div>\n<p><span class=\"p-author\"><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">February 18, 2025<\/span><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Ravie Lakshmanan<\/span><\/span><span class=\"p-tags\">Malware \/ Website Hacking<\/span><\/p>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhBF-NvwLumDLY85d3O7wVLRXnpUcmU2UzGixzQP8ZqJ69rSxwgMbn2OGZGVU0z_uF2HcQHHP-0o4OdrJFeOAA9-cR4LKIywhS4razF3HW6ps9RgtgeodenlHV5ibpEhe0Kt3VItK5M-pFUJywbxYUyIpe969WcVGR-CT0QZ2Tb-p5lUF_F_DgVHCcpmTkr\/s728-rw-e365\/mazecart.png\" style=\"clear: left; display: block; float: left;  text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p><\/a>\n<\/div>\n<p>Cybersecurity experts have identified a credit card stealing malware campaign targeting e-commerce sites running Magento, which disguises malicious content within image tags in HTML code to evade detection.<\/p>\n<p>MageCart, a type of malware, is capable of stealing sensitive payment information from online shopping sites. These attacks employ various techniques, both on the client and server-side, to compromise websites and deploy credit card skimmers for theft.<\/p>\n<p>Typically, this malware is triggered when users visit checkout pages to enter credit card details, either by serving a fake form or capturing the information entered by the victims in real-time.<\/p>\n<p>The term MageCart refers to the original target of these cybercrime groups, the Magento platform, which offers checkout and shopping cart features for online retailers. Over time, these campaigns have adapted their tactics by concealing malicious code through encoding and obfuscation within seemingly harmless sources, such as fake images, audio files, favicons, and even 404 error pages.<\/p>\n<div class=\"dog_two clear\">\n<center class=\"cf\"><br \/>\n<a href=\"https:\/\/thehackernews.uk\/encrypted-attacks-report-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><br \/>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEh6e4c8i_pkXRCFnrtqVIygOrARiVnU3_KUgU5mhPl5V4uj8R1KcQOxRLdZ0xm1Rf5AX_cviUAeiiRkTJCe8HXzOeB363590NBXAMv92N9e7zr4m7aKtDq-Q_gpP9QFWecL0oxcVtmqSg9qrGEGqlDbzwNNFKGJe2nlup4tuL7AZzTm0U501YxPGodOc2Fq\/s728-rw-e100\/zz-d.jpg\" width=\"727\" height=\"90\"\/><br \/>\n<\/a><br \/>\n<\/center>\n<\/div>\n<p>According to Sucuri researcher Kayleigh Martin, &#8220;In this case, the malware affecting the client follows the same goal \u2014 staying hidden. It does this by disguising malicious content inside an <img\/> tag, making it easy to overlook.&#8221;<\/p>\n<p>&#8220;It&#8217;s common for <img\/> tags to contain long strings, especially when referencing image file paths or Base64-encoded images, along with additional attributes like height and width.&#8221;<\/p>\n<p>The only difference is that the <img\/> tag, in this case, acts as a decoy, containing Base64-encoded content that points to JavaScript code that&#8217;s activated when an onerror event is detected, making the attack more sneaky as the browser inherently trusts the onerror function.<\/p>\n<p>&#8220;If an image fails to load, the onerror function will trigger the browser to show a broken image icon instead,&#8221; Martin said. &#8220;However, in this context, the onerror event is hijacked to execute JavaScript instead of just handling the error.&#8221;<\/p>\n<p>Furthermore, the attack offers an added advantage to threat actors in that the <img\/> HTML element is generally considered innocuous. The malware checks whether the user is on the checkout page and waits for unsuspecting users to click on the submit button to siphon sensitive payment information entered by them to an external server.<\/p>\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhyVZdyIO7nK3W4n__4LQH3-ynrflMHrQCriWekukjpvYWuJNPSFo0JLQWAHVKScA3oLo_gRrhGrlcgSz4vdA2bY18A8sTwFwOhluUrGY9vZNlTJ-QObk13yGcBrAfCLbSgZ2AP5oa_R0y0dORFnQvPN2VDXa94Au4vqHgmxAO_TgCb06E5QBoTe1y46Tgj\/s728-rw-e365\/skimmer-code-image.png\" style=\"clear: left; display: block; float: left;  text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhyVZdyIO7nK3W4n__4LQH3-ynrflMHrQCriWekukjpvYWuJNPSFo0JLQWAHVKScA3oLo_gRrhGrlcgSz4vdA2bY18A8sTwFwOhluUrGY9vZNlTJ-QObk13yGcBrAfCLbSgZ2AP5oa_R0y0dORFnQvPN2VDXa94Au4vqHgmxAO_TgCb06E5QBoTe1y46Tgj\/s728-rw-e365\/skimmer-code-image.png\" alt=\"Deploy Payment Skimmers\" border=\"0\" data-original-height=\"428\" data-original-width=\"1410\" title=\"Deploy Payment Skimmers\"\/><br \/>\n<\/a>\n<\/div>\n<p>The script is designed to dynamically insert a malicious form with three fields, Card Number, Expiration Date, and CVV, with the goal of exfiltrating it to wellfacing[.]com.<\/p>\n<p>According to Martin, &#8220;The attacker accomplishes two impressive goals with this malicious script: avoiding easy detection by security scanners by encoding the malicious script within an <img\/> tag, and ensuring end users don&#8217;t notice unusual changes when the malicious form is inserted, staying undetected as long as possible.&#8221;<\/p>\n<p>&#8220;The goal of attackers who are targeting platforms like Magento, WooCommerce, PrestaShop, and others is to remain undetected as long as possible, and the malware they inject into sites is often more complex than the more commonly found pieces of malware impacting other sites.&#8221;<\/p>\n<div class=\"dog_two clear\">\n<center class=\"cf\"><br \/>\n<a href=\"https:\/\/thehackernews.uk\/saas-security-v2-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><br \/>\n<img decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhT2OnXk97z-adL5WBKzz6wsA7vAhygg3Px0VPmqpH5hH4AErnYajTCpDN7SLy43ejD_T4Skv8OMOdG9qpzMfihrj8o7qSznLKA8zg7jW8L4hY8-umwTNZSpAj0JvtG3VGMFGw9n7hMyea1NpVSXp6yTaClLUQ3GujxwlEuLmQFSsVH28WQy6vp-cOGG0p_\/s728-rw-e100\/saas-security-v2-d.png\" width=\"727\" height=\"90\"\/><br \/>\n<\/a><br \/>\n<\/center>\n<\/div>\n<p>This development comes as the website security company detailed an incident involving a WordPress site that leveraged the mu-plugins (or must-use plugins) directory to implant backdoors and execute malicious PHP code in a stealthy manner.<\/p>\n<p>According to Puja Srivastava, &#8220;Unlike regular plugins, must-use plugins are automatically loaded on every page load, without needing activation or appearing in the standard plugin list.&#8221;<\/p>\n<p>&#8220;Attackers exploit this directory to maintain persistence and evade detection, as files placed here execute automatically and are not easily disabled from the WordPress admin panel.&#8221;<\/p>\n<p><\/p>\n<div class=\"cf note-b\">Found this article interesting?  Follow us on <a href=\"https:\/\/twitter.com\/thehackersnews\" rel=\"noopener nofollow\" target=\"_blank\">Twitter <i class=\"icon-font icon-twitter\">\uf099<\/i><\/a> and <a href=\"https:\/\/www.linkedin.com\/company\/thehackernews\/\" rel=\"noopener nofollow\" target=\"_blank\">LinkedIn<\/a> to read more exclusive content we post.<\/div>\n<\/div>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/thehackernews.com\/2025\/02\/cybercriminals-exploit-onerror-event-in.html\" rel=\"nofollow noopener\" target=\"_blank\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ue802February 18, 2025\ue804Ravie LakshmananMalware \/ Website Hacking Cybersecurity experts have identified a credit card stealing malware campaign targeting e-commerce sites running Magento, which disguises malicious content within image tags in&#8230;<\/p>\n","protected":false},"author":19,"featured_media":5666,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[46,39,32,31,33,34,35,40,36,37,42,44,43,41,38,45],"class_list":["post-6487","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cybersecurity","tag-computer-security","tag-cyber-attacks","tag-cyber-news","tag-cyber-security-news","tag-cyber-security-news-today","tag-cyber-security-updates","tag-cyber-updates","tag-data-breach","tag-hacker-news","tag-hacking-news","tag-how-to-hack","tag-information-security","tag-network-security","tag-ransomware-malware","tag-software-vulnerability","tag-the-hacker-news"],"jetpack_featured_media_url":"https:\/\/fusionmindlabs.com\/blogs\/wp-content\/uploads\/sites\/9\/2025\/02\/mazecart.png","_links":{"self":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/6487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/comments?post=6487"}],"version-history":[{"count":1,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/6487\/revisions"}],"predecessor-version":[{"id":6488,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/6487\/revisions\/6488"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media\/5666"}],"wp:attachment":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media?parent=6487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/categories?post=6487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/tags?post=6487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}