4 ms·
> QR codes being normalized I also became aware of the possibility of people putting their own QR code sticker over another. Quite easy to send people to a phi
by latchkey 4y ago
> QR codes being normalized
I also became aware of the possibility of people putting their own QR code sticker over another. Quite easy to send people to a phishing site... enter your credit card to "buy" that beer...
- djbeadle 4y agoThis has been a problem with NYC's bike share program, CitiBike. The solution was to add an alert when your phone's location is far from the location of the bicycle you are trying to unlock. > Citi Bike says it is aware of a scam in New York City in which thieves are switching the QR code stickers on rental bicycles in order to steal bikes unwittingly unlocked by customers. The scammers wait for a renter to unlock a bicycle using the QR code, then ride away on the bike to which the code actually belongs, officials said. https://apnews.com/article/lifestyle-nyc-state-wire-34d4ecd5dcd3821ddd6e9a308834a16b https://apnews.com/article/lifestyle-nyc-state-wire-34d4ecd5...
- latchkey 4y agoYes, that's where I heard about this problem. Sketchy indeed.
- CamelCaseName 4y agoThis is why Toronto's bike share requires Bluetooth to be turned on. At worst, you might end up unlocking another bike at the same station. (And you'll hear it!)
- bobbylarrybobby 4y agoEasy (conceptually) solution: a button on the dock that you need to press to complete the unlock. When you scan the QR code, CitiBike looks up which dock it thinks the bike is in, then waits for you to press that dock's button before releasing the bike.
- hyperhopper 4y agoThe thief would just press the button.
- Open-Sourcery 4y agoAssuming that there is no feedback during this process coming from the bike, what is the thief going to do? Sit there for an hour constantly pressing the button?
- mrb 4y agoThe thief would just observe, from a distance, and wait for someone trying to scan the fake qr code. When he sees the victim, he pushes the button and steals the bike.
- inglor_cz 4y agoWhat about geolocating the customer's phone and blocking the transaction if the customer's phone is more than, say, 10 meters from the bike?
- N19PEDL2 4y agoA possible solution could be to use small e-ink displays showing single-use QR codes that change every 2 minutes or so. I don't know if it would be feasible though or it would drain the battery of the bike too quickly.
- hajile 4y agoThe best solution would be a QR mode with a standardized cryptographic signature.
- latchkey 4y agoCan you explain more what you're thinking here? I don't see how that would solve anything. QR codes generally are just a bit of data, like a link to a website. If I cover up an existing QR code with my own link to my own website... what would a signature do to help here? Even if the original QR code had the link printed on it, do you think someone reaching for their 3rd beer would even notice it? Humans are not conditioned (yet) to validate QR codes. We scan them without thinking twice. Phishing is pretty sophisticated and it is easy to duplicate a website.
- hajile 4y agoThis is an authorization issue. You need a signing authority of some kind to verify the QR code. A literal JWT (JSON Web Token) could be used, but a binary format could save TONS of space (30-50% smaller) which matters for a QR code. QR would contain: binary data, datetime it was issued, QR creator ID, URL of signing authority (or a code from an approved list of authorities representing a know URL), a code for the algorithm used, and a signature that signs everything else. When a user scans the QR, the software recognizes that it uses authorization mode. It looks up the signing authority based on the ISO code for that authority and sends an API request for the public key sending the datetime and creator ID. The signing authority returns the public key based on company and time (or a message if the private key has been revoked. If the key checks out, the user visits the URL. All of this would take a fraction of a second and be entirely transparent to the user (barring revoked permissions or the signature being incorrect).
- latchkey 4y agoThanks. What prevents me from just signing my own QR code though? I could register a very similar domain, sign it, make it look all official and then siphon funds. A third party could revoke my signature, but then we are dependent on that third party for everything, which isn't ideal either.