Credit card skimming scripts using WebRTC found on popular shopping sites (infohawk.com)

439 points by scanr 11 hours ago

jszymborski 10 hours ago

People like to get sanctimonious about blocking ads, but this is one of the many good reasons why I'll never feel bad about it.

hibikir 7 hours ago

This has been a standard cybersecurity stance for decades. I have had corporate laptops where the ad block came included precisely because of this risk.

halJordan 6 hours ago

It's just another example of how the powers that be recognize a harm exists and protect themselves and their buddies, but expect you and me to shoulder the harm without complaint

kevin_thibedeau 8 minutes ago

59percentmore 2 hours ago

allthetime 6 hours ago

Who does? They are uninformed and not worth taking seriously. Sketchy ad servers are the number one vector for malware on the browser.

jszymborski 4 hours ago

Plenty of folks arguing exactly this on HN all the time, some are even in this thread.

duped 2 hours ago

joquarky 4 hours ago

Why aren't these ad networks in fear of liability?

BHSPitMonkey 2 hours ago

loloquwowndueo 5 hours ago

“Blocking ads is theft, how else are they going to monetize their content?” is argument I’ve seen a few times. Not sure who’s pushing it but it does seem to be gaining some traction.

dataflow 5 hours ago

chneu an hour ago

There are always people who blindly defend capitalism and its inherently shitty behavior. They have massive sunk costs and if they criticize capitalism then they have to criticize themselves.

godwinson__4-8 7 hours ago

Ads are just one particular case of the problem.

Sites everywhere are fat with JavaScript doing all sorts of unnecessary things. Why trust anyone's JavaScript at all?

Everything should be API first and ship with a JavaScript less default. Your local AI agent who you engineer your trust model around builds any desired runtime scripting for you at runtime, dynamically the first time and iteratively tuned to you thereafter. For many sites you won't care and will accept defaults or a buddy's template.

We need legislation to enforce API only access to any public website. Any public frontend must be rebuildable with data from a public API.

The problem with AI is the incentives of people shoving JavaScript in your face (or useless exposition when trying to divine a Thanksgiving recipe vs the ease of AI mode, for instance) undermine the promise of the entire AI technology - every frontend for every person can be entirely unique and yet entirely coherent. No gatekeepers. Instead of ads send a microtransaction if need be to every API, or the government can subsidize.

Focusing on ads is missing the point. The real issue is your client running scripts you did not explicitly ask or delegate it to. The entire Internet is adversarial in this way, not because of ads but because people expect access and no one wants to pay for anything. People who block ads simply contribute to this problem, they don't offer a solution.

AI offers a way out. AI belongs to all of us given its broad corpus. Let it be the client and leave government or some regulated utility as little more than the clearing house.

hathawsh 7 hours ago

You find AI more trustworthy than JS? JS isn't perfect, but at least it's deterministic.

mathplebe 6 hours ago

godwinson__4-8 6 hours ago

radlad 7 hours ago

Not sure I understand the connection between Javascript, AI and APIs. I've found Javascript SPAs often have the best APIs.

philipallstar 6 hours ago

> We need legislation to enforce API only access to any public website.

This is the most parochial and regulation-brained statement I've ever seen.

godwinson__4-8 5 hours ago

techjamie 9 hours ago

It amazes me that ad companies are allowed to let anyone with a few dollars shove arbitrary JavaScript/assets down the throats of the wider internet. Not only that, but the operators are financially incentivized to allow malvertising to continue operating because they're amazing repeat customers.

amluto 9 hours ago

It amazes me that site operators are willing to include ad networks in a way that gives them code execution.

cowlevel 8 hours ago

heresie-dabord 2 hours ago

> It amazes me that ad companies are allowed to let anyone with a few dollars shove arbitrary JavaScript/assets down the throats of the wider internet.

It is unclear to my why the Internet would somehow be immune to monetisation, organised crime, and the worst tendencies of human nature.

Because we can see that by any measure, it is not immune.

AlexandrB 9 hours ago

The problem is there's no liability for doing so. If the arbitrary JavaScript would make the ad company liable for tens of thousands in damages per user there would be a lot of innovation around making ad delivery safe.

