Credit card skimming scripts using WebRTC found on popular shopping sites
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Credit card skimming scripts using WebRTC found on popular shopping sites
All the sites we contacted took action; but the larger consumer web ecosystem should be prepared to mitigate these attack vectors.
我们联系的所有网站都采取了行动;但更广泛的消费者网络生态系统应做好准备,以减轻这些攻击媒介的影响。
A card-skimming script was planted on the online stores of Lascana, Samsonite, American Tourister, Revolve and FWRD in the week before Black Friday. After our reports to affected companies, all have had the script removed (on November 24th or 25th) ahead of Black Friday. We observed it in action on one of the five websites: Lascana, where it sent our test card’s details to a 3rd party. We believe the script was built to take a card number, expiry and security code, along with a user’s name, address, phone and email, and send them to malefactors as a user entered their payment credentials. It did this before the store checked the payment, so a card could be taken even if the order was declined or cancelled, and nothing would look wrong to the shopper. Across all of these sites, we do not know how many, if any, shopper details or payment credentials may have been captured.
在“黑色星期五”前一周,Lascana、Samsonite、American Tourister、Revolve 和 FWRD 的在线商店中被植入了信用卡窃取脚本。在我们向受影响公司报告后,所有公司都在“黑色星期五”之前(11 月 24 日或 25 日)删除了该脚本。我们在五个网站中的一个(Lascana)观察到了它的运行情况,它将我们测试卡的详细信息发送给了第三方。我们认为该脚本旨在获取卡号、有效期和安全码,以及用户的姓名、地址、电话和电子邮件,并在用户输入支付凭据时将其发送给不法分子。它在商店核对付款之前就完成了此操作,因此即使订单被拒绝或取消,卡片信息也可能被窃取,而购物者不会察觉任何异常。在所有这些网站中,我们不知道有多少(如果有的话)购物者详细信息或支付凭据可能已被窃取。
On November 24, we notified all of the named parties in this article and others, including: Amazon Web Services about the storage buckets serving the script, Cloudflare about the services the malefactor used, the domain registrars, the pixel vendor, the consent-banner provider and the affected retailers and platforms. Lascana replied to us and removed the Quorum pixel from their site by November 24th at 15:48 UTC. Quorum confirmed the identified malicious code was removed from their pixel tracker, and they restored the clean marketing pixel as of November 24th at 21:09 UTC.
11 月 24 日,我们通知了本文中提到的所有相关方及其他机构,包括:关于托管脚本存储桶的亚马逊云科技(AWS)、关于不法分子所用服务的 Cloudflare、域名注册商、像素供应商、同意横幅提供商以及受影响的零售商和平台。Lascana 回复了我们,并在协调世界时(UTC)11 月 24 日 15:48 之前从其网站上删除了 Quorum 像素。Quorum 确认已从其像素追踪器中删除了已识别的恶意代码,并于 UTC 11 月 24 日 21:09 恢复了干净的营销像素。
Revolve provided this statement on behalf of REVOLVE and FWRD: “On November 25, InfoHawk notified our team of a potential security issue impacting mobile and tablet versions of our websites which we resolved the same day. We appreciate the outreach, and are actively investigating the issue to determine any potential impact.”
Revolve 代表 REVOLVE 和 FWRD 发表了以下声明:“11 月 25 日,InfoHawk 通知我们的团队,我们的网站移动版和平板电脑版存在潜在的安全问题,我们已于当天解决。我们感谢此次沟通,并正在积极调查该问题以确定任何潜在影响。”
-
Quorum is an ad-attribution platform that links ad views to store visits and online sales (quorum.inc).
-
Quorum 是一个将广告浏览量与商店访问量和在线销售额联系起来的广告归因平台 (quorum.inc)。
† Seers is a cookie consent management platform and data privacy compliance company (seers.ai).
† Seers 是一个 Cookie 同意管理平台和数据隐私合规公司 (seers.ai)。
This attack uses WebRTC, the technology that allows you to make video calls in your web browser. WebRTC lets a web page open its own channel to another party and pass data (e.g. audio/video packets) over it. It has likely been used (both to load the skimmer and to send the stolen card details out) because security rules and monitoring tools often do not watch this communications channel as closely. For example, Meta briefly used WebRTC in a creative way in 2025, according to researchers looking at the technology as a compromise vector. This form of attack appears to target mobile devices, and we only saw the server enable the skimmer on checkout pages, so desktop checks and homepage scans would likely not see it. The skimmer’s traffic appeared to run through Cloudflare’s relay, so it would blend in with the WebRTC traffic and hide its true endpoint.
此次攻击使用了 WebRTC,这是一种允许你在网页浏览器中进行视频通话的技术。WebRTC 允许网页打开通往另一方的专属通道并传输数据(例如音频/视频数据包)。它之所以被使用(既用于加载窃取程序,也用于发送被盗的卡片详细信息),很可能是因为安全规则和监控工具通常不会密切监视此通信通道。例如,据研究该技术作为攻击媒介的研究人员称,Meta 在 2025 年曾以一种创造性的方式短暂使用过 WebRTC。这种攻击形式似乎针对移动设备,我们仅在结账页面上看到服务器启用了窃取程序,因此桌面端检查和主页扫描很可能无法发现它。窃取程序的流量似乎通过 Cloudflare 的中继运行,因此它会混入 WebRTC 流量中并隐藏其真实的终点。
How the kit is designed to work on a store page, in 7 steps. Only step 4 is an ordinary web request, which a connect-src rule can block; steps 5 to 7 run over the WebRTC data channel, outside connect-src.
该工具包在商店页面上的工作设计分为 7 个步骤。只有第 4 步是普通的 Web 请求,可以通过 connect-src 规则拦截;第 5 到第 7 步在 WebRTC 数据通道上运行,不受 connect-src 限制。
The loader gets onto the page through a consent-banner setting, a retailer CDN file, a shared marketing pixel or the store’s own HTML.
加载程序通过同意横幅设置、零售商 CDN 文件、共享营销像素或商店自身的 HTML 进入页面。
It loads Insds.js or gtage.js from an Amazon S3 bucket.
它从亚马逊 S3 存储桶加载 Insds.js 或 gtage.js。
It runs only on small or touch screens. The Samsonite version runs on /checkout only.
它仅在小型或触摸屏上运行。Samsonite 版本仅在 /checkout 页面运行。
GET /_cf/ice fetches the relay details, and POST /_cf/rel sends the WebRTC offer, to a brand-named northbridgeads[.]com host.
GET /_cf/ice 获取中继详细信息,POST /_cf/rel 将 WebRTC 提议发送到名为 northbridgeads[.]com 的主机。
Every exchange that returned relay details used turn.cloudflare.com. The malefactor’s answers listed only Cloudflare relay addresses; through that relay it sends code and receives data.
每次返回中继详细信息的交换都使用了 turn.cloudflare.com。不法分子的回答仅列出了 Cloudflare 中继地址;它通过该中继发送代码并接收数据。
The skimmer arrives in chunks over the channel, is checked against a SHA-256 digest, then run with eval.
窃取程序通过通道分块到达,经过 SHA-256 摘要校验,然后使用 eval 运行。
At Lascana’s checkout‡, the skimmer sent our test card details this way.
在 Lascana 的结账页面‡,窃取程序就是这样发送我们测试卡的详细信息的。
‡ This was the only example of live card details being sent off-site that we captured.
‡ 这是我们捕获到的唯一一个实时卡片详细信息被发送到站外的案例。
Check your recent statements for charges you don’t recognize, especially on debit cards. Call your bank or card issuer right away, report the fraud and ask for a new card number. Follow up with a written dispute within 60 days of the statement that shows the charge.
检查你最近的账单中是否有你不认识的扣款,尤其是借记卡。立即致电你的银行或发卡机构,报告欺诈行为并要求更换新卡号。在显示该扣款的账单日期起 60 天内,提交书面争议申请。
Our understanding of US federal law is that your liability for unauthorized credit card charges is capped at $50, and is generally zero if only your card number was stolen, as in a skimming attack like this one. Debit cards have weaker protections that depend on how quickly you report, so act fast. For more information, see “Additional resources” below.
根据我们对美国联邦法律的理解,你对未经授权的信用卡扣款的责任上限为 50 美元;如果仅是卡号被盗(如本次窃取攻击),通常责任为零。借记卡的保护力度较弱,取决于你报告的速度,所以请尽快采取行动。欲了解更多信息,请参阅下方的“其他资源”。
That blocks the two web requests the script needs before WebRTC opens. Without them the skimmer never arrives, whichever file was tampered with.
这可以拦截脚本在 WebRTC 打开前所需的两个 Web 请求。如果没有它们,无论哪个文件被篡改,窃取程序都无法到达。
We saw the skimmer delivered in three different ways across five websites run by different companies, and all of them appear to rely on the same attacker infrastructure. That makes it likely that other sites are affected too, so we encourage online retailers to check their own sites for the signs below.
我们看到窃取程序通过三种不同的方式在五家由不同公司运营的网站上传播,且它们似乎都依赖于同一个攻击者基础设施。这使得其他网站也很可能受到影响,因此我们鼓励在线零售商检查自己的网站是否存在以下迹象。
This attack takes advantage of a few critical design decisions in websites that, if improperly configured, allow malicious actors to broadly deploy and trigger exploits across the open web.
此次攻击利用了网站中几个关键的设计决策,如果配置不当,这些决策将允许恶意行为者在开放网络中广泛部署并触发漏洞利用。
Loading third-party tracking pixels on checkout, payment and login pages is far too common a practice today. Each pixel can run whatever code its vendor’s file holds, including a skimmer, and whoever controls that file can change it without the site noticing. Every site should review which tracking pixels load on pages that take payment or sign-in details, who
在结账、支付和登录页面加载第三方跟踪像素是当今非常普遍的做法。每个像素都可以运行其供应商文件中包含的任何代码,包括窃取程序,而任何控制该文件的人都可以在网站不知情的情况下对其进行更改。每个网站都应审查在处理支付或登录详细信息的页面上加载了哪些跟踪像素,以及谁在控制这些像素。