I bought a USB thumb drive on ebay. It seems like much too good of a deal ($20 for a 512GB drive, as of 2015-08-10) which makes me suspicious about malware on the drive. How can I test it to see if it has malware, whilst also not infecting any of my PCs with malware?
I was thinking I could unplug all hard drives, boot with a Linux live CD, then format the drive. Would that be considered a secure process, or, for example, could my BIOS get infected if I were to do this? And is it possible for the drive to contain malware even after I format it? If so then how could I detect this?