LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-20-2011, 01:13 AM   #1
rajeshku
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
linux hardening


Hi,

Which is the best remote linux hardening GUI tool.Is it posible to use that tool from windows system ?


Thanks
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-20-2011, 02:32 AM   #2
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Debian 5
Posts: 23

Rep: Reputation: 2
You can set up iptables and other security features from Webmin, if you want a GUI interface.
 
2 members found this post helpful.
Old 01-20-2011, 04:57 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Hardening a Linux system is both an art and a science. In any case, one must first define what they mean by 'hardening'. Configuring IP tables can, and likely will, be a part of most hardening strategies but the question as posed is to vague for this to be a complete response. What is the purpose of the Linux system? Is it a home PC for general browsing or is it a server? What applications is it running, especially is it running any server applications such as SSH, FTP, email, web, DNS, etc.? For each of these applications there are things one can do to better protect them against malicious activity. Furthermore, a holistic hardening approach will also include "eyes on" surveillance by performing an analysis of the logs and ensuring that all of the applications are up to date.

To summarize this very important point: security is NOT an application or a tool that you can install and configure. To think otherwise is a recipe for disaster.
 
2 members found this post helpful.
Old 01-20-2011, 01:50 PM   #4
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
For several years (just to see if I could do it), I managed a colocated server without a firewall. I did it with both Webmin and via CLI, but it can definitely be done with only Webmin.

Focus on hardening any running services (SSH, FTP, Web). Then, use tcpwrappers. Then use iptables. Modsecurity is highly recommended, especially if you're serving dynamic content (this seems to be "the thing" nowadays). Get used to always checking and adjusting the server's security posture. Get used to thinking security as layered. Sometimes its also worth trying new security solutions (although maybe test on an isolated/test box first).

All of this totally depends on what purpose your server will serve.
 
2 members found this post helpful.
Old 01-20-2011, 11:11 PM   #5
rajeshku
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Thanks all for your reply.

I am checking tools like this.

http://bastille-linux.sourceforge.net/

Do you suggest any other better tool ?

Thanks
 
Old 01-21-2011, 01:23 AM   #6
t3ch
LQ Newbie
 
Registered: Jun 2005
Location: Denmark
Distribution: Debian 5
Posts: 23

Rep: Reputation: 2
Quote:
Originally Posted by rajeshku View Post
Hi,

Thanks all for your reply.

I am checking tools like this.

http://bastille-linux.sourceforge.net/

Do you suggest any other better tool ?

Thanks
But that ain't a remote tool, but rather an app you install on your server, and run from there.
Of course you can run it from remote shell though, but that doesn't make it "remote" imo.

Last edited by t3ch; 01-21-2011 at 01:25 AM.
 
Old 01-21-2011, 04:24 AM   #7
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Here are a few references to posts on LQ that discuss this subject: first, second, third.

The threads mentioned include a discussion of things you can do to harden a Linux system, including Bastille Linux. The important thing for you to do is to learn and understand what you are doing and why.
 
1 members found this post helpful.
Old 01-21-2011, 11:10 PM   #8
rajeshku
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Thanks again for all,

I need to find which is the best tool for linux hardning(using maximum users).If any please suggest me it may be opensource or commercial ?

Thanks
 
Old 01-22-2011, 08:25 AM   #9
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Please re-read unixfool's excellent post.

The main point that we have been trying to explain to you is that such a tool does not exist. There is no one set of actions, procedures, or settings, you can make that will secure your system.

In order to secure your system you need to identify what it is that you are trying to secure against. This will largely depend on what you are using the server for. On top of that, the "security" must be applied in layers. For example, you can use a firewall to block SSH traffic on all but a range of IP addresses. On top of that you can configure the SSH daemon to prohibit root logins, require RSA keys, and use only more modern encryption protocols. On top of this, you can use a program to watch the authorization log to see if anyone makes a brute force attempt to guess user names or passwords.

If you would please tell us what you are trying to accomplish and what you are trying to secure against, we can help you to develop a solution to meet your needs. For example, are you running web services, email, dns, ftp, samba, etc? Each of these items has different things that need to be done to secure it. In some cases there are tools that can be used, such as front ends for Iptables (which is the default firewall) that can assist with this process.

The other major point that we have been trying to explain is that after you perform these hardening tasks, you will need to apply constant vigilance monitoring the state of your system and guarding against intrusion. Again, there are tools, such as logwatch, that can help with this process, but it is still a constant process.

You have mentioned "using maximum users". A system with a large number of users has different needs and challenges than one with one or few. If all of these users have system accounts it will be necessary to determine who shall have elevated or root privilege. You can use the sudo function to provide a more fine grained application of this. Do you have an appropriate and effective password strategy in place? Have you thought about a permissions strategy for each of these user's home directories?
 
3 members found this post helpful.
  


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
Hardening Linux kellyapproved Linux - Newbie 5 07-11-2010 02:06 PM
Hardening Linux darylchambers Fedora 1 02-27-2007 09:44 AM
Hardening Linux with TPE wardialer Linux - Newbie 0 11-03-2004 01:36 PM
Linux OS Hardening sachinh Linux - Security 9 09-29-2004 10:47 AM
Hardening Linux Systems N_A_J_M Linux - General 0 02-07-2003 08:18 PM

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

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