LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-27-2006, 12:57 PM   #1
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
Questions on securing my system by a newbie


At present I am running debian etch and I was wondering if there are any other easy steps I take that will help me stay secure on my system.

I checkfor updates everday with apt and apply them as soon as any hit the repositories. I have enabled the etch security repositories also.

I do not run as root at all. When I need to run as root I use su or kdesu and then quick the application as soon as possable.

I change my root and user passwords regularaly.

I run chkrootkit and rkhunter regularaly.

I have a hardware firewall on my router and use ip tables locally on this machine (paranoir really).

I avoid pre built debian packages as much as possable, If I need them I get them from the projects own site or from sources I trust.

I have disabled all of the services that I do not need running.

So are there any other easy steps I can take to keep my self secure. I read the thread stickied above that covers security but much of it was too advanced for me. This is just a desktop machine.

Thanks in advance

Michael.

Last edited by Michael_aust; 04-27-2006 at 01:00 PM.
 
Old 04-27-2006, 01:17 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
My is that you're doing quite well (better than me anyway). I would look into using sudo instead of su because you can limit your user to only specific root tasks (and I believe directories or files also). That way if you accidentally were to run some malicious script, it wouldn't be able to have complete root priveledges.

Also, in the event you have friends with Windows machines, you might use a virus scanner just to keep from infecting them (you're not affected by the viruses, but you can still transmit them by forwarding malicious attachments or file sharing, etc).
 
Old 04-27-2006, 01:19 PM   #3
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
i will look into sudo, thanks. Well i dont run any scripts I download as root only as a user, so the script would only be able to infect that user accoutn correct?
 
Old 04-27-2006, 01:23 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
That's correct. It may come to pass though that sometime down the road you do want to run a script that needs root priveledge. So it's a good habit anyway...
 
Old 04-27-2006, 01:57 PM   #5
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
A few apps that may help you:

tiger
bastille
harden-tools (and a number of others with harden in the title)
 
Old 04-27-2006, 03:25 PM   #6
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
are such tools overly restricting to what I can do? Or will they not affect my while im running an application as root?
 
Old 04-27-2006, 03:56 PM   #7
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Not at all.

Tiger just does a daily scan to check for security vulnerabilities and emails you a summary. It is up to you to fix any problems.

Bastille is run once. It looks for security holes and asks you what you want to do about them.

I haven't used harden-tools, so I can't comment on that one.

For the super paranoid there is selinux. But this one looks pretty hard to set up, and is probably a bit restrictive.

Hacking Linux Exposed is a good book to learn about security stuff. And easy to read even for newbie.
 
Old 04-27-2006, 04:23 PM   #8
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
yeh iv read about selinux, seems fedora users have a hardtime with it
 
Old 04-27-2006, 06:29 PM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Securing Debian Manual
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie questions: How do I set up a dual-boot system? What order to install OSes in? Dawnshadow Linux - Newbie 5 03-22-2005 02:59 PM
newbie: securing 9.2 viniosity SUSE / openSUSE 3 03-07-2005 11:10 PM
Newbie needs help securing his Slack Mr. Hill Linux - Security 2 02-28-2005 03:56 AM
securing system for newbie? webazoid Linux - Security 4 07-03-2004 06:56 PM
Questions about securing Apache Lleb_KCir Linux - Security 6 04-07-2004 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration