Hidden Malware in Your Browser: A Conversation with Forensic Investigator Aaron Willis

Learn from Forensic Investigator Aaron Willis about the latest ecommerce attacks and how to combat them.

Updated:  
November 30, 2026
Security Research
Data Breaches
Network Security
Ecommerce Security
Data Security Trends
Hidden Malware in Your Browser: A Conversation with Forensic Investigator Aaron Willis
Quick Answer:
Quick Answers: Ecommerce Skimming in 2026

Why do server scans miss ecommerce skimmers?
Browser-based skimmers run inside the checkout page on the shopper's device, not on the merchant's server. A server can pass every scan and forensic review while card data is being stolen from the page customers see.

How do attackers get around payment iframes?
Attackers use two main techniques:

  • Overlays: a fake payment form placed on top of the real iframe
  • Hijacked iframes: the iframe's source is swapped to an attacker-controlled page that still loads the real payment code

What are the minimum defenses for an ecommerce checkout?
SecurityMetrics forensic investigators recommend three layers:

  • A hosted payment iframe
  • Client-side monitoring of the checkout page
  • File integrity monitoring (FIM) on the server

Which PCI DSS requirements address browser-based skimming?

  • Requirement 6.4.3: inventory, authorize, and justify all payment page scripts
  • Requirement 11.6.1: detect unauthorized changes to payment pages and HTTP headers as the browser receives them

Both have been mandatory since March 31, 2025.

Which businesses are at risk?
Businesses of all sizes, on any payment provider. The attack happens on the merchant's own checkout page, so using a large gateway or aggregator doesn't remove the exposure.

As a cybersecurity writer, I’m often wondering what the latest attacks threat actors are using. However, it can be difficult to get the details on what’s actually going on in the cyberverse. 

This is why I sat down with SecurityMetrics VP of Forensics and member of SecurityMetrics Cybersecurity Assessment Team (CAT), Aaron Willis, to talk about the latest forensic trends. 

The biggest takeaway from this meeting is that websites have been leaking card data for months while their servers come back clean on every scan. So business owners believe they are safe while hemorrhaging card data, effectively losing profit and customer trust. 

Drawing on a decade of experience chasing ecommerce skimmers, Aaron Willis described how his forensics team first spotted browser-based skimming, how attackers learned to slip around payment iframes, and the three controls he considers the bare minimum. 

Want to listen to this interview instead? Check it out here.

The Cases Nobody Could Crack

SecurityMetrics first discovered browser-based skimming around 2015 and 2016, in breach cases where earlier investigators had found nothing.

Aaron describes this as “a frustrating pattern.” His team would pick up a case that had already been through two or three PCI Forensic Investigator engagements. Each one had given the merchant a “clean bill of health.” Yet the card brands kept tracing stolen cards back to that merchant as the common point of purchase (CPP).

Aaron explains that "they were at their wit's end. They were spending a fortune trying to find where the problem was, and multiple investigators gave them a clean bill of health."

The team started where any forensic investigator would: pull a forensic image of the web server and tear it apart looking for hidden malware. They found nothing either. So they widened the lens and traced every point the card number touched, from the moment the customer typed it into the website, through checkout, and on through back-end payment processing.

Then, Aaron discovered that “there really was no malware on the server. The malware had moved to the browser, and nobody had eyes there. It was a complete security hole."

In other words, the skimmer was living on the checkout page as it ran on the shopper's device. Server-side forensics, it turns out, was looking in the wrong place.

A Rise in Ecommerce Injection Attacks

Just this last year, the SecurityMetrics CAT team discovered a large operation (nearly 700 credit card skimmers) that were technically advanced skimmer kits designed to evade detection, impersonate legitimate payment forms, and exfiltrate stolen card data through multiple redundant channels. This type of attack is nothing new, yet the technical sophistication used in this particular attack was especially concerning. Protecting your ecommerce shopping carts requires a more informed solution that can withstand this type of threat. 

How Skimmers Went from the Server to the Browser