dpkirchner 9 hours ago

BobbyTables2 7 hours ago

ModernTimes 8 hours ago

Google Adsense is completely infested with malware ads, and they refuse to provide tools so website publishers can prevent the scams.

Therefore Google Adsense is indistinguishable from a malware company, even if they didn't set out to be.

I don't understand why these people are not in prison.

WarmWash 7 hours ago

Ironically this is only true for people who use privacy tools (or have a penchant for clicking on scammy ads).

At auction it's only the sleeziest bidders who bid on blank profiles.

This is why when you turn off ad-block to "see what it's like" it's all the worst stuff. Nobody wants to pay to show you their ad, they already know you don't look at ads.

Google doesn't care much either because they too know you don't do ads. So they'll take the $0.00001 and not worry much about how the internet looks for people using ad block anyway.

plasticchris 8 hours ago

It’s been this way for decades. They used to tell you the ethical or legal way “doesn’t scale” when you would challenge it.

consp 8 hours ago

eddythompson80 9 hours ago

I do feel some of the sanctimony is warranted because saying you block ads for security of privacy reasons, to me, is like saying you put a no solicitations sign in your front because you’re worried about potential intruders or robbers . It’s possible that some robbers might pretend to be solicitors to learn more about the place and what not, but ultimately the sign is there to stop annoying people who are trying to sell you some bs from wasting your time.

If you’re actual concern is security or privacy, then block all JS, especially 3P JS but even 1P too, and allow it only as needed. If you use ublock origin, it’s very straight forward to do and manager per domain.

jszymborski 9 hours ago

If door-to-door sales people were disproportionately committing crimes that would be a good analogy, but it's just not the case.

We all have our threat models, but I can guarantee you that simply installing uBlock Origin on a non-technical persons' PC will go much, much further than install an anti-virus towards securing their PC.

And FWIW I do use NoScript to block all third party scripts (and I used to block first party scripts).

eddythompson80 8 hours ago

hysan 9 hours ago

Unrealistic in today’s world. I ran noscript by default and did exactly as you described from 2007(?) to around 2013. I eventually gave up because those js scripts grew faster than you could manage. Sites also caught on and would chunk required js into js that is meant primarily for serving third party ads. Those ads don’t load, those js chunks would fail and content won’t load. Sure I stopped reading some sites because of that but this practice spread to the point where the internet became unusable. What you say sounds doable but isn’t in practice.

eddythompson80 8 hours ago

trashcan_man 9 hours ago

That's two very different tiers of threats. Blocking JS is the equivalent of bricking up all your windows, blocking ads is closing the blinds so somebody is less likely to hit you from the bushes. There are plenty of legitimate threat mitigations by blocking ads beyond the cosmetic improvements.

They each have a place, but to compare blocking ads to a "no solicitations sign" is inaccurate. We'll reserve that for the DNT header field.

schaefer 4 hours ago

Are you aware the FBI has issued a notice to all Americans, telling them block ads because of the unmitigated threat of malware?

If there’s a social contract being broken, it’s the ad networks, not the ad blockers in the wrong at the moment.

Let them clean up their act, and start rebuilding trust and the balance might change.

rsync 7 hours ago

There is no sanctimony.

No serious person is sanctimonious about ad blockers.

In your analogy, I put the sign in front of my house because fuck you, that’s why.

Same with my web browser.

eddythompson80 6 hours ago

wat10000 8 hours ago

Signs get ignored. Ad blockers actually block things without their cooperation. It’s more like a locked gate which keeps out both bad guys (sometimes) and salespeople. Which is something people frequently do.

JoshTriplett 6 hours ago

eddythompson80 6 hours ago

thaumasiotes 9 hours ago

> If you’re actual concern is security or privacy, then block all JS

Fun fact: Google will no longer let you search if you have javascript off.

eddythompson80 8 hours ago

cowlevel 8 hours ago

afavour 10 hours ago

Worth noting that this isn’t really anything to do with the technical capabilities of WebRTC, it’s just that it’s less frequently monitored for nefarious behavior. Same reason they’re only targeting mobile devices: harder to detect.

No reason this approach couldn’t be taken with simple HTTP requests. If you’re embedding third party scripts on your site you’re always vulnerable.

