Can a virus from a external drive end up on the host computer? [duplicate]

If I connnect a external drive to a computer that has viruses, and somehow these viruses get on the external drive, like someone copying infected files on it or whatever, and then I connect this drive to a clean computer, can that computer get the virus? I mean just by connecting the drive. I know that the drive has infected files so obviously I won't run any program from it, but I still need to connect the drive so I can erase the files. I also know that having a anti-virus installed would be the safest method but I'd like to avoid going trough the process of installing annoying anti-virus software if possible.

2

2 Answers

If you don't have antivirus, you can indeed be infected by simply plugging a disk into a machine providing that you have autorun enabled.

Autorun is a function within windows which will scan particular files/locations on any disck (external drive, DVD, CD, USB etc) for a "default" program to run on discovering the disk. A typical example of this is the auto-launching of a software installer when you insert a software CD/DVD/USB.

If a virus can infect that file on a non-clean machine, then it will auto-execute and infect your PC simply by plugging the disk in.

If you disable AutoRun within windows, you should be a bit safer - but nothing will be as safe as running good quality AV. External Disks are far from the only attack vector:

  1. Opening unrecognised email attachments/loading word/excel/powerpoint files with embedded virus-riddled macros can infect you
  2. Viruses can be embedded in PDF Files
  3. Visiting an infected website can infect your computer
  4. Visiting a website running Flash (which seems to develop a new exploit about twice a day!) can get you infected by a third party site even if the website you are visiting itself is clean.

Some general rules to try and minimise your exposure if you are planning to NOT run AV:

  • Don't open attachments from people you don't know/trust
  • Open anything you are unsure about on a VM/sandbox to reduce the risk to your host PC
  • Keep windows fully patches to reduce attack vectors
  • Try to keep the PC off the internet
  • If you can't keep the machine off the net, run a good secure browser, an ad-blocker and a good script blocking Addon
  • Don't Install Flash.
  • Disable AutoRun for Windows
  • Run a non-admin account for day to day work

A far better solution would be to install a good quality non-intrusive AV platform - there are some good ones out there, but if you are determined to NOT run AV - try and play safely.

4

Yes, absolutely. Not all types of malware will replicate themselves like this, but many will. Answer is a definite yes.

You Might Also Like