Attackers moved into the browser because businesses got too good at protecting their servers. Aaron traced the path back to point-of-sale (POS) malware, including:

  • POS breaches. Investigators used to find malware on back-of-house servers, quietly copying card numbers from the front terminals. EMV chip cards made that far less profitable, so attackers went after the next easy target: e-commerce.
  • Server-side web skimmers. Early online checkouts posted card data back to the merchant's own server before sending it to the payment gateway. Threat actors broke in and buried skimming code in the site's PHP, ASP, or ColdFusion files.
  • File integrity monitoring (FIM). FIM alerts when a configuration file or payment page changes unexpectedly. Aaron called it very effective when it's implemented correctly.
  • Attackers moving off the file system. To dodge FIM, threat actors started loading their code from places the server wasn't watching: a third-party script, a content delivery network (CDN), a separate database, or even a coupon server.

Aaron’s explanation of why that works is one I’ll keep using. A checkout page is built from many back-end components, compiled into a finished page, and then delivered to the shopper’s browser, where it runs until the transaction is complete.

If a threat actor can get malicious JavaScript into that finished page, the card number is stolen the instant the customer types it in. You can investigate your server and never discover the scam, because the malware only existed in the checkout page while the shopper was filling it out.

The Iframe Was the Safe. Then Threat Actors Learned to Crack It.

Hosted payment iframes used to be the gold standard for years, but attackers have learned how to get around them.

Around 2015 to 2017, threat actors realized they could move the payment form off the merchant's server entirely. The payment gateway hosts the card fields inside an iframe, and the browser's same-origin policy keeps scripts on the merchant's page from reading what's typed there. Aaron likened it to putting a safe in your house, which only helps if you remember to lock the doors and windows too. 

Aaron explains that, "If a bad guy gets in, given enough time, and if he thinks the valuable things are worth it, he'll figure out how to get into that safe."

Aaron remembers seeing the first iframe bypass attacks around 2018. They picked up heavily from 2020 on, and by 2022 and 2023 nearly every case his team worked on was an iframe bypass. He describes two generations of technique:

  • The overlay. A fake payment form pops up over the real iframe. The shopper enters their card, gets a "you typed it wrong" error, and is returned to the real form. Aaron notes that any script kiddie could pull this off.
  • The hijacked iframe. The more sophisticated version looks completely legitimate. The real gateway code loads, the fields behave normally, and card data still gets out. Attackers swap the iframe's source to a page they control, which then loads the genuine payment code. Because the attacker now owns that origin, scripts on the outer page can reach right into the iframe and read it.

Here’s a breakdown of what every stage of e-skimming looks like: 

Should Merchants Be Worried?

Yes, and neither your size nor your payment provider takes you out of the target zone. When I asked Aaron whether merchants should be scared, he chose a different word: cautious. "The worst mistake we see people make is believing, ‘I'm too small to worry about, or we're too big, we're too powerful.’ This attack affects huge corporations and little mom-and-pop shops."

Aaron adds that it doesn't matter who your provider is. Payment aggregators and gateways share the same underlying exposure, because the attack happens on the merchant's page, not on the provider's.

Are iframes still worth the risk?

Absolutely, and this was the part of our conversation that reframed things for me. Aaron would mandate iframes for every merchant if he could. Not because they're unbeatable, but because they force the attacker's hand. He explains that "If you have an iframe, you force the attacker to reveal themselves at the checkout, at the time of checkout."

Once the card is entered into an iframe, it is tokenized and gone. That gives an attacker a very short window to grab it, which means defenders know exactly when and where to look: Is the card going where it's supposed to? Is something being injected into the event handlers?

Without an iframe, malicious scripts can load from anywhere and watch the form at any time. And if card data still posts back to your own server, the whole server is back in scope. 

Investigators have to comb through all of it for backdoors, which makes the investigation slower, more expensive, and much harder to close out.

A Forensic Investigator's Top 3 Ecommerce Defenses

