LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2013, 06:41 AM   #1
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Rep: Reputation: 0
Linux Webserver Security


Hello.

Can anybody suggest how can I secure my web server with Panel is installed (cPanel), In which all website should not suffer and they can use all web default services.

I found below URL but seems not sufficient, please advice.

http://www.cyberciti.biz/tips/linux-security.html

Running major services on server as follows.

abrt-ccpp
abrt-oops
abrtd
acpid
atd
auditd
autofs
bandmin
cagefs
cdp-agent
cpanel
cpuspeed
crond
csf
db_governor
dovecot
exim
fastmail
filelimits
haldaemon
httpd
ip6tables
ipaliases
irqbalance
kdump
lfd
lve
lvectl
lvestats
lvm2-monitor
mcelogd
mdmonitor
memmonitor
messagebus
mysql
named
netfs
network
portreserve
proxyexecd
pure-ftpd
qpidd
rhnsd
ror
rpcbind
rpcgssd
rsyslog
securetmp
snmpd
sshd
sysstat
udev-post

Thanking you,
 
Old 01-17-2013, 06:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as a blanket request? no.

this has some useful things though - http://www.nsa.gov/ia/_files/factshe...1.pdfShareFile
 
Old 01-17-2013, 06:53 AM   #3
amolmistry
Member
 
Registered: Nov 2008
Posts: 45

Original Poster
Rep: Reputation: 0
Hello,

Further to above said requirement.

Kernel :- 2.6.32-379.9.1.lve1.1.9.7.2.el6.x86_64 #1 SMP Tue Oct 23 11:24:04 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Kindly find attached list of installed packages on server.

And suggest which is to be deleted/upgraded.

Thanking you
Attached Files
File Type: txt Installed-Packages.txt (31.2 KB, 17 views)
 
Old 01-17-2013, 07:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Again, no. We can't just teach you how to do your job. You need to ask *SPECIFIC* questions or refer to genreal pre-exsiting documentation readily available online.
 
Old 01-17-2013, 08:09 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Link fix for the above: http://www.nsa.gov/ia/_files/factsheets/rhel5-pamphlet-i731.pdf
 
Old 01-17-2013, 08:34 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...in addition to the NSA PDF acid_kewpie posted you should read the basic installation and administrator documentation the original Linux distribution provides (https://access.redhat.com/knowledge/docs/), preferably before you install the OS. As I note you use or intend to use a web-based management panel it is also strongly advised to practice (locally?) first and ensure you have the basic practical user knowledge needed to run a Linux machine. (I should warn you thought that thinking that this gains you practical admin knowledge in say five days to be able to run a server securely would be a slight miscalculation.) In addition to RHEL-provided documentation and the NSA pamphlet you should minimally be aware of the (security) documentation provided by the interpreter, web server, database plus whatever you intend to run on top of that (forum, web log, photo gallery, shopping cart, statistics package, etc, etc), the OWASP Top 10 (https://www.owasp.org/index.php/Cate...op_Ten_Project), (preferably the SANS Top 20 http://www.sans.org/critical-security-controls/ too), the CISecurity Linux benchmarks (http://www.cisecurity.org/bench_linux.html) for your distribution of choice and tools like OpenVAS for testing purposes.

* Also since it appears you have chosen to use CloudLinux, which is a non-standard paid-for modification of RHEL / CentOS, you may be entitled to their support.
 
Old 01-17-2013, 08:48 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
Remember, security is a process, not a product. (In spite of all the millions of dollars that folks like Peter Norton made from the reversal of this idea.) The security doesn't come from the brand of lock that you buy to install on any particular doorway. All the information you need is readily available on-line, but you also have to develop (again using the information of others) a strategy for applying it. The key is to understand: what software is installed, why it's there, how it's actually configured, and how it could be exploited by others. One of the best-all-around resources is the Security sub-forum right here. The esteemed persons (not including myself) who have already responded to you on this thread, are themselves experts. Listen carefully.

To me, control-panel software of all kinds is a serious security risk in and of itself, and nearly every server I've been associated with that was penetrated was exploited through exploitation of that kind of software. (It is "convenient," yes, but it is also: pervasive, complex, and normally poorly-understood.) And yet, you might not be able to change it. What you can do, though, is to understand it. Minimize it down to what you actually use. Look on the Internet for every document you can find that discusses exploits. Keep the software extremely up-to-date. Be attentive. Thieves do not draw attention to their presence, but they always must leave signs.

Last edited by sundialsvcs; 01-17-2013 at 08:55 AM.
 
Old 01-17-2013, 09:01 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by sundialsvcs View Post
To me, control-panel software of all kinds is a serious security risk in and of itself, and nearly every server I've been associated with that was penetrated was exploited through exploitation of that kind of software. (It is "convenient," yes, but it is also: pervasive, complex, and normally poorly-understood.) And yet, you might not be able to change it. What you can do, though, is to understand it. Minimize it down to what you actually use. Look on the Internet for every document you can find that discusses exploits. Keep the software extremely up-to-date. Be attentive. Thieves do not draw attention to their presence, but they always must leave signs.
I'd certainly agree there was a correlation to panel usage and attacks, but I don't think it's that causative. I think it's more the consequence of the average skill level of the average person who feels a panel is good for them. someone finding a cPanel install is probably likely to take that as a hint to dig further about other underlying services for likely mis-management too.
 
  


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
webserver security xviddivxoggmp3 Linux - Security 3 10-19-2007 07:15 PM
Security risk for Windows workgroup computers if I add a Linux webserver? rreiss Linux - Security 1 03-17-2006 12:51 PM
Security on a webserver. mikz Slackware 6 01-23-2006 04:15 PM
Linux webserver security GNewbie Linux - Security 3 10-18-2005 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 AM.

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