Cybersecurity in e-commerce – skimming, PCI DSS and DDoS during the peak sales period 

Online shops face three threats: e-skimming, PCI DSS requirements and DDoS attacks. The first involves the theft of card details by malicious scripts on the payment page. Such attacks are known as Magecart. The second challenge is compliance with the PCI DSS 4.0.1 standard, which became fully mandatory on 31 March 2025. DDoS attacks, on the other hand, often strike at the peak of sales. It is precisely then that every minute of downtime can mean a loss of revenue. The common thread is simple: in e-commerce, security is directly linked to revenue. Below, we break down these three threats and show what you really need to have in place.

E-skimming (Magecart) – theft of card details from your website

E-skimming involves injecting malicious JavaScript code into a payment page. This code intercepts card details entered by customers. The source of the attack is often a third-party script, such as an analytics tool, a chat widget or an A/B test. As a result, neither the customer nor the shop notices anything amiss.

This is one of the methods that continue to pose a threat to online shops. It is particularly damaging for small and medium-sized retailers, as they rarely monitor the scripts running on their websites. As a result, they may fail to detect malicious code in time.

PCI DSS 4.0.1 – what comes into force in 2025

The PCI DSS standard, version 4.0.1, has been fully mandatory since 31 March 2025. This means that the transition period has now ended. In the case of e-commerce, two new requirements are of particular importance. Both relate directly to protection against e-skimming.

Requirement 6.4.3 stipulates that an inventory must be drawn up of all scripts loaded on the payment page. It must then be verified that each of them is authorised. Their integrity must also be checked. Requirement 11.6.1, in turn, stipulates the implementation of a mechanism to detect unauthorised alterations to the payment page and to relevant HTTP headers.

In addition, the requirements for multi-factor authentication within the card data environment have been strengthened. Vulnerability scans are also mandatory at least every 90 days. On top of this, an annual penetration test of the card data environment must be carried out.

This isn’t just ‘red tape’. These are specific technical checks that must be carried out and maintained on a regular basis.

DDoS attacks during peak sales periods – when downtime means lost revenue

DDoS attacks overload servers and take the shop offline. That is why attackers deliberately target them at times of peak traffic: Black Friday, seasonal sales or product launches. It is precisely then that downtime costs the most, and the pressure to restore service quickly is at its highest. What’s more, a DDoS attack may simply be a smokescreen designed to divert the team’s attention from a parallel attack. As a result, the team may overlook the real threat. That is why security measures and a response plan must be in place before the sales peak, rather than only once it is underway.

The common denominator – visibility and continuity

All three threats require the same thing: an understanding of what you are exposing and what is happening in real time. That is why it is essential to monitor the scripts on the payment page and the entire attack surface. You should also regularly test your security measures and, above all, continuously detect and respond to threats.

In e-commerce, there is no such thing as ‘off-hours’. An attack at night or during the peak season results in a real and immediate loss.

How to secure an online shop

Requirements 6.4.3 and 11.6.1, along with skimming detection, are addressed through exposure monitoring, which covers scripts and the attack surface. The annual testing requirement is met through penetration testing, while regular scans are performed by a vulnerability scanner. The SOC provides 24/7 monitoring to detect tampering and DDoS attacks and respond to incidents.