You are not logged in.

#1 2007-10-01 08:58:40

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Virus paranoia

I know this is a question which has a never ending answer but please tell me if keep my system uptodate then am i safe from viruses. And as the number of viruses for linux is increasing what protects linux from viruses is it the architecture or the large number of distros available and the minute differences in these distros. neutral

Offline

#2 2007-10-01 09:50:34

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Virus paranoia

Actually there aren't many viruses in the wild that affect Linux. But even if there were, you are unlikely to infect anything outside your home directory because you only run specific programs as root and you only install things via your package manager. This means your actual ArchLinux installation is unlikely to be affected.

If you are that worried, install clamav, run freshclam to update your virus definitions, then run 'clamscan --recursive --infected /home'. I do that every Sunday morning via a cron job.

Windows users get viruses because they run their default accounts with administrative privileges. This means a virus can infect the whole system including the windows installation. They also go around installing a lot of random programs they download from a lot of untrusted sources on the internet.

By design, Linux is a lot safer. It is unlikely that an open source program that you installed via pacman will kill your system.

Last edited by hussam (2007-10-01 09:54:12)

Offline

#3 2007-10-01 12:47:19

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

Thanks, this puts my mind at ease. Please could you tell me the command to add this cron job. Any idea how to disable root login in KDM.

Offline

#4 2007-10-01 13:54:36

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Virus paranoia

Most of those linux virus scanners check for windows viruses. The idea is that they run on mailservers, or you can run them to make sure you're not silly enough to forward on viruses.

James

Offline

#5 2007-10-01 15:16:19

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

Doesn't clamav scan for those few linux viruses which exists.

Offline

#6 2007-10-01 16:05:33

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Virus paranoia

jaideep_jdof wrote:

Any idea how to disable root login in KDM.

In /opt/kde/share/config/kdm/kdmrc change AllowRootLogin:

AllowRootLogin=false

Offline

#7 2007-10-01 16:34:11

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Virus paranoia

jaideep_jdof wrote:

Doesn't clamav scan for those few linux viruses which exists.

From what I've read on the net, I understand it does scan for those few Linux viruses, well, in fact is pretty logical to assume so. Read this to get basic understanding on Linux and viruses, well you should not be paranoid it is almost impossible to catch a virus in Linux and even more impossible that it will affect other directory than /home/youruser. Linux isn't that way cause not many people target it, is that ways cause it really is better and more securely constructed.


Follow me in: Identi.ca, Twitter, Google+

Offline

#8 2007-10-01 18:10:15

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

Thanks that was helpful.

Offline

#10 2007-10-03 05:54:25

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Virus paranoia

What about http://free.grisoft.com/doc/5390/us/frt/0?prd=afl ?
I used it when I was using Fedora, it works well I think.

Offline

#11 2007-10-03 06:05:18

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Virus paranoia

I run root and have done so for eight years with no problems.........


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#12 2007-10-03 07:42:10

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Virus paranoia

haha! quote of the year. I'd definitely do that too if it weren't for sudo and the fact that some programs EXPECT you to run as user and act in weird ways if not run as user.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#13 2007-10-03 13:12:27

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Virus paranoia

lilsirecho wrote:

I run root and have done so for eight years with no problems.........

Can you please send me your IP adress? I just want it for research purposes. lol cool I think you are so used to the way windows makes you Admin all the time.

Last edited by kensai (2007-10-03 13:13:17)


Follow me in: Identi.ca, Twitter, Google+

Offline

#14 2007-10-04 20:15:21

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

I am using antivir i have installed dazuko module for on access scanning. But i have to rebuild the dazuko module against every new kernel. Is there any other alternative.

Offline

#15 2007-10-04 21:09:17

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: Virus paranoia

lilsirecho wrote:

I run root and have done so for eight years with no problems.........

Yeah, Totally defeating the security benefits of using Linux imo. I have friends that do this and I always frown upon it. I don't understand why people are too lazy to type 'su'.

Offline

#16 2007-10-05 09:21:20

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Virus paranoia

