LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-12-2003, 07:46 PM   #1
PixelCloud
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat WS 3.0
Posts: 15

Rep: Reputation: 0
How that my box is setup i need help hardening


I ran bastille already but i still think it needs more hardening.

The services i am running are..


Snort
Mysql
Apache


it is still using X, and i nede to harden this system some more
 
Old 08-13-2003, 09:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Did you read post #1 of the 1st thread in this forum about links wrt hardening?
 
Old 08-13-2003, 10:34 AM   #3
PixelCloud
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat WS 3.0
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by unSpawn
Did you read post #1 of the 1st thread in this forum about links wrt hardening?

yes i did, and the only link there is about hardening RH9 is bastille, which i have already ran like i said it in my post
 
Old 08-13-2003, 03:39 PM   #4
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
Re: How that my box is setup i need help hardening

Quote:
Originally posted by PixelCloud
I ran bastille already but i still think it needs more hardening.

The services i am running are..


Snort
Mysql
Apache


it is still using X, and i nede to harden this system some more
OUT OF THE WAY DUMB QUESTIONS COMING THROUGH!!!

What do you mean by hardening?
 
Old 08-15-2003, 07:34 PM   #5
TheSpork
Member
 
Registered: May 2003
Location: Norway
Distribution: Ubuntu / Debian
Posts: 40

Rep: Reputation: 15
Maybe you want to take a look at

Linux Intrusion Detection System
www.lids.org

I don't know your experience with Linux, but this most certainly hardens your system..
 
Old 08-18-2003, 06:30 AM   #6
PixelCloud
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat WS 3.0
Posts: 15

Original Poster
Rep: Reputation: 0
Re: Re: How that my box is setup i need help hardening

Quote:
Originally posted by snatale1
OUT OF THE WAY DUMB QUESTIONS COMING THROUGH!!!

What do you mean by hardening?

hardening.. errr... securing the system, turning off services, etc ,etc
 
Old 08-18-2003, 12:02 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
yes i did, and the only link there is about hardening RH9 is bastille, which i have already ran like i said it in my post

When I asked you to read the first post I didn't mean reading about Bastille and using that alone. You should read the checklists and securing part.

Let's give you a quick run-tru of the main points.
I. Remove any user software, network daemons you have no immediate need for *NOW*. That includes everything in the "hmm, (whats that?|sounds interesting)" and "I'm sure gonna use/need that later on" categories: if you need it later, install it at that time.
Common pitfalls are for instance the MTA: you don't need Sendmail, postfix or exim running to send email, and you dont need DNS (BIND, named) running to *access* your ISPs DNS servers.
II. For network services you need to provide and network daemons you need yourself, place access restrictions in 1. the applications configuration files, 2. tcp wrappers and 3. the firewall.
If the service is run from (x)indetd, see /etc/(x)indet.d for configuration files.
Restart all services and check for services in the LISTENING state with "socklist", "netstat -anp" or "lsof -i".
III. Use a restrictive default firewall policy of DENY. This means you will have to add explicit rules for any serve you need access to, or provide, but doesn't allow access when rogue services are started.
IV. When you installed Linux, you should have installed a filesystem integrity checker like Aide, Samhain or tripwire. Relying on the rpm database to validate your system does not provide sufficient coverage.
V. Prevent malicious local/network activities and privilege escalation by patching your kernel with the Grsecurity(.net) patches and configure your system for it.
VI. Use sufficiently strong passwords. Restrict local user access using /etc/securetty (root access), login.defs, PAM (also see /etc/security) and the shell resource files. Set proper ulimits.
VII. If network-facing daemons can be configured to drop root privileges and run as a lesser-privileged user, configure them so.
VIII. Have the discipline to update your system regularly, especially if an application is found vulnerable. Putting it off will make your system a liability for all who use the network, the internet.
IX. /*can I do that? or do I use VIIII?*/
Have the discipline to regularly run local system checkers like Tiger, COPS, Lsat, Chkrootkit and monitor your logs and act on anomalies.

*Please note this list aint complete. Please read the checklists and securing part. *Then* try to ask more specific questions.

HTH
 
  


Reply



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
setup Suse 9.2 box as my gateway anybody1234 Linux - Networking 6 10-27-2005 04:23 AM
How do i setup telnet on a slackware box digital bots Slackware 15 03-02-2004 01:32 PM
setup nameserver on a webmin box ? funnyusa Linux - Networking 2 08-17-2003 04:46 PM
Good setup for a family linux box? Bert Linux - Software 4 02-03-2003 12:33 PM
A poll about your box and its setup ! L33TNEGGAH Linux - General 10 08-05-2002 09:00 PM

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

All times are GMT -5. The time now is 08:32 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