Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Is Linux Vulnerable to viruses?

Answer:

In a practical sense, no. Technically...

Due to the design of Linux, it is difficult for viruses to spread far within a system, as they are confined to infecting the user space of the user who executes them. Of course, this is a problem if infected files are launched by root, but as a security conscious individual, you wouldn't be running untrusted files as root, would you?

It is theoretically possible for a virus launched by a regular user to escalate its privileges using system exploits; however, a virus with this capability would be quite sizable, and difficult to write. As of this date, few viruses have actually been discovered for Linux, and the ones that have been discovered aren't worth losing sleep over. This will undoubtedly change with time.

Viruses do exist for Linux, but at the present time are the least significant threat you face. Presently, trojans and worms, which are explained in the following section, pose a greater threat to Linux users.

Source: http://www.linuxsecurity.com/docs/colsfaq.html#7.1

  1. Why can’t I telnet into my Linux box as root?
  2. What is a trojan? What is a worm?
  3. How to rename a user in Linux?
  4. Display the current hard limit of my Linux server
  5. Simple timer in Linux

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>