Even sudo isn't necessary in my opinion. I just do for example: su -c 'pacman -Syu'

Offline

#17 2007-10-05 09:29:54

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Virus paranoia

jaideep_jdof wrote:

I am using antivir i have installed dazuko module for on access scanning. But i have to rebuild the dazuko module against every new kernel. Is there any other alternative.

Don't update the kernel smile


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#18 2007-10-05 16:03:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Virus paranoia

Well, you could try using ClamAV, that does on-access scanning in userland IIRC...

(Keep in mind that on-access scanning generally isn't necessary on Linux, unless you're scanning stuff on a server for Windows viruses. An on-access scanner can in fact be a security hazard, since it's another daemon that can potentially be subverted...)

Offline

#19 2007-10-06 04:00:38

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Virus paranoia

Gullible Jones wrote:

Well, you could try using ClamAV, that does on-access scanning in userland IIRC...

(Keep in mind that on-access scanning generally isn't necessary on Linux, unless you're scanning stuff on a server for Windows viruses. An on-access scanner can in fact be a security hazard, since it's another daemon that can potentially be subverted...)

Clamd also uses dazuko. I've tried it and it slowed the system a bit too much.

Offline

#20 2007-10-07 13:06:24

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

I am using antivir and the system does feel little slow but acceptable. Its better to be safe than sorry.

Offline

#21 2007-10-09 02:04:08

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Virus paranoia

There are a few very important things to keep in mind here. First off, running virus scans and such on a Linux box is a good idea. Complacency in the Linux world is not a good thing. I personally don't run the anti-virus stuff on everything though. Usually just when I download something that doesn't come out of Arch or a very trusted sight. For instance, KMail checks everything with ClamAV on my system.

Second, virus writers don't usually write viruses for Linux; they write them on Linux.

Last edited by skottish (2007-10-09 02:04:56)

Offline

#22 2007-10-09 14:46:57

jaideep_jdof
Member
From: Delhi, India
Registered: 2006-06-05
Posts: 311

Re: Virus paranoia

skottish wrote:

Second, virus writers don't usually write viruses for Linux; they write them on Linux.

But no one knows when table get turned on linux.;)

Offline

#23 2007-10-09 15:03:39

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Virus paranoia

jaideep_jdof wrote:
skottish wrote:

Second, virus writers don't usually write viruses for Linux; they write them on Linux.

But no one knows when table get turned on linux.;)

It won't be a thread neither, they will affect /home only, and will require huge amounts of dumminess [sic] by the end-user to get infected, still there will be people that get infected big_smile. People always care too much about this, well Linux on the desktop is solid right now, yet, how many security threads we have? well, there are lots, but how many have you got? None in my case. And is very, rare a Linux user gets a rootkit installed or a virus. Also, when the tables turn, be happy, Linux won over MS, so is time to switch to *BSD and make that your /home until it beats Linux afterward and then if in the next 10 years GNU/Hurd is released try that, well if Duke Nukem Forever has hopes of still being released soon, hurd has it too. lol

Last edited by kensai (2007-10-09 15:09:47)


Follow me in: Identi.ca, Twitter, Google+

Offline

#24 2007-10-09 15:24:23

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: Virus paranoia

kensai wrote:

Also, when the tables turn, be happy, Linux won over MS, so is time to switch to *BSD and make that your /home until it beats Linux afterward

lol. My thought exactly. big_smile

Anyway, I personally believe that all the anti-virus kits in the world won't help you if the end-user don't know what he/she is doing. So education and a dose of common sense is the best defense against virii we can give to user.

Last edited by zodmaner (2007-10-09 15:24:46)

Offline

#25 2007-10-09 15:27:25

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Virus paranoia

hussam wrote:

Even sudo isn't necessary in my opinion. I just do for example: su -c 'pacman -Syu'

I was needing this command forever. I guess I should have read the man page. tongue sudo is a pain in the butt to set up and use imho.

Last edited by theringmaster (2007-10-09 15:29:59)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

Board footer

Powered by FluxBB