2

Possible Duplicate:
How is Linux not prone to viruses, malware and those kinds of things?

I want to get some broad level sense of why Windows is more prone to viruses than Linux.. What features/design of Windows make it so vulnerable and make Linux more immune?

Some things which come to my mind (purely out of imagination):

  • Windows perhaps lets more code/instructions etc to run in kernel mode? which gives normal user programs more access to hardware,priviledged resources etc

  • There is more community trying to hack Windows, hence more windows viruses out there

  • Linux system calls are more robust.. What does it mean though?

Thanks,

p2pnode
  • 1,357

2 Answers2

1

Just one point: Linux has the only one root user (equal to Windows Administrator) and all of its other accounts are standard users accounts with restricted priviledges to modify system files.

PC (Windows) users generally create their accounts to be Windows Administrator accounts. Therefore when they run a rouge programme, it run with administrator privileges and has permission to change system files.

In a linux machine, you'll have to manually input the root password which acts as a line of defense.

Like I said, just one small point.

Thomas
  • 2,510
0

Windows have MFC, an API that permit virus to do a lot of damage. You also have to considerate that Windows is a paid-software, something that advanced users (who can make virus) dont like. Another think to considerate is that there are a lot of users that have Windows instead of another systems and there is less programmers then linux (a colaborative system that have a lot of programmers spread on the world).

Diogo
  • 30,792