• bstix@feddit.dk
    link
    fedilink
    arrow-up
    0
    ·
    5 hours ago

    The largest QR code can hold up to 3 kb of data, which is more than enough to write a nasty virus in an injectable script if aimed at specific devices/apps. The main hurdle is breaking the app to execute the code instead of treating it as a string. It’s the Drop Bobby Tables joke. Developers hopefully don’t fall for this anymore.

    Anyway. Making a shitty link and leading people there isn’t a new idea. You don’t even need a t-shirt. Hackers already place their own printed QR labels on top of otherwise real codes, and the user might not even notice, because they’ll be redirected to the right site after the dirty deed is done dirt cheap.

  • MeowZedong@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    19 hours ago

    A friend sent me this. Doesn’t work on most phones now, just older androids I think. It’s meant to teach you not to scan unknown QR codes by causing androids to restart on scanning.

    • Frog@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      22 hours ago

      I think as a precaution, barcode scanners stopped automatically going to links.

      Even if a link isn’t malicious, you can still get someone’s IP address or device fingerprint.

    • zurohki@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      When my phone’s barcode reader app sees a web link, it fetches the page’s title to display next to the actual link. So it is going to that web server and fetching resources by itself. Even though it isn’t actually rendering the page and running javascript, it might be exploitable.

      • LovableSidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        But that’s the barcode app - is it always running, looking for barcodes in all the photos you take? Because there are already shirt with giant barcodes on them - presumably just artistic with no meaning, but who knows?

        • Malfeasant@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          11 hours ago

          I have a shirt with a QR code that goes to a Rick roll. It doesn’t work nearly as well as I’d hoped. Even people trying to scan it have a hard time, forget about anyone scanning it unknowingly. Mr. Astley did in fact let me down.

        • Revan343@lemmy.ca
          link
          fedilink
          arrow-up
          0
          ·
          22 hours ago

          My camera brings up the links/data in any QR code that’s in the shot, I would have to fatfinger it and click the link (twice, because it asks you to confirm that you want to open the link) though

        • zurohki@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          is it always running, looking for barcodes in all the photos you take?

          Has Google’s camera app added that yet? If not it’s only a matter of time.

  • mEEGal@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    here’s an idea : let it redirect to a URL but with it’s query params tweaked so it automatically attempts an SQL injection on the website when loading

  • HikingVet@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    Except if they were halfway intelligent they wouldn’t have it go automatically to the site.

    And when you do this and something goes really wrong criminal charges get laid.

    • HalfAHero@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Can we just get a website that plays a soundbite at full volume screaming about how they person is bad at privacy practices, maybe with Korn in the background for maximum embarrassment?

    • Krafty Kactus@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      I’m not sure if you could actually get criminal charges for this unless you were hosting the malware in which case that’s another issue. It would essentially be the same as walking around with a website URL on your shirt. The observer is responsible for typing in the URL or scanning the code and what they decide to do on the website that follows.

      • Malfeasant@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        9 hours ago

        I tend to agree that this is how it should be, that doesn’t mean that’s how it is. If you walk around with a T-shirt that says “kill all CEOs” along with where to find them, you’re going to run into some trouble, despite being a similar situation- you’re just giving instructions, it’s up to the viewer what to do with them.

      • Kusimulkku@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        Often the apps are from what I know. Most ones I’ve used don’t open the link straight away

      • HikingVet@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        Not if it incites violence, causes harm or any of the other carve outs in the first amendment of the USA.

        I am aware that the post is supposed to be funny, and you are most likely making a joke, but this is the internet and these sort of disclaimers tend to be necessary.