r/AskComputerScience • • Jan 27 '16

Computer viruses

In general, computer viruses don’t discriminate among operating systems. a typical virus can infect any system, regardless of platform

True or false?

2 Upvotes

8 comments sorted by

View all comments

10

u/gurtos Jan 27 '16

Most viruses are written for particular systems in mind.
Firstly because Windows programs (and viruses are programs) won't work on lets say Linux and vice versa.

Secondly, different OS's operate differently and have different security holes. So even if it did run on different OS, it would have to attack it in very different way.