The safest option is obvious, don’t try to access its contents, but if you absolutely had to, what steps would you take to minimize/contain any potential harm to your device/network?

  • seaQueue@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    Linux live USB, plug the drive into a sacrificial hub that can eat a bus kill if needed

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 year ago

    Boot a PC with no hard drives with a live CD so there is no storage to write to. connect the drive and see what there is.

  • Chadus_Maximus@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    I would play it safe and test it on my work PC in case there’s anything that can cause trouble.

  • merc@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    5
    ·
    1 year ago

    AFAIK computers with normal setups won’t auto-run anything on a flash drive you insert. At most they’ll prompt you to ask if you want to run something. (Say no.)

    So, it’s pretty safe to look at what files exist on the flash drive. Then you just have all the various exploits that exist with unknown files. Obviously, don’t run any executables on the drive. Don’t double-click on anything that looks like it’s a document (say PDF or word doc) because it might not be. To be extra safe, even if it is actually a PDF or word document, don’t open in the standard program (word or acrobat) because there’s a slight chance it might be an actual PDF that exploits an unpatched vulnerability in that program.

    If I work in Iran’s nuclear program, and found this flash drive on the ground outside, I’d be a lot more cautious and maybe do some of these extremely paranoid things people here are suggesting. But, if Aunt Jenny was just over for a visit and I found a flash drive in the hallway near her room and want to check to see if it might be hers, it’s probably safe just to insert the drive take a quick look and not click on anything.

    • over_clox@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      It doesn’t have to be a drive though. A random USB stick could actually be a virtual keyboard in disguise, ready to execute a scripted payload by simply injecting all the keystrokes as if it’s any other ordinary keyboard.

    • folekaule@lemmy.world
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      1
      ·
      1 year ago

      Please don’t do this. People working at libraries aren’t paid enough to deal with that bullshit.

      • Oisteink@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        We pxe boot into a custom live diskless distro that reboots after use. The network these live in is hardened.

        Don’t enable usb on public computers you are not prepared to protect

        • folekaule@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          ·
          1 year ago

          I don’t. I don’t work for a library, but judging from my local library branch, they don’t have the funding to retain competent IT staff. This isn’t about what they could or should do. It’s about not being an asshole to people that are already barely hanging on with what they have.

      • MOKANCAN@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Am librarian. It’s ok. Nothing is going to sneak out into the wild from that USB. People plug USBs into our computers every day that are probably way worse than anything you pick up on the street.