The most likely way the ransomworm would infect your computer is using a method that circumvents traditional security technologies – which is what most people and organizations rely on. WannaCry used unpatched vulnerabilities, but there are many other options – like social engineering end users to make a poor security decision and run malicious software.
Read full news article on Help Net Security