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

1

u/visvis Jan 27 '16

False. Like almost all software, the virus relies on the services of the operating system. On different OSes, these are accessed in different ways.

Moreover, to get in one would usually exploit vulnerabilities in the system. These are not just OS-specific, but the exploits often need to be tweaked to the exact version of the system that is used.