Aaron's bare minimum for ecommerce security is three layers: a payment iframe, client-side monitoring of the checkout page, and file integrity monitoring on the server. He advises that every ecommerce shop owner:

  1. Process payments in a hosted iframe. It narrows the attack to a single moment at checkout and keeps your server out of the card data flow.
  2. Monitor the checkout page from the client side. An agentless monitor watches the page as shoppers see it, so if someone tries to bypass your iframe or slip in a new script, you catch it before it turns into months of stolen cards. In fact, this is the gap SecurityMetrics Shopping Cart Monitor was built to close.
  3. Lock the doors and windows with FIM. Attackers still need a way into your site to plant browser skimmers. File integrity monitoring flags unexpected changes on the server side.

Aaron was clear that these aren't the only controls you should use. But as he put it: "If those three controls are in place and working as they should, configured as they should be, that is an amazing level of security."

This lines up with where the PCI Security Standards Council has taken the standard. 

PCI DSS v4.0 introduced Requirement 6.4.3, which covers managing and authorizing payment page scripts, and Requirement 11.6.1, which covers detecting unauthorized changes to payment pages as the browser receives them. 

Both have been mandatory since March 31, 2025.

What I'm Taking Away

The checkout page in your customer's browser is now your front line, and most merchants still don't have eyes on it. 

This can be terribly detrimental to businesses of all sizes. In fact, throughout our conversation, Aaron describes how ordinary these victims are. These aren’t careless merchants. 

Many have iframes and passing scans, and some have paid for multiple investigations before anyone found their problem. Nobody wants to explain to their leadership why the card brands keep naming them as the breach source after three clean reports.

The good news is that the fix isn't crazy expensive or time-intensive. Keep your iframe, watch your checkout page, and protect your server. If you aren't sure whether your checkout page is being monitored today, that's the first question to answer. 

A great place to start is with SecurityMetrics Shopping Cart Monitor, which has packages for all budgets and levels of security needs. Shopping Cart Monitor helps customers with:

Compliance support: 

  • Inventories all JavaScript on the payment page, both static and dynamically generated scripts, and lets users justify each script to address PCI DSS 6.4.3 
  • Runs at regular intervals to detect payment page modifications, acting as the change- and tamper-detection mechanism required by PCI DSS 11.6.
  • Builds/updates your script inventory automatically and produces an exportable log that can go straight to a QSA 

Threat detection:

  • Detects hidden malicious scripts running in the customer's browser to defend against Magecart and digital skimming attacks
  • Sends alerts as soon as it detects unexpected changes to website code or HTTP headers, so teams can respond before customer data is exposed
  • Simulates the checkout process, takes a snapshot of what it looks like, flags abnormal or suspicious scripts, and reports them for review while keeping false positives low

Did you know Shopping Cart Monitor can scale with your business size? There are three packages that you can explore: 

  • Basic (cost-conscious SMBs): portal access, 1 payment path, user-initiated scanning, add-on consultation credits 
  • Plus (businesses that want minimal workflow disruption): automated scanning, 1 payment path with the option to add more 
  • Pro (the most popular tier, for businesses wanting full threat visibility): 3 payment paths with add-on option, automated scanning, a forensic annual baseline assessment, and 12 annual consultation credits 

For more information about ecommerce checkout solutions or expert advice, get started here. 

Frequently Asked Questions

What is browser-based skimming?

Browser-based skimming is malicious JavaScript that runs in a shopper's browser on a checkout page and copies card data as it's typed. Because it lives in the rendered page, server-side scans and forensic images often miss it.

Do payment iframes stop skimming attacks?

Payment iframes block many attacks, but they can be bypassed with overlay forms or hijacked iframe sources. They remain a key control because they force attackers to act at the moment of checkout, where client-side monitoring can catch them.

Does file integrity monitoring catch skimming attacks?

No, instead FIM watches files on the server. Attackers started loading skimming code from third-party sources like CDNs or other servers, so the malicious code never touched the monitored file system.

Is my business too small to be targeted?

No. SecurityMetrics forensic investigators have seen these attacks hit both large corporations and small businesses, regardless of payment provider.