Unofficial Hacker News companion — get notified on comment replies, and more.

Credit card skimming scripts using WebRTC found on popular shopping sites (opens external site)

623 points by scanr 5 days ago | www.infohawk.com | 389 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. Honestly, virtual credit cards or services like Apple Pay, Google Pay, or PayPal (and others, but I'm not going to list them all) are your best bet here.

    On some browsers, you can disable WebRTC entirely. While that may keep you safe from this specific issue, a different exploit would very likely work. And WebRTC is on for a reason, lots of legitimate services use it.

    Manually inspecting requests using most tools won't see this- WebRTC uses UDP/DTLS, which doesn't appear in DevTools networking tab or an HTTP debugging proxy. Unless you go full Wireshark, you'll miss this- and even then, you'll see encrypted UDP traffic to some IP, not a clear red flag. And if you're going to go full Wireshark every purchase- easier to use a virtual card.

    Even your DNS blocker- while helpful- probably won't help if the script hard-codes an IP address, or like you mentioned, uses an established CDN.