I have a lot of Windows VMs, viz XP, Server 2003, Vista and 7. All of them are in Network and connected to Internet. Will they be affected by WannaCry if not patched ?

  • They need to be port forwarded and exposed externally.
    – Awn
    May 16, 2017 at 3:07
  • 5
    as with non-VMs, it all has to do with the networking
    – schroeder
    May 16, 2017 at 6:35

1 Answer 1


Yes, VMs can be affected as much as "normal" hosts can. It can also affact Linux when you run the code with wine. See also: https://askubuntu.com/questions/914623/what-is-the-wanna-cry-ransomwares-possible-impact-on-linux-users

Additional information: Some derivatives of the malware may detect that you are running these OS's in a virtual maschine and don't go off, but i would not consider this as a comfortable position.

Not the answer you're looking for? Browse other questions tagged or ask your own question.