7 ms·
FBI sounds alarm as QR code usage soars
- seodisparate 5y agoSomeone else on HN earlier posted their QR-code scanning Android app[1], which I've been using because it doesn't automatically follow URLs but displays the raw text of the QR code. It's been helpful for me, especially when I've been setting up QR codes for a new wireless router. [1]: https://github.com/prof18/Secure-QR-Reader https://github.com/prof18/Secure-QR-Reader
- zaik 5y agoIf you want something available on F-Droid check out https://f-droid.org/packages/com.example.barcodescanner https://f-droid.org/packages/com.example.barcodescanner
- lurtbancaster 5y agoGod F-Droid is amazing! Really wish there was an F-Droid equivalent for iOS. But Apple probably wouldn't like that.
- tremon 5y agoOuch. I, on the other hand, would not trust an appId from the example.com domain.
- c0wb0yc0d3r 5y agoWhy? I'm not an Android dev but the appId just identifies an app right? If the author doesn't have a domain, what should they do instead?
- jve 5y agoMy Samsung Galaxy S9 scans QR code if I point default camera app to a QR code. It doesn't open it by default, but shows a link I can tap on. Within settings you can disable QR scanning too if you like.
- vhanda 5y agoI've been using Firefox as a QR code reader, as it too doesn't follow the link, plus it's already there on my home screen.
- sam_goody 5y agoAs I understand it, a QR code is just a URL. If we were to have standardized font that had distinct characters (there are plenty), it would be no harder for a computer to scan and understand than a qr code, and would take less space on the packaging or app. The only reason that QR codes are a thing is that, by virtue of them not being human readable, you can put in minutae for tracking, the user doesn't realize what they are getting into, and the user can't modify it to remove offensive parts (like stripping out all the gook in a nGoogle search result URL). All complaints about tinyURLs in their time are vaid for QR, and then some. If there was some way to push at least the "good" companies, (like, um... ) to use a url instead of a code... but I fear that boat has sailed.
- zeepzeep 5y agoReading urls even with a standard font is way way harder than reading a QR (for computers). Often when you see a QR code they will print the url below.
- jaclaz 5y ago>Often when you see a QR code they will print the url below. But there is nothing telling you that the QR code is corresponding to the text, for the casual user, a tricky QR code with an URL printed below could be even more deceiving, I mean, say you know the possible issue, manually type the printed URL that seems legit and it is actually legit, someone queueing behind you scans the QR code and bam, he/she gets the "bad" site instead. (I am thinking, there was a post some time ago about parking lots where paying for the parking was through QR codes that were replaced by "bad" ones).
- zeepzeep 5y agoYes but I could also just sticker my lookalike url over that
- hunterb123 5y agoQR codes can hold arbitrary data (binary, contact info, etc.) and has error correction (you can lose part of it due to sun bleaching, tearing, etc. and it still scans). https://blog.qrstuff.com/2011/12/14/qr-code-error-correction https://blog.qrstuff.com/2011/12/14/qr-code-error-correction It's a wonderful technology.
- onion2k 5y agoI think it's obfuscating the issue to say this is a problem with QR codes. The actual problem is visiting an unknown URL. It doesn't matter if you do that by QR code, clicking a link, or typing it in. The end result is the same. The lesson should be "Don't visit URLs you don't trust" no matter how you enter them into your browser.
- jaclaz 5y agoYes, but it is a step further, the QR code is an URL that you (normally) can not read/parse so that you have no way to judge whether it is to be trusted or not (besides the known fake URL issues with Unicode characters which I believe is still a thing).
- claudex 5y agoSame issue with an URL shortener (which are also frequently used with QR code)
- onion2k 5y agoIt's also true of literally any URL given that the server could just response with a 302 Redirect to any other URL which your browser will happily resolve. That means you can never really trust any URL ever.
- jve 5y agoIt's not obfuscated if app shows you domain name from parsed URL and you must tap to visit. No problem here whatsoever. Crappy QR code apps may be a problem if they automatically open link for you. Btw I noticed Edge has this handy "Create QR Code for this page" icon next to URL bar when URL bar is selected.
- tinus_hn 5y agoPunycode attacks can make this kind of verification basically impossible. The problem is that it is dangerous to visit a link. It shouldn’t be.
- beebmam 5y agoSeems like QR code readers automatically opening URIs is a great way to trigger CSRF attacks in vulnerable sites
- Jenk 5y agoThis is the same problem as tinyurl et al. The answer is to have apps that expand/reveal the destination before _opening_ the destination.
- c0wb0yc0d3r 5y agoFWIW, you can append a "+" to the end of a tinyurl link to preview the destination. https://tinyurl.com/2p83nr7c+ https://tinyurl.com/2p83nr7c+
- grapescheesee 5y agoRichard Henderson had a talk at the last Defcon about QR codes. I'd recommended checking it out. Video - https://www.youtube.com/watch?v=cIcbAMO6sxo https://www.youtube.com/watch?v=cIcbAMO6sxo PDF of slides - https://media.defcon.org/DEF%20CON%2029/DEF%20CON%2029%20presentations/Richard%20Henderson%20-%20Old%20MacDonald%20Had%20a%20Barcode%2C%20E-I-E-I%20CAR.pdf https://media.defcon.org/DEF%20CON%2029/DEF%20CON%2029%20pre...
- ddtaylor 5y agoMaybe they should sound that alarm when they sit on zero day exploits that later get used to cause serious harm.
- baybal2 5y agoIt seems American scammers are learning from Chinese ones. Fake payment QR codes are everywhere in China. Somebody take his QR, changes it to look visually similar to victims one, puts it on a sticker, and slaps it on top of store's QR code the moment the cashier turns his back. Rental bikes also often come with fake QR codes on them.
- martin_a 5y agoI love this idea, you just have to make sure that you still pay the original QR code owner and only add a little "processing fee" for the sticker. Love it.
- bryanrasmussen 5y agothis is actually funny because now I remember an essay from about the time when QR codes came out that asserted - nobody would ever use QR codes, QR codes were a stupid solution to a problem that only techies thought really existed, techies don't understand peoples real use cases and thus they always produce unneeded solutions, and thus in conclusion and again nobody will ever use QR codes hah hah!
- scim-knox-twox 5y ago> The bottom line: QR codes can be helpful. But don’t click unless you’ve verified that the source is legitimate — and make sure the site is authentic once you reach your digital destination. So like always: “think” instead just “do”.
- ear7h 5y agoSomething I haven't seen mentioned yet is that physical, printed QR codes are more easily tampered than URLs. And they're prompted by the victim; they're interested in a event flier or need access to a digital menu. Together, this makes QR codes easier to phish with than your standard spammy text message or email with a shortened URL.