sufianrhazi 7 hours ago

Also, WebRTC is really hard to inspect even with devtools. Chrome DevTools just doesn't surface WebRTC connections or data transfer at all. There's just chrome://webrtc-internals/ and chrome://webrtc-logs/ which are very hard to use.

pimterry 6 hours ago

HTTP Toolkit can do it! https://httptoolkit.com/

Some background and screenshots here: https://httptoolkit.com/blog/decentralized-web-webrtc-debugg.... I'm the author.

When you launch an intercepted Chromium there, it injects a browser extension which hooks webrtc and redirects all connections through a MITM for debugging & rewriting. Only works with bare chromium not chrome nowadays, as Chrome looks down extension setup far more tightly unfortunately (for quite good reasons, but mildly inconvenient for dev).

All open source, backend is also usable standalone: https://github.com/httptoolkit/mockrtc

chneu an hour ago

More reasons not to use chrome

everdrive an hour ago

>Same reason they’re only targeting mobile devices

No one likes it when I say this, but don't use a smart phone for anything whatsoever.

edoceo 10 hours ago

Would CSP mitigate this?

deathanatos 9 hours ago

From TFA:

> On every page that takes payment, set a connect-src rule that lists only the hosts you use.

(Though you should really be setting a default-src that only lists `self`.)

TazeTSchnitzel 9 hours ago

fidotron 9 hours ago

I do think it's fair to say if you were inventing WebRTC today the entire P2P and STUN/TURN aspect of it would need to go. (mdns also seems like a technology from a more naive time).

The MoQ people are annoying, but in one respect they are right, and that is that having browsers have channels of communication outside of the usually expected HTTP is a recipe for trouble.

cowlevel 8 hours ago

No, you still need P2P for reasonably efficient video chat. Your options are P2P or millions of dollars and god knows the internet doesn't need more centralisation.

fidotron 8 hours ago

lxgr 4 hours ago

Sure, skimming card details would never happen via malicious collection scripts exfiltrating their data via plain old XHR over HTTPS...

s_u_d_o 40 minutes ago

Why don’t google adsense & other ad providers sandbox those ads? And never allow any JS to be executed at client side? Wouldn’t this solve it all? Why doesnt our browser act like a renderer of those ads, without any possible JS execution?

emdash 38 minutes ago

Because then Google would make slightly less money, and we can't have that.

snickerer 8 hours ago

One basic design no-go of the www is to allow strangers to run random code on your computer. It is just not acceptable. Servers should deliver just data and my browser decides what to do with it. A shop should deliver lists of items and prizes and my shop browser decides how to operate with the catalogue in a way I want. Everying else is nuts.

lxgr 4 hours ago

This wouldn't change the fact that the site owner gets to decide which code runs on their site, whether in your browser or on their backend. In a counterfactual world in which Javascript never became a thing, I'm sure there'd now be all kinds of horribly sketchy server-side plugins causing very similar types of problems.

In both worlds, the problem is who a site owner decides to grant access to your shopping session, not the fact that access can be granted at all. Or how would you ban them from e.g. insecurely transmitting your card data to their payment service processor on their backend? You just wouldn't see it.

streetfighter64 6 hours ago

> allow strangers to run random code on your computer

> deliver just data and my browser decides what to do with it

Code is data and your browser decides to execute it. A toy example, but HTML+CSS is Turing complete. The problem thus isn't that it's "code", but rather that it's not properly sandboxed.

> my shop browser decides how to operate with the catalogue in a way I want

Are you making a case for built-in components for e.g. sorting and filtering and what have you? To me that's just way more clunky than having an actual programming language. Even PDF, a static document format with no real user interaction, has a programming language (PostScript) embedded.

So in my view, the problem with JS isn't the features of the language itself, rather that the standard library has too much power, to make requests and access your microphone and stuff like that.

But even then, people want to use their computer to do video calls, and whatnot. And I for one much prefer using Zoom or Teams or such in the web app, instead of downloading the app version. Precisely because the web app is more tightly sandboxed.

IgorPartola 8 hours ago

