Now, however, if you insert a random USB drive into your computer, you run a high risk that your computer will be pwned.
Now, however, if you insert a random USB drive into your computer, you run a high risk that your computer will be pwned.
This is not true for USB drives, as USB controllers can be programmed to re-insert a virus or fry the system at any time in the future.
FORMAT /S
Compare that to USB devices, which contain data that survives to all host-initiated methods of erasure and which may in fact not be storage devices at all; i.e. fake keyboard/mouse presses et al.
The operating systems of the time didn't have any autoplay functionality that could be exploited by viruses. I guess in theory viruses could have exploited things like buffer overflows in the OS code that reads the file allocation table or directories, but I've never heard of such a thing, and Michelangelo and similar boot viruses certainly were not that advanced.
DOS' shell would run autoexec.bat when booting but only the one from the boot volume.
Also, lots of machines with hard drives were configured to boot from floppy by default. Few floppies had working boot sectors, so most people never noticed. Until they put an infected disk into A:, turned on the computer and saw chaos ensue.
> Infects the Desktop file used by the Finder. … Spread through sharing disks, as every Mac disk includes a Desktop file. It is not necessary to run a program to spread this virus; simply mounting the disk is enough for it to infect the Desktop file of every disk mounted on the Mac.
Maybe there would be a market for a "data USB port" which would filter away all other kinds of USB devices than storage devices.