If you have a USB Drive that may or may not be contaminated, what is the best way to retrieve data from it without reinfecting yourself?
6 Answers
If you want to be completely sure, mount it on a Mac or Linux box. Seriously.
For an example, see the new shortcut icon exploit, which ALL Windows machines since NT have been vulnerable to. This exploit allows arbitrary code to be executed simply when the folder is opened. No Autorun required. No manual execution required. It infects the system as soon as the folder is opened.
If you don't have a real *nix (includes Mac) box, just boot from a LiveCD. You may want to scan with Clam AntiVirus while you're at it too.
- 8,673
- 5
- 42
- 45
The first thing you absolutely need to do is disable autorun. There is a good tutorial here.
If it were me though, I'd boot to a non-writable OS (e.g. Knoppix) and copy the data off that way. Knoppix is outstanding for this sort of recovery.
- 7,205
Mount it on a computer booted off of a Linux live boot CD and the hard drives (and any other USB drives too) disconnected.
- 4,911
If you are using windows then disable auto-run.
How to disable autorun: http://support.microsoft.com/kb/967715
- 6,171
Holding the left shift while inserting the drive will temporarily disable autorun
- 1,114
Disable auto-run as mentioned by Daisetsu and use the Command Prompt which won't be exploited.
- 57,881