LinuxQuestions.org
Help answer threads with 0 replies.
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 06-13-2016, 05:58 AM   #1
QWE123
Member
 
Registered: Nov 2014
Posts: 55

Rep: Reputation: Disabled
Linux hardening


Our company have just setup a web server ( by our vendor ) , would advise what hardening that I should do , is there any standard hardening procedure that I can follow ?

thanks
 
Old 06-13-2016, 06:56 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
What have you done so far? link
 
Old 06-13-2016, 07:01 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
You can find plenty of hardening hints from here and here.

Hope that helps.

m.m.
 
Old 06-13-2016, 07:14 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by QWE123 View Post
Our company have just setup a web server ( by our vendor ) , would advise what hardening that I should do , is there any standard hardening procedure that I can follow ?
You've been working with/asking about Linux for over a year now....and you have NO IDEA how to make sure your server is secure? As with many of your other threads, have you done ANYTHING to work towards this end? Done any research? Tried to look up any of the THOUSANDS of easily-found documents that could get you started?? Checked the security forum here? ANYTHING?????
 
Old 06-13-2016, 10:10 AM   #5
Ellendhel
Member
 
Registered: Aug 2015
Location: Wilmington, NC
Distribution: Slackware
Posts: 64

Rep: Reputation: 51
The Center for Internet Security provides many guides (called "Security Benchmarks") to configure a system or a server properly.

Security Benchmarks for Apache HTTPD

You will need to register in order to download the guides.

Please review the full guide first, do not try to apply all the instructions right away, you will probably need to adjust some configuration settings to your environment.
 
Old 06-13-2016, 11:52 AM   #6
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
Just to mirror TB0ne comments, you're scum! How dare you?!?! How dare you ask such a question on a linux forum?!?! You cynical bastard!! aaarrgghh!!
 
Old 06-14-2016, 01:52 AM   #7
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Question

Quote:
Originally Posted by QWE123 View Post
Our company have just setup a web server ( by our vendor ) , would advise what hardening that I should do , is there any standard hardening procedure that I can follow ?

thanks
If it's your vendor, then quite a lot of things to be considered.

Your web server hosts website with databases? Does it have PHP form or any forms that customer is able to type some data?



I guess it would be better also to consult your vendor what are the security already in place by them, if ever they have done it.

Last edited by JJJCR; 06-14-2016 at 01:52 AM. Reason: edit
 
1 members found this post helpful.
Old 06-14-2016, 06:11 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
To answer the immediate question: no, there is no "cookbook procedure," since you are opposing a clever, resourceful, and incognito individual most of the time. But there are an abundance of links. CERT, for instance, has more.

To start, "think like a bad guy ..."
 
1 members found this post helpful.
Old 06-14-2016, 10:31 AM   #9
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
make sure you only open what you need, and if possible you should put it behind a vpn or something. Especially make sure you don't open any shells (gui or otherwise) to the outside. rdp, vnc, etc are great for remote administration, but should ALWAYS be behind a vpn.

Edit:

Always use a firewall to block EVERYTHING except exactly what you need. That's always my first hardening process. It's a damn good start.

Last edited by biosboy4; 06-14-2016 at 04:23 PM.
 
Old 06-25-2016, 04:14 PM   #10
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Your vendor just setup the server and left the software part to you?

You should pay someone else to host your hardware for you. It will be the cheapest way to go and you will get the best protection if you find a capable ISP.
 
Old 06-30-2016, 04:46 AM   #11
QWE123
Member
 
Registered: Nov 2014
Posts: 55

Original Poster
Rep: Reputation: Disabled
deleted
 
Old 06-30-2016, 04:46 AM   #12
QWE123
Member
 
Registered: Nov 2014
Posts: 55

Original Poster
Rep: Reputation: Disabled
deleted

deleted
 
Old 06-30-2016, 05:24 AM   #13
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Fail2ban &c..?

Last edited by jamison20000e; 07-01-2016 at 08:23 AM. Reason: changed . to ?
 
Old 07-01-2016, 01:22 AM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by QWE123 View Post
deleted
Please do not delete post contents.
 
Old 07-01-2016, 01:44 AM   #15
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
as it was already mentioned you need to loosen your server, not harden:
Close every port and stop every service as a start and enable only what you really need. This is the standard procedure.
 
1 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
Linux hardening and mysql hardening sagar666 Linux - Server 3 06-18-2014 11:47 PM
linux hardening rajeshku Linux - Security 8 01-22-2011 08:25 AM
Hardening Linux kellyapproved Linux - Newbie 5 07-11-2010 02:06 PM
Hardening Linux darylchambers Fedora 1 02-27-2007 09:44 AM
Linux OS Hardening sachinh Linux - Security 9 09-29-2004 10:47 AM

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

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