There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Is Linux really secure? Experts, please advise


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
11-Mar-2004, 02:11 AM #1
Question Is Linux really secure? Experts, please advise
What is the likelihood of something like this happening on a stand alone Linux System?

- A user (not root) connects to the net and gets infected with the virus.
- The Virus can't do much of a damage because it doesn't have permissions.
- Later the root logs in and accesses the some infected file (and now there are a lot of permissions to modify the files).
- Now the Virus starts its activities and completely infects the system.

If this is possible, how can any one presume that a Linux system is secure when one connects to the net as a user? The infection just gets delayed by some time.

Is Linux Really More Secure Than Windows?
http://itmanagement.earthweb.com/sec...le.php/3086051
__________________
Domains, web hosting, websites
evilmrhenry's Avatar
Senior Member with 106 posts.
 
Join Date: Dec 2001
11-Mar-2004, 03:47 AM #2
Quote:
What is the likelihood of something like this happening on a stand alone Linux System?
It is possible, but more difficult than in Windows, where two of your steps are not needed.

Notes:
1: In general, the root user doesn't access the same files as a regular user.
2: People *should* enter immediately into paranoid mode whenever they enter root. Doesn't mean they will, but then people who don't would have been infected already on Windows.
3: since everything is in text files and directories, it is difficult to hide a virus. Due to logging, it is even harder. A virus would need to do actual infecting of a binary, something that is not common in the Outlook worm world.
4: many Linux systems are in companies, where the user is not allowed root access.

In conclusion, while Linux viruses are possible, the system they are attacking is inherently more resistant, which would likely decrease infections by an order of magnitude (aside from the marketshare issue).
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
11-Mar-2004, 07:07 AM #3
Ok. Thanks for your opinion. Just got hold of a new Anti Virus for Linux. Its called ClamAV
Squashman's Avatar
Distinguished Member with 12,604 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
11-Mar-2004, 09:35 AM #4
If you are logging into your Linux system as root the majority of the time, I am going to come and slap you around like a Red Headed Step Child!

I cannot think of too many things that I have to login as root to do. And on my systems, root can only login at the console and only on 3 ttys'. The majority of admin things can be done using SUDO if you have it installed and configured.

I have a 30+ page ISO document that I use for installing, configuring and securing my Linux box to the best of my knowledge. I always recommend everyone to take a class on Linux.
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - Windows Shell/User
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
12-Mar-2004, 01:07 AM #5
Please don't hit me uncle!!

My Linux installation is on a standalone machine. So I am the root, I am user, I am everything. So I hardly ever log in as root. But every time I use Kppp dialer, it asks for the root password. As soon as the window comes up, I click on keys and tell it to forget authorisation.

But then I would seriously want to have an efficient AntiVirus software. I would surely feel unsecure without it. May be I am so used to one because of working on Windows for a long time

I really am not comfortable with "inherently secure" propoganda.
__________________
Domains, web hosting, websites
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
12-Mar-2004, 05:29 AM #6
Quote:
But then I would seriously want to have an efficient AntiVirus software. I would surely feel unsecure without it. May be I am so used to one because of working on Windows for a long time
I get that. But we've already discussed this so I wont rehash old conversations.
If you want to stop the root login prompt for kppp, I have this from my files:
Code:
Here is the way to keep kppp from asking for a root password:
1. Change the following line in the file /etc/pam.d/kppp from:
#auth sufficient /lib/security/pam_rootok.so
to:
auth  sufficient /lib/security/pam_permit.so
You must do this with a text editor as root.
HTH
lynch
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
13-Mar-2004, 01:36 AM #7
Thanks for the tip. Although I don't mind the need to enter root password everytime. That will prevent some other occassional users (friends, cousins, etc.) from dialing in without my permission.
Sting3R's Avatar
Member with 42 posts.
 
Join Date: Mar 2004
Location: virginia beach
14-Mar-2004, 07:48 AM #8
I am an intrusion analyst for the government...one tool we use is "stinger tool"...it will wipe out any virus or worm you may have that is buggin ya....another thing to do also is QUIT LOGGING IN AS ROOT.....I also run a packet sniffer on my linux box at home and also Snort 2.0.....another thing to viruses are the least important threat out there in the wild.....make certain your ports are secure and you are running some kind of defense.
Squashman's Avatar
Distinguished Member with 12,604 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
14-Mar-2004, 10:43 AM #9
Quote:
Originally posted by Sting3R:
I am an intrusion analyst for the government...one tool we use is "stinger tool
Correct me if I am wrong, but isn't stinger used for Windows.
Sting3R's Avatar
Member with 42 posts.
 
Join Date: Mar 2004
Location: virginia beach
14-Mar-2004, 10:54 AM #10
true but we also have a copy engineered here for a unix environment
Squashman's Avatar
Distinguished Member with 12,604 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
14-Mar-2004, 11:09 AM #11
Quote:
Originally posted by Sting3R:
true but we also have a copy engineered here for a unix environment
Have you guys open sourced it. That would be very useful. Does it run from the command line.
Sting3R's Avatar
Member with 42 posts.
 
Join Date: Mar 2004
Location: virginia beach
14-Mar-2004, 11:19 AM #12
I know we havent open sourced it but I will check with the engineers on monday and see what the status is.....and yes it runs from a command line...they are working on a gui for it
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
15-Mar-2004, 12:49 AM #13
Quote:

make certain your ports are secure and you are running some kind of defense
That is why I have been inquiring about an AntiVirus for Linux.

Thanks for all your input on the topic.
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
15-Mar-2004, 11:45 AM #14
ClamAV is supposed to be very nice. I know the LUG members around here all use it faithfully on several networks.
AbvAvgUser's Avatar
Distinguished Member with 2,313 posts.
 
Join Date: Oct 2002
Location: Mumbai, India
Experience: Intermediate
16-Mar-2004, 12:52 AM #15
Thank you for increasing my faith in ClamAV. I can now be somewhat more assured as and when I install it. I have Red Hat 9 and I am about to upgrade it to some other version called PCQLinux 2004
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:14 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.