PAYMENT FAILED. HACK COMPLETE.
The system is complex but very effective. The attack took place as follows. The attackers embedded malicious JavaScript code into the payment pages of legitimate online stores. This code was activated at the very moment when the user placed an order in the online store. The activated code intercepted the data entered by users: card numbers, expiration dates, CVC codes, as well as names, delivery addresses, phone numbers, and email addresses. The information was then sent to a remote server via an HTTP request. The hackers used the domain “cdn-cookie[.]com,” which hosted encrypted scripts, including “recorder.js” and “tab-gtm.js.” The components were downloaded by online stores and ensured the hidden operation of the malicious system. The attackers used a detection avoidance mechanism—checking for the presence of the “wpadminbar” element on the page, which is characteristic of the WordPress admin panel. If such an element was detected, the malicious script immediately self-destructed. The script was adapted for various payment methods. For example, when Stripe was selected, the browser storage was checked for a special flag — the “wc_cart_hash” element. If this flag was missing, the user paying for the purchase saw a fake payment form that was styled to look like the real one. After entering the data, an error was simulated, pretending that the details had been entered incorrectly. Meanwhile, the information was already being sent to the attackers. After the theft, the flag was set so that the attack would not be repeated on the same user. It should be noted that the hackers thoroughly studied the architecture of WordPress, including little-known features, and integrated them into the attack sequence. This hidden campaign to intercept bank card data was recently uncovered. When Silent Push experts investigated the abnormal activity associated with domains controlled by a hosting provider owned by the Dutch company WorkTitans B.V., they were amazed at the scale of the attack. At present, experts cannot even estimate the approximate number of victims of this attack. The hackers, who spent two years collecting data from online shoppers, remain unknown — cybersecurity experts have been unable to locate them.