How would you handle items with customization such as custom engravings? This would be both simple customizations as well as things requiring a full graphic or 3d editor? Previews of your items? How avoid discounts based on item combinations that are store-specific? Is your browser smart enough to do complex searches and filters for things like photo gear where some values have ranges? What will your browser do for builders such as putting together kits of equipment or supplies that may or may not all go together?

Like yes designing a generalized shopping experience is possible. It is also going to limit the long tail of features OR become such a huge and bloated spec that it will make things way worse. Imagine Temu but for all the shops.

Besides, doesn’t your browser and OS come from some third party? How much do you trust them to be bug and backdoor free? Or do you have your own browser and OS that you know for sure can do all this and you have verified?

Groxx 7 hours ago

With an exception for thing-editors that are not built into the browser (but could be, e.g. text is built in), all of those are rather easily covered by "the server sends that information". E.g. add something to your cart -> that loads the next page which has updated discount availability.

They weren't saying websites should be completely static, just maybe they shouldn't run attacker-controlled code.

ebertucc 7 hours ago

An optimistic path I see is LLMs making browsers smart enough to whip up personalized, ad hoc UIs for everything you suggest while every server becomes a glorified data provider as per the GP comment.

You'd still have to trust the hardware, OS, browser, and now an LLM too, but that threat model could be preferable to running arbitrary (especially 3rd party) Javascript.

__MatrixMan__ 10 hours ago

It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payment.

I suspect that the people who could change this are more interested in continued treatment than cure. They like being the arbiters of which transactions get reversed. It let's them justify their otherwise parasitic position.

pcthrowaway 6 hours ago

> It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payments

This is one of the actual things cryptocurrency payments get right (ignoring other problems)

TheRealPomax 10 hours ago

I don't know about your banks, but if I use my credit card to pay for something online, I have to entire an MFA code before that payment goes through.

geetee 10 hours ago

I can count on one hand the times I've had to do any extra step like this

xnorswap 9 hours ago

TazeTSchnitzel 9 hours ago

bonzini 9 hours ago

brewdad 9 hours ago

SoftTalker 7 hours ago

Not common or really done at all in the USA from what I've seen.

h1srf 2 hours ago

SkiFire13 6 hours ago

Groxx 7 hours ago

vladms 6 hours ago

I do to (Europe based) and would have hoped it's the only possibility, but it seems that some transactions can still go through without that. I found out when I noticed some ~5 euro suspect transactions, called the bank, they said "oh, yeah, this was without MFA (me: what?! can we you do that) will send you another card". So watch-out, just because you get asked a code for some transactions it doesn't mean it would appear for all.

SkiFire13 5 hours ago

flockonus 5 hours ago

Not here in Canada, i probably been asked the "3d secure" phone code about 4 times total.

ranger_danger 10 hours ago

Credit cards in the US are stuck in the past. NFC/MFA/PIN are not required (in a legal sense) at all, and every bank handles things slightly differently. Chip+PIN is rare compared to other countries. Traditional bank apps here also do not support direct NFC payments like they do in Europe, and many banks still rely on insecure SMS-based 2FA.

zeroonetwothree 9 hours ago

thaumasiotes 9 hours ago

I have had that happen (two relevant banks: Bank of America / Capital One), but it's very rare. The normal case is that you put in your card information and you're done.

Long ago, I had payment denied for an in-person transaction, after which my card was locked for any purpose, and I had to make a phone call to Bank of America to (1) process the original transaction and (2) unlock my card. The in-person transaction was in China, which I guess freaked out their system.

But having done that once, I never had a problem in China again. I opened the Capital One account mainly so that I could use it in China ("no foreign transaction fee", though in fact the foreign transaction fee is a very reliable 1%), and it didn't even raise an objection the first time like BofA did.

lxgr 4 hours ago

We're not even using symmetric key cryptography, we're using globally scoped bearer tokens of very, very questionable entropy. "Publics" much more than secrets, really.

> I suspect that the people who could change this are more interested in continued treatment than cure.

There is no cabal. It's game theory all the way down: Whoever unilaterally trades off some convenience for a little bit of security will lose out to their competitors.

