hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Is there a way to Stop Shell hacking totally? c99
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Is there a way to Stop Shell hacking totally? c99

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-19-2007, 01:29 PM
toby27 toby27 is offline
Junior Guru Wannabe
 
Join Date: Dec 2004
Posts: 99

Is there a way to Stop Shell hacking totally? c99


My server got often get a c99 and other shell attack.

Is there a way to stop them totally? i.e. even though they are successfully uploaded but I do not want the source to be available to them etc.?

I mean, is there a way to hide or not allow them to execute any shell?

__________________
Chad Michael Murray >> House of Wax

Reply With Quote


Sponsored Links
  #2  
Old 10-19-2007, 02:38 PM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
Do you have mod_security installed on the server?

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #3  
Old 10-19-2007, 02:51 PM
dtredwell dtredwell is offline
WHT Addict
 
Join Date: Jul 2004
Posts: 146
Use a simple two-layer setup.

use mod security to filter out the URL's
use php.ini to block the functions.

Reply With Quote
Sponsored Links
  #4  
Old 10-20-2007, 12:02 AM
toby27 toby27 is offline
Junior Guru Wannabe
 
Join Date: Dec 2004
Posts: 99
Quote:
Originally Posted by dtredwell View Post
Use a simple two-layer setup.

use mod security to filter out the URL's
use php.ini to block the functions.
I'm not familar with both. could you explain?

David: Thanks! hope you can explains more on mod_security though.

__________________
Chad Michael Murray >> House of Wax

Reply With Quote
  #5  
Old 10-20-2007, 12:26 AM
LoganNZ LoganNZ is offline
Hosting Systems Specialist
 
Join Date: Feb 2004
Location: New Zealand
Posts: 1,202
http://www.modsecurity.org

Its basically a modification for apache which filters malicious code, stopping those kids from uploading web shells onto your box.

Mod_security allows you to monitor the attack attempts and in some cases/setups allows you to automatically ban the attacking IP.

Becareful with mod_security as it can mess with the average day PHP scripts if the configuration is a little aggressive. ( Logs help a lot in this area )

I can log up to 4-5 attacks a day via mod_sec, its a great mod for apache

mod_dosevasive is also a good script to install just for peace of mind.

Good luck with the install

__________________
DigitalGoods.info
FREE Shared, Mega Resellers + Dedicated Servers

Reply With Quote
  #6  
Old 10-20-2007, 02:08 AM
zacharooni zacharooni is online now
Community Guide
 
Join Date: Apr 2005
Posts: 1,275
Also make sure your directories aren't CHMOD 0777, and /tmp is noexec,nosuid. Additionally, make sure you have allow.url_fopen and allow.url_include is Off in php.ini.

__________________
Lead Systems Engineer @ PacificHost
Incredible. Amazing. Reliable. PacificHost.
Visit us at https://www.pacifichost.com/

Reply With Quote
  #7  
Old 10-20-2007, 10:07 AM
toby27 toby27 is offline
Junior Guru Wannabe
 
Join Date: Dec 2004
Posts: 99
i checked with my support team and they said the box is alrady has mod_secure . So now, how can i setup the rule to avoid c99 shell? and where do i put them?

__________________
Chad Michael Murray >> House of Wax

Reply With Quote
  #8  
Old 10-20-2007, 11:18 AM
tweakservers tweakservers is offline
Aspiring Evangelist
 
Join Date: Mar 2006
Posts: 415
Perhaps this thread may give you some ideas

http://www.webhostingtalk.com/showthread.php?t=610636

__________________
Tweakservers | Professional Windows Server Setup & Security Hardening
Authorised Reseller For SmarterTools, Paessler PRTG, SSL Certificate & STH Website Malware Scanning
Twitter @tweakservers

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Feds Arrest Six LulzSec Hackers Allegedly Involved in Several High-Profile Attacks in 2010, 2011 Web Hosting News 2012-03-07 10:48:54
Alleged Sony Pictures LulzSec Hacker Arrested in Arizona Web Hosting News 2011-09-23 14:29:09
Sony Names Philip R. Reitinger SVP and Chief Information Security Officer Web Hosting News 2011-09-06 18:55:18
Hacker Group Lulzsec Disbands After 50 Days, Posts One Final Data Dump Web Hosting News 2011-06-27 14:59:08
Hacker Group LulzSec Leaks Arizona Law Enforcement Data Web Hosting News 2011-06-24 14:14:28


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?