Digital Point Forums
Send Money Online

Go Back   Digital Point Forums > Design & Development > Site & Server Administration > Security
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jan 20th 2007, 8:30 am
Toopac's Avatar
Toopac Toopac is offline
Starcaller
 
Join Date: Feb 2005
Location: UK
Posts: 4,316
Toopac is a splendid one to beholdToopac is a splendid one to beholdToopac is a splendid one to beholdToopac is a splendid one to beholdToopac is a splendid one to beholdToopac is a splendid one to beholdToopac is a splendid one to behold
Topsites hacked with c99shell

Some turkish hackers were targeting my Aardvark topsites & managed to install c99shell on to the account that hosts the topsites script so i want to know what steps i should take to make sure the hacker has left no backdoor to get back in again & want to know what information he could have got.

The account he hacked has a main site, topsites, poll, guestbook & forum but is also on the same server with some of my other sites.

What i did was check files dates for recently changed or upload files on the account that was hacked(there was none)

I deleted the topsites script & upgraded to the latest version.

What other steps would i need to take or should take to make things safe?
__________________
Myspace scripts | Webmaster Scripts and Content!

A fool and water will go the way they are diverted.
Reply With Quote
  #2  
Old Jan 20th 2007, 8:31 am
leet's Avatar
leet leet is offline
Starcaller
 
Join Date: Aug 2006
Location: Eugene
Posts: 3,381
leet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant futureleet has a brilliant future
Probably your permissions are set 777. Make them non-writable. And also, set safe mode on.
Reply With Quote
  #3  
Old Jan 22nd 2007, 1:17 am
hans's Avatar
hans hans is offline
Starcaller
 
Join Date: Mar 2004
Location: Philippines
Posts: 2,695
hans is just really nicehans is just really nicehans is just really nicehans is just really nicehans is just really nice
about a year ago i had repeatedly same problem of hacker intrusion - now all solved.

if you give URL and a list of scripts you use online as well as OS - then may be I can help more precisely. however be warned that securing your site requires understanding your site with all scripts - I have spent some 300 hrs total to do just that - then I secured and solved all the problems ... successfully so far until these days.

In my case it was a faulty script of a commercial forum software - a bug that was known to the coders but unresolved by them until now - hence almost all those forums get/got hacked until now to upload files for phishing sites.

If I look at the frequent hacker attempts on my site and look at what kind of software they search for - that gives a pretty complete picture of the potential scripts they use to enter a site - I safely assume that hackers only search for scripts known to them to have a security hole to penetrate a site.
__________________
Nature wallpapers Beautiful eCards
Reply With Quote
  #4  
Old Feb 7th 2007, 2:02 pm
torrentexplosion.com torrentexplosion.com is offline
Peon
 
Join Date: Apr 2006
Posts: 14
torrentexplosion.com is on a distinguished road
had a problem like that myself before...absolutely annoying
Reply With Quote
  #5  
Old Mar 26th 2007, 2:17 am
netdeals's Avatar
netdeals netdeals is offline
Champion of the Naaru
 
Join Date: Nov 2006
Posts: 199
netdeals is on a distinguished road
I will recommend a fresh install of your hosting account as the hacker could have written malicious code in some other script also. So he can regain access to your website if he wants to.. Usually this code accepts remote file's. So you may need to check those too. Incase you dont want to remove all the script you may need to have a security audit for your website. You may like to check this.

http://forums.digitalpoint.com/showthread.php?t=278457
Reply With Quote
  #6  
Old Mar 26th 2007, 6:06 am
tavshan's Avatar
tavshan tavshan is offline
Twilight Vanquisher
 
Join Date: Mar 2007
Posts: 623
tavshan is on a distinguished road
Quote:
Originally Posted by leet View Post
Probably your permissions are set 777. Make them non-writable. And also, set safe mode on.
leet is right always use safe mode on
Reply With Quote
  #7  
Old Apr 7th 2007, 3:14 am
activebiz activebiz is offline
Banned
 
Join Date: Aug 2006
Location: usa
Posts: 1,685
activebiz is on a distinguished road
c99shell. how lovely. I remember back in the day (last summer) when i used c99shell to access peoples sites and information and also get web space that wasn't mine LOL.
Reply With Quote
  #8  
Old Apr 9th 2007, 3:11 am
Zinho Zinho is offline
Hand of A'dal
 
