An external hard drive can get a virus since the virus can be transferred to the computer’s boot drive that hasn’t enabled active antivirus scanning. It’s not recommended to plug an external drive into a computer that is not running the latest antivirus program.