Regulators could fix it by mandating security (and thereby keeping the playing field level), in the way that e.g. the EU largely solved this problem (at least for intra-EU payments; unfortunately compromised EU cards can still be readily used at US online merchants), but I have a feeling that in the US, there isn't really political will for that. Too many stakeholders are benefiting from the status quo in one way or another.

SoftTalker 7 hours ago

THe ideal amount of fraud is not zero. The rates of fraud are evidently managable/acceptable by the major payment processors, or else they would change their methods.

lxgr 5 hours ago

A seemingly elegant justification for the status quo, but I don't think it's actually true. (I do think that the ideal amount of fraud is greater than zero, but it's probably much lower than current numbers too.)

I think it's rather a collective action problem: If all issuers were to make card payments just a little bit more secure (and in the process less convenient too), consumers would have no choice but adapt. But since it's in each issuer's individual interest to keep that dial just a liiitle bit more to the "convenient but insecure" position than their competitors, the only equilibrium ends up being everybody approving as much fraud as they can accept. A very similar consideration applies on the merchant side.

Unregulated markets do often produce optimal solutions, but that doesn't mean that literally every solution they produce is also optimal.

eli 7 hours ago

Of course they are. They mostly make the merchants eat it.

__MatrixMan__ 6 hours ago

Sure, ideal for the payment processors. What's the ideal amount of fraud for the consumer?

SoftTalker 6 hours ago

lxgr 5 hours ago

mrguyorama 6 hours ago

Hackbraten 6 hours ago

tialaramex 9 hours ago

One important thing to understand about payment cards in particular is the distinction between "Settlement" and "Authorisation"

Settlement is the process by which Bank A with your money, or possibly your debt if it's a credit card, gives money to Bank B representing a merchant where ostensibly you paid with the payment card.

Settlement is basically still the same "Honour System" process as it was last century, it's probably no longer literally magnetic tapes or punched cards, but cryptography has no real role here. Because this relies on that Honour System, mere accidents can result in transactions which should not exist. At a societal level e.g. a big bank mistakenly runs MAIN1 MAIN2 MAIN2 MAIN4 files through their settlement process one night, and the next morning people whose transactions were in MAIN2 realise they've been charged twice! Meanwhile retailers relying on MAIN3 being processed are distraught to find that magically they got nothing. Oops, fat finger. e.g.

https://www.bbc.co.uk/news/uk-england-45400234 https://www.bbc.co.uk/news/business-41061781

Authorization is the step where there's something resembling modern security. This step is there to protect Banks and Merchants from Customers, who they don't trust as far as they could throw you. Although Banks and Merchants are so often involved in fraud, they both love blaming Customers and so hence they require Authorization. The EMV technology (most familiar as "Chip and PIN" but the same technology makes Contactless including paying with your iPhone work in most countries) is the most "high tech" this ever got.

EMV could be fairly good. It's not really well designed, crypto people have found some serious holes in it, but they're at the scale of "Skilled people could break this" or "This is needlessly worse than it should be" not at the "A bored teenager can steal your money" level where the magnetic stripes were. However, the bank cares a lot about price, a best-in-class EMV card might cost $1 more, if it reduces the bank's fraud costs by 50 cents they are losing money on that, so the crap EMV card they gave you is the right choice for their bottom line even if you also lose on average $2.50 from the fraud, the bank doesn't care about you, your benefit does not appear on their bottom line.

Understanding, as so often, Cui Bono (who benefits) from Authorization clarifies where the incentives are.

lxgr 4 hours ago

You probably mean cardholder authentication, not authorization. Authorization in the cards space means checking with the card issuer if the card has sufficient funds, but the cardholder identity is usually not verified here (except if maybe a PIN is entered, but even that can happen at a different stage). Even magnetic stripe cards have been commonly authorized online decades before EMV became a thing.

Also, the idea that "better EMV cards yield better security" is outdated by at least a decade and was only really relevant before ubiquitous online transaction authorization (at which point both "cheap" and "expensive" EMV cards can be verified for being clones). These days, essentially all cards support asymmetric cryptography, i.e. are the "expensive type of card", and are secure against clones even when the terminal is offline (assuming the issuer even wants to support that type of transaction, since it involves some risk to them).

The main difference is whether they support a PIN or whether a signature is sufficient, but that's mainly driven by market considerations, not individual issuers' fraud tradeoffs.

tialaramex 3 hours ago

cowlevel 8 hours ago

We have asymmetric-key payment systems. Google Pay, Apple Pay, physical credit cards... notice one thing in common. They're hard to use and not available in all scenarios.

lxgr 4 hours ago

These actually all largely use symmetric cryptography, except for payments at offline terminals or as an additional layer of security against certain types of attacks.

EMV is a symmetric key system at its core, since asymmetric cryptography capabilities were prohibitively expensive to implement in smartcards when it was originally introduced.

kenferry 7 hours ago

Do you mean hard to use for the merchant? I use Apple Pay whenever possible, and it’s easier than entering credit card details.

kccqzy 5 hours ago

forgetfreeman 9 hours ago

Is that the crazy part here? Global annual losses from online fraud and cybercrime is north of a trillion USD, or if you prefer the GDP of Saudi Arabia. What seems in need of justification is the broad availability of electronic funds transfers.

__MatrixMan__ 7 hours ago

Yeah I think there's quite a lot of craziness to go around. It's dumb on so many levels. To zoom out a bit further, It's also crazy that I can get a business loan for some endeavor that would hurt somebody, and then take the money from that loan, and expect that person to value that money--fungibility obfuscates moral hazards and makes us work against our own interests, and I'd love to do away with it also.

But whether or not we agree about how we might restructure the bigger picture, at some point somebody has to say yes or no to a candidate transaction, somebody whose answer makes it a real transaction. It seems very obvious to me that:

1. that person should be a party to the transaction, not a middle man

2. The secret they use to do so should not leave their device. (A modern credit card is a device, complete with an OS and a secure enclave for keys)

lxgr 4 hours ago

Not sure if that would actually solve this problem. Electronic funds transfers have been available in Europe for decades, yet cards are still widely used for online payments. But cards are also much cheaper and more secure there (PINs and 3DS are ubiquitous).

thaumasiotes 8 hours ago

> What seems in need of justification is the broad availability of electronic funds transfers.

Well, that's trivial. They make it easier to transact.

forgetfreeman 8 hours ago

kevsamuel 6 hours ago

I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.

Unless the site just forgot to add Web RTC in their connect-src CSP?

In which case it's not about WebRTC, it's about the site owner not securing their website.

judge2020 an hour ago

Connect-src 'none' does not actually block webrtc, only the setup.

OptionOfT 4 hours ago

Interesting. A while back I couldn't even see event streams messages in Edge's debugger.

I feel like this should become a checkbox on MDN: debugger tools exist without adding console.log.

robin_reala 10 hours ago

If you work on / run an e-com site and you don’t have an enthusiastically locked down CSP in place, this is your very next project.

miniwark 10 hours ago

I did not understand all: How did this land on the affected websites in the first place ?

thinkling 9 hours ago

It appears to vary. The table early in the article lists a few paths used on different e-commerce sites:

- “Altered Quorum* marketing pixel”

- “Edited Seers† cookie-banner setting”

- “Altered file on Revolve's own CDN”

The former two might be blocked by an ad blocker or JS blocker; the latter sounds trickier when the script comes from the vendor’s own compromised site.

moi2388 9 hours ago

Ad tracking pixel provider. Their solution was compromised

dboreham 8 hours ago

To make more money, the site owner allowed mystery-meat code to be loaded onto their payment page. Normally that code is effectively sandboxed, but the attacker figured out how to evade the sandboxing. The attacker only had to pay (via an intermediary) to get their payload onto the page.

drnick1 an hour ago

WebRTC should really be one of those things that is disabled by default. It just adds to the already enormous attack surface of Web browsers.

nout 9 hours ago

This is where architecturally credit cards are bad for online (and even meatlife) purchases. If the same "numbers" can be used again for another purchase, then skimming is just bound to happen. There are ways to mitigate with one time use cards, but generally this just works better with Bitcoin. E.g. when I'm paying at the Square terminals and use bitcoin, they can't "store" my information to pay again. Or when I'm buying stuff online, it's also only generating code/invoice for that specific purchase.

adellsworth 9 hours ago

Where does "meatlife" come from? is it the replacement of "IRL"? IRL was benign (yet a bit of a misnomer — the web is real), whereas meatlife categorizes things more cleanly though more crudely. I've never heard it before and was wondering: are there other trends of denigrating "oldspeak" web terms to raw, visceral descriptors?

grandfunction 8 hours ago

I don't recognise "meat-life" myself, but we were definitely using "meat space" in the late 1990s. Same meaning as IRL, but used more often IRL :-)

Terr_ 6 hours ago

DeluluDon 4 hours ago

nout 7 hours ago

francescovv 8 hours ago

My bank forces a yes/no confirmation in the app (with merchant name and euro amount) for each transaction.

Not the greatest UX (can't pay with a card on a plane for example), but this does entirely solve skimming problem.

theturtletalks 9 hours ago

I’m building an e-commerce SaaS and was originally going to have an App Store model like Shopify. But with agents, I don’t think SaaS need this anymore. You are trusting your store and business to these 3rd party apps that can switch hands and add malware.

Shopify tightened its App Store and even made it harder to install custom apps because of this very issue. My solution is to just ship an agent with each SaaS and it can ask it to add any feature. Maybe my App Store will just be skill files you feed to your agent.

shakesbeard 3 hours ago

PCI DSS requirement 11.6.1 actually requires every merchant to monitor scripts and headers on their payment pages to combat magecart/skimming attacks. So best to use a hosted solution or one that solves this for you (e.g. Stripe Elements).

myself248 3 hours ago

What are the odds of the affected sites losing their card processing privileges?

kragen 7 hours ago

I was surprised to learn recently that browsers support iframe attributes to prevent almost all of the possible ways an iframe can exfiltrate information—navigating the iframe, navigating the top frame, loading images, loading scripts, using Fetch or XHR, etc.—but not WebRTC. In this case, though, it looks like the ads had lots of exfiltration avenues available, so I wonder why they went to the extra trouble of using WebRTC?

ebertucc 7 hours ago

From afavour's comment[0]:

> Worth noting that this isn’t really anything to do with the technical capabilities of WebRTC, it’s just that it’s less frequently monitored for nefarious behavior. Same reason they’re only targeting mobile devices: harder to detect.

[0]:https://news.ycombinator.com/item?id=50668592

07_ajax_ 9 hours ago

That's why you redirect to an authorised payment service provider instead.

tonymet an hour ago

I'm shocked / horrified that there isn't a single webRTC permissions consent prompt, that it is separated into audio/video, local network access. And the webRTC connection used in this malware works without consent. WTF

javcasas 10 hours ago

And another case of a tracking pixel or a third party ad/tracker injecting malicious code.

amaringo234 8 hours ago

But with 3ds in place, what can they actually do with these skimmed credit cards?

stryan 10 hours ago

> 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

Finally, the millennial habit of making certain purchase from a desktop computer only pays off.

I am actually curious why this specifically targets small screens though. Are mobile browsers more likely to allow the WebRTC connection? Or is this just to bypass vendor testing.

afavour 10 hours ago

IMO likely simply that automated testing runs on desktop browsers far more often. Plus dev tools is way more accessible on desktop. If you hide it there the devs working on the site are much less likely to notice.

teqsun 10 hours ago

Less likely to have ad-blockers would be my guess.

coldfloor 9 hours ago

Ironically the same reason businesses keep pushing you to go mobile and download the app, please: Far harder for users to audit, far less likely for users to have content blockers in place.

slfnflctd 9 hours ago

This has never felt right to me. Being required to use a new opaque app for every little thing, and take my time to enter a bunch of (often the same set of) data by hand on an awful keyboard, so they can harvest it and try to find a way to monetize it... always seemed utterly absurd.

Every time I have to do it, it's under protest, and it gets increasingly irritating with time. My partner is tired of hearing me complain about it but I can't help myself.

tclancy 8 hours ago

This is horrifying. The file paths seem to suggest someone is still using ColdFusion.

I kid because I loathe.

mzmzmzm 9 hours ago

Sadly the web is unusable without ad blockers, in terms of usability, accessibility, and clearly security as well. Things that make content blocking harder (iOS locking down the browser engine, manifest v3, cloudflare turnstile, etc) are often just punishing users.

mitchweaver 9 hours ago

Google and Mozilla were still busy high-fiving each other after removing the TLS "lock" icon from their browsers to notice that WebRTC could be an attack vector.

Why would those features need to be enabled in an e-commerce checkout cart?

cowlevel 8 hours ago

This has nothing to do with WebRTC or TLS lock icons

superkuh 8 hours ago

It's amazing to me that we as society have become disdainful of anyone that doesn't automatically execute computer programs sent by unknown arbitrary third parties from random domain names.

20 years ago everyone knew not to open and execute any program sent to you by someone you don't know. Or even someone you do. Now this wisdom has been lost and even flipped on it's head.

0xmattf 9 hours ago

I'm honestly stumped. I checked the homepage of InfoHawk, and see a one-shot prompt to Claude landing page. Then I googled InfoHawk, and see they raised $2.25 million. Impressive.

I really want to redesign their landing page.

luqzirafir 8 hours ago

I thought it's crazy that the "Build and Backed by People from..." section seems so stacked with lots of top tech companies, or maybe it's just a hallucination from their AI? Idk Lmao.

0xmattf 7 hours ago

I thought the same, but on their about page, their bios say they've worked for Meta/Google, so maybe it's true.

gib444 10 hours ago

I've never liked those in-page credit card forms, and always preferred redirects to payment-provider hosted pages.

I'm guessing conversion is higher when there is no redirect flow, so the sales team won the battle with the security teams?

tialaramex 10 hours ago

I never loved those pages (typically from some middle men not my actual provider) because they usually looked like crap web sites bad guys would knock together, suspicious DNS names, poor site design, vague wording - it was like somebody attended a conference talk which said "High quality does not mean it's legitimate" and their take away was "Do a terrible job and that will seem authentic somehow".

For months (years?) now when I buy something on a web site the payment process tickles the bank's app on my phone and I have to confirm the purchase in that app, so you can't meaningfully "steal" or "skim" that step. The app was designed by somebody who has apparently at least skim read a book about UX, and I rarely scream and want to throw my phone at a wall while using it unlike those old web sites.

If I'm buying a $10 Christmas bauble on MyFunXmasGifts.present or whatever stupid URL and then my phone wants a confirmation for a $50 UberEats transaction, that's a "No" and you just got yourself flagged for attempted fraud.

I wonder how many people this works for though.

gib444 9 hours ago

> because they usually looked like crap web sites bad guys would knock together, suspicious DNS names, poor site design, vague wording - it was like somebody attended a conference talk which said "High quality does not mean it's legitimate" and their take away was "Do a terrible job and that will seem authentic somehow".

Totally agree! I love me some 'www4.argot4.pci-barclays.com' .. not !

But it was more feeling it was still better than the alternative overall.

(While we're ranting: my bank's OTP page has tiny, crap fonts and badly sized inputs. It's inexplicable and I shake my head every time. Probably the same idiots who did the payment pages! They're an amazing bank in every other regard, so I don't think they have much control over it - probably it's VISA or something.)

eptcyka 8 hours ago

Isn’t iframe isolation supposed to solve this? Oh wait, isolation.

I nominally put a lot of trust in KVM to isolate guests, but if we can’t isolate web contexts from one another, what hope can we have for whole simulated CPUs?

tonymet 4 hours ago

this is why Chrome & MS Edge wallet (and password manager) worries me. the autofill injects into the UI, where skimmers & malware can steal. And they work without user-interaction

darylk an hour ago

the GDPR (if we had it here) would end this type of nonsense quickly. Starting to think it’s worthy of discussion mostly due to a proper fine structure. Oh yeah and privacy. Something we don’t have ink upon in our laws.

gigatexal 8 hours ago

apple pay and similar payment/auth methods should be immune to this, no?

barbaudue710 11 hours ago

WebRTC is wild

deathanatos 9 hours ago

WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.

mlhpdx 8 hours ago

Or DNS lookups.

ltbarcly3 7 hours ago

These are all obscure sites, misleading title

ljubomirsinadin 6 hours ago

LoL