0

My friend gave me his old iPod classic, but it's got a bunch of torrented music on it; I want to wipe it with Disc Utility or perhaps GParted and start fresh... because I don't trust torrented files.

  1. Should I be worried about plugging it in? (Could malware transfer onto my machine?)

  2. Is there a way to safely connect a USB device and sandbox it so it doesn't auto-run anything?

I have a Linux Machine running Ubuntu 16.04 and a OS X machine.

2

Should I be worried about plugging it in? (Could malware transfer onto my machine?)

You probably don't need to worry, but there's no real harm to being careful either. You don't say which operating system you are running, so it's hard to say much about what risks you might expose yourself to, but given that your system doesn't have autorun enabled, odds are reasonably low that any software-based malware would be able to transfer to your system.

If you have reason to believe that either you or your friend has been directly targetted by an active, relatively sophisticated adversary, then you should worry about things like BadUSB. In that case, however, you would probably know, or at least be able to suspect, that you are.

Is there a way to safely connect a USB device and sandbox it so it doesn't auto-run anything?

You could download a live Linux distribution such as Tails, Knoppix, Ubuntu or some other alternative. Burn that to a CD or DVD, or copy it to a USB stick (the CD or DVD in this case has the advantage of being truly read only), boot from that (and make sure your computer's hard disk is not mounted, and unmount it if necessary; Tails might be best in this regard), and use it to wipe the iPod.

Again, unless you are worried about direct targetting by active, relatively sophisticated, adversaries, that should be good enough. If you are extra paranoid, open your computer and disconnect the data cable going to the hard drive, but I'd say that even with reasonable suspicion of malware, for 99.99% or more of users, doing so is overkill; simply making sure the file system on the hard drive is not directly accessible will almost certainly be good enough.

I don't trust torrented files.

As long as they are limited to music files, and you don't attempt to play them, the probability of a compromise through that vector seems very small. Also, malicious music files would probably need to target bugs in specific player software, which points toward plain computer hygiene being a good defense: Keep good backups, and stay on top of software updates.

  • Sorry, I have a Linux Machine running Ubuntu 16.04 and a OS X machine. Just want to clarify, if I boot to my UBUNTU Install USB Unmount the internal hard drive of the machine, wouldn't it still be able to write to the USB that I booted from? – Kolob Canyon Jan 14 '17 at 19:02
  • Perhaps I should burn a Live CD with Ubuntu on it, because in that case I don't think anything can write to it. The only possibility would be if the malware knew how to mount unmounted drives which would be scary – Kolob Canyon Jan 14 '17 at 19:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.