Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 09-07-2007, 10:39 PM server security
Junior Talker

Posts: 23
Trades: 0
about 3-4 weeks ago we had a security breech. over the past couple of days my server has gone down 3 times. i just learned today that someone tried to gain root access into my server and finally we found what killed my server. some tried to loggin to my server as root for more than an hour, a brute force attack , all were failed login attempts , one per second.

what are the best security measures that i could take to make sure they dont gain access to my servers?
MrSir is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-08-2007, 05:30 PM
Junior Talker

Posts: 10
Trades: 0
If they are linux servers, I'd first run hardened versions of your programs.

Disable root account login in direct and ssh.
Disable password login in ssh, and force the usage of shared keys.
Disable sudo procedure.

If possible, disable every network listening service (mysql, nfs...) or try to run those services in a chroot jail (I think CVS and ssh here). At least, if they get conpromised, the hacker would be restricted.

Shield everything under a firewall, and open only selective holes in it for specific tasks (http, ssh).
If you don't use ssl, don't run apache ssl module.

Don't run ftp, use either sftp (ssh based ftp) or run an VPN, and do everything via that vpn.

Run root kit detections like rkhunter via cron jobs to ensure that nothing change on your server without you knowing it.

And finally, for the brute force login, run something like denyhost, which analyze login attempt via ssh and blacklist ip adress trying to come in via brute force.
I even think it can work for others protocols, but I'm not sure of that.

This is what I've done on my server, and what I would recommend.
Now, I'm not a real "sysadmin", I'm just a bit educated in that field, and I could not exactly tell you how to do that, as this is very distro dependent.
imported_tripy is offline
Reply With Quote
View Public Profile
 
Old 09-09-2007, 02:14 AM
Brandon's Avatar
loving life

Posts: 546
Name: Brandon
Location: Kansas
Trades: 1
Good tips tripy

I'd give you some rep if the forum had it.
__________________
Hello, I am
Please login or register to view this content. Registration is FREE
& I've been offering
Please login or register to view this content. Registration is FREE
since 2006
We're building the largest
Please login or register to view this content. Registration is FREE
on the net.
Are you
Please login or register to view this content. Registration is FREE
? Contact me if so
Brandon is offline
Reply With Quote
View Public Profile Visit Brandon's homepage!
 
Old 09-09-2007, 02:47 PM
Junior Talker

Posts: 10
Trades: 0
Thanks !
imported_tripy is offline
Reply With Quote
View Public Profile
 
Old 09-09-2007, 06:22 PM
Experienced Talker

Posts: 40
Trades: 0
For brute force attacks, you can change ssh port to some non default port (for example 6264). There are software that can stop brute force attack.

R-fx Networks - Internet Security Solutions - Projects » BFD
ConfigServer Security & Firewall
__________________

Please login or register to view this content. Registration is FREE
netfreehost is offline
Reply With Quote
View Public Profile Visit netfreehost's homepage!
 
Reply     « Reply to server security
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.87578 seconds with 12 queries