• ChaoticNeutralCzech@feddit.org
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      1
      ·
      edit-2
      3 months ago

      It’s easier to take precautions though. You probably don’t have an insulated USB port or throwaway host device but handling QR codes safely just takes basic tech and skill.

      Important advice:

      • Don’t use apps that auto-open URLs in QR codes when pointed at!
      • Make sure the app shows the full content of the QR code and lets you peruse it indefinitely before you open the link!
      • Know the structure of URLs and common pitfalls!

      Recommendations:

      • Be extra suspicious if there is no URL printed next to the code, or if the printed URL is different.
      • Use an open source reader app (most QR codes don’t contain secrets but it’s got permission to use either camera!) that does not resolve Punycode (Unicode in TLDs).
      • Strip any tracking parameters you spot before following any URLs.
      • Be careful if the QR code could have been easily tampered with (on a sticker over the original one, or on a plain sheet of paper inserted into a plastic wrap together with the rest)

      I think today’s generation’s equivalent is free Wi-Fi networks. Kids without mobile data in an area without an established public network will connect to just about any open one unless the SSID includes “LaserJet” or similar.

      • krolden@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        WiFi and cellular networks as well. Using cellular data without some kind of tunneling for traffic/dns is nuts IMO.

      • tiredofsametab@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I keep meaning to look more into how qr codes work. I always wondered if there were possible attack vectors if a bad actor exploited a flaw in the decoding of the image. My mind went to a zip bomb for no apparent reason (a tiny file that unzips to a massive amount of data on disk)

        • ChaoticNeutralCzech@feddit.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          3 months ago

          That is very decoder-specific. The most common QR reader apps are the Camera app on iPhones and Google Lens for Android so you’ll want to target one of these (though Google Lens might be using cloud processing for that). There probably won’t be any exploits in the image processing part but you obviously can write arbitrary data (including ASCII control characters such as CR, LF, null) into the “data” part of the QR code, as the encoding mode and data length is stored in the first 4+(n*8) bits of where data would be instead of null byte termination. Normally, the data is then right-padded with repeating 0xEC11 (or not) and then error correction follows (number of bytes in the error-correction part is defined by the size and ECC mode indicated in another region).

  • NegativeInf@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    5
    ·
    3 months ago

    Absolute insanity.

    I would have abused this great and terrible power in just the same way he described. Random orders for random tables at random restaurants at random times in small quantities for as long as they aren’t protected. Just enough to be an inconvenience/awkward but not enough to raise alarms.

    And now I will check every QR code I scan at a restaurant.

    • Psychodelic@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      3 months ago

      That seems kinda fucked up. Why would you do something like that?

      I mean, I at least get fucking with people for money. Doing it for fun, not so much

      Also, anyone know what they meant with this line?

      I still loved my life so I didn’t want to use the Google custom search API.

      • NegativeInf@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        edit-2
        3 months ago

        Because you can or to prove a point.

        As to the quoted text, I assumed it was a reference to not getting more deeply involved in it that would cause legal issues for himself.

  • Bezier@suppo.fi
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    3 months ago

    The main event here was pretty interesting, but I’d just like to say that

    It asked me for my name and Whatsapp mobile number.

    Why not just the mobile number. Do they also operate drive-ins that only accept BMWs?

  • ElectricMachman@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 months ago

    Brilliant article - but it looks like it’s now been removed. Would be impressive if someone at Dotpe got wind in such a short space of time…

    • poVoq@slrpnk.netOP
      link
      fedilink
      arrow-up
      7
      ·
      3 months ago

      Huh, it was still working when I posted it one hour ago… unlucky I guess 🤷‍♂️

  • isabella86@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Whoa, I need to recover from reading this. Where to even begin?? Asks for a phone number? Nonetheless, but a WhatsApp phone number? Hmm, a red flag, but it’s nothing compared with the rest of the post. A friend asked me maybe two weeks ago to help him make a QR code for a restaurant menu since I deal with them a lot for work (it’s actually not that difficult, see here). The generator I use is likely the safest in the market, with all bells and whistles, and I always tell anyone who asks - check the generator carefully before making a QR code, especially for business and especially if you plan to print it. Read the reviews. Look for security features. Plus, many advertise free codes, but it turns out - not really (people create, print, and then two weeks later - hello, pay a subscription if you want your code to work again). And I thought this was bad. But what I read now escapes reality. A big thanks to those who posted the archived copy, by the way.