Join Date: Oct 2004
Posts: 284
Zinho is on a distinguished road
Hi,
The problem can be either because they got a way to upload files on your webserver (.php files with execute priv) or a bad include (remote file inclusion vulnerability).
I would recommend that you do a check with aports to monitor also executables files opening port for shell other than malicious scripts being hijacked (check the forms' action field or anomalous javascript).
__________________
Secure your website - Blog
Reply With Quote
  #9  
Old Apr 14th 2007, 7:04 am
edhan's Avatar
edhan edhan is offline
Hand of A'dal
 
Join Date: Mar 2007
Location: Singapore
Posts: 272
edhan is on a distinguished road
Question

Quote:
Originally Posted by leet View Post
Probably your permissions are set 777. Make them non-writable. And also, set safe mode on.
Some software scripts require permission 777 to run. If that is the case, how do we protect it?
__________________
Wealth & Fortune | MLM Business
Reply With Quote
  #10  
Old Apr 14th 2007, 8:13 am
p2y's Avatar
p2y p2y is offline
Twilight Vanquisher
 
Join Date: Dec 2006
Location: Turkey/Eskisehir
Posts: 582
p2y will become famous soon enough
If you trust your script then you dont have to set perms 777.But be sure you set safe mode on.
__________________
Make Money Blogging
You can easily add an aditional income stream of $200 per day.Don't you believe ? Check out proof here http://forums.digitalpoint.com/showthread.php?t=1164345
Reply With Quote
  #11  
Old Apr 14th 2007, 10:31 am
edhan's Avatar
edhan edhan is offline
Hand of A'dal
 
Join Date: Mar 2007
Location: Singapore
Posts: 272
edhan is on a distinguished road
Quote:
Originally Posted by p2y View Post
If you trust your script then you dont have to set perms 777.But be sure you set safe mode on.
Sorry. I think you got it wrong. What I am saying that the script requires to run with perms 777. Without 777, it will give error. For this situation, what can we do to protect that folder from being exploited?
__________________
Wealth & Fortune | MLM Business
Reply With Quote
  #12  
Old Apr 15th 2007, 12:44 am
p2y's Avatar
p2y p2y is offline
Twilight Vanquisher
 
Join Date: Dec 2006
Location: Turkey/Eskisehir
Posts: 582
p2y will become famous soon enough
sorry i wrote it wrong . I was trying to say

If you trust your script then you dont have to set perms not 777.But be sure you set safe mode on.
__________________
Make Money Blogging
You can easily add an aditional income stream of $200 per day.Don't you believe ? Check out proof here http://forums.digitalpoint.com/showthread.php?t=1164345
Reply With Quote
  #13  
Old May 18th 2009, 1:03 pm
zaphodb777 zaphodb777 is offline
Peon
 
Join Date: Mar 2009
Location: Casper, WY, USA
Posts: 3
zaphodb777 is on a distinguished road
Quote:
Originally Posted by edhan
Sorry. I think you got it wrong. What I am saying that the script requires to run with perms 777. Without 777, it will give error. For this situation, what can we do to protect that folder from being exploited?
Good scripts will include the files from the 777 directory to the publicly readable one, and the 777 directory will have direct access blocked by a deny all .htaccess .

PHP is good for reaching over the wall of an .htaccess for storing, or reading data.

Zap

P.S. My GPL/Freeware script ZB Block MAY help avoid injection of c99shell into your website. Get it at www DOT spambotsecurity DOT com SLASH zbblock DOT php

Last edited by zaphodb777; May 18th 2009 at 1:10 pm. Reason: Added post-script about ZB Block
Reply With Quote
  #14  
Old May 24th 2009, 6:18 pm
StevieHotstuff StevieHotstuff is offline
Peon
 
Join Date: Feb 2009
Posts: 28
StevieHotstuff is on a distinguished road
aswell as using .htaccess

make sure your admin directory is protected with .htpasswd

also make sure you scan your files with clamav or other av
Reply With Quote
Reply

Bookmarks

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Arcade Topsites? Jelf General Marketing 4 Jan 8th 2007 10:31 am
Proxy Topsites? HideIp Scripts 4 Dec 7th 2006 1:32 pm
Submit to my topsites cb711 Link Exchange 0 Nov 30th 2006 8:13 pm
TopSites looking for members siteseer Services 0 Oct 15th 2006 4:45 pm
PS3 Topsites munt Link Exchange 0 Apr 3rd 2006 5:22 am


All times are GMT -8. The time now is 1:47 pm.