Help - Search - Members - Calendar
Full Version: My site got hacked
Get Paid Forum - Get Paid Discussion > Webmaster's Corner > General Discussion on Building, Running & Making Money from a Website
Chaos
Hello,
I was building a site based on a little modified Nucleus CMS script. I was just adding the finishing touches, getting ready to launch in a few days, until I opened it today to see it hacked 38-confused54.gif It had many files added in many directories, as well as a bunch of stupid links (to search sites, etc). I was sooooo frustrated (this took me back a good week of my work, since because of my stupidity I didn't make any backups to dl, I figured if no one visits my site yet, why?) wallbash.gif

How do those things happen?
I was kind of suspecting the XML-RPC lib of Nucleus CMS was exploited, but not sure. Any ideas how to keep my site safe? Because I won't be changing to another script.
It might have been a keylogger on my PC, but I kind of doubt that.
Could it be my hosting's fault?

I don't know what to think... This is so annoying ticked.gif How to make sure it won't happen again? OK just don't offer to use antivirus and firewall, tell me how to protect the website, because I know nothing about this.
For now I've deleted everyhting from public_html directory (I copied the content and everything else that I could, but script was damaged and I couldn't make a backup using Nucleus feature), can there be some "backdoors" left in other directories? For example are those .bash* files supposed to be there?
attagirl
I am sorry that this happened to you. I have too experienced things from getting scripts as well. This is why I only write my own at this time. I do not believe that people who offer scripts actually would do this but they do.
d4rkpri35t
only hosting to go wtih is a secure linux based server, while looking at hosting, google some reviews for them also
sandrodz
it could have been host... was a free one? if yes, most probably it was the case... and yeah, always go with trusted hosts - don't think that cheap ones are any good
Chaos
ThunderHost.biz not a free one dry.gif
sandrodz
well, you get what you pay for... 3$ p/m for 1gb is insane low price... anyways, it might not be host but your script - it's impossible to say that either of those is 100% responsible
sandrodz
check this article to get an idea on choosing a host

http://teahost.com/forums/index.php?showtopic=25
Chaos
QUOTE(sandrodz @ Jan 13 2006, 08:12 PM)
well, you get what you pay for... 3$ p/m for 1gb is insane low price... anyways, it might not be host but your script - it's impossible to say that either of those is 100% responsible
[right][snapback]4201738[/snapback][/right]

I thought it was, but I contacted admin and he said:

QUOTE
Nope...very reliable so far. I assume with my prices that ALL of customers will
use their bandwidth (though this hasn't come close to happening yet). I have
several separate servers and move sites around as needed, so one huge site
doesn't hog all the resources.


I'm unable to determine what caused this, so I'll just reinstall Nucleus, re-do the site and hope it stays safe this time ticked.gif
Rasmus
Have you contacted Nucleus support about this? Maybe the script the or modification part had some kind of security hole or smth...
Chaos
I'll ask in their forums.
Thanks for your replies. However I don't think I'll be changing my hosting provider as I already bought whole year package sleep.gif
sandrodz
never buy yearly plans... cause that's a big scam - read my article carefuly for details...
phimchothue
site was hacked not really because of host,there are many bugs and exploit can make your site hacked.
If you run a CMS site,put a .htaccess file in the admin area to prevent hacker to got it,they have to guess two password to get in to admin area.You can also allow some range of ip to access your admin folder,it would help.
Chaos
QUOTE(phimchothue @ Jan 14 2006, 10:32 PM)
site was hacked not really because of host,there are many bugs and exploit can make your site hacked.
If you run a CMS site,put a .htaccess file in the admin area to prevent hacker to got it,they have to guess two password to get in to admin area.You can also allow some range of ip to access your admin folder,it would help.
[right][snapback]4204103[/snapback][/right]

Thanks a lot for the tip. What should be inside .htaccess file?
I doubt however that there is a feature to restrict admin access by IP in NucleusCMS, but I'll look... It's a small CMS, mainly meant for blogs, but it fits my needs pretty well.
sandrodz
you can restrict access, via htaccess, just by going to cpanel of your host and configuring it...

if you want to do it manually, read this: http://www.javascriptkit.com/howto/htaccess.shtml
alex318
Most probably it is the Nucleus CMS that have exploit. Input "Nucleus CMS exploit" as the keyword on major Search Engine like Google or Yahoo and you will get a bunch of results.
attagirl
too bad that everyone on the net is not honest and has honest intentions. As stated above I would be cautious about any yearly hosting plan simply because many people like the opportunity to change hosting plans if they are not happy with one.
Savior
I have paid for a year with GoDaddy.com and I love them.
alex318
QUOTE(Savior @ Jan 20 2006, 03:16 PM)
I have paid for a year with GoDaddy.com and I love them.
[right][snapback]4217825[/snapback][/right]


It is ok because Godaddy is a established company with quite reliable service.
kiwideals
I offer cheaper hosting plans when paying yearly.
$3 per Gb... I would happily match that, currently I am looking at high-bandwidth sites and charge 9.99 for 20Gb bandwidth (mthly)
so 3 bucks a gig Id happily accept.
Although I do not own my servers, they are located in a very reliable datacenter, and I have been using them for a long time. I also spread risk across several dedicated servers in different data centers.
anyone could get a dedicated server (usually cost between 200-600 per mth)
with that you would likely get 1000-1500Gb mthly bandwidth, calculated at $3 per Gb if you fill the server thats over $2000 per mth profit with minimal outgoings.
price is never a good way to decide on a good host, even the expensive ones can be dodgy. Go with recomendations from friends, people you know who already have websites, ask them who their host is, and check them out.
Kiwi
sandrodz
kiwideals
it's a wrong place to advertise...yearly plans are scam! never touch them
wasatch9
This is a big problem in alot of scripts that are out there. I have found numerous holes in HYIP scripts, surf scripts these types of scripts that you have....unless you are a programmer expect something like this to happen.

If someone knows the script, they then know the url to get inside and do some damage. The .htaccess idea is a very good one and should be implemented...

Oh and always back things up somewhere else. We have all lost things because of no back up...
biggrin.gif

Oh and as others have said, never pay for a yearly plan unless you have had good history with the hosting provider. Personally I would never do a year plan with anyone...but that is just me...
Dannyboyonline
QUOTE(sandrodz @ Jan 13 2006, 07:12 PM)
well, you get what you pay for... 3$ p/m for 1gb is insane low price... anyways, it might not be host but your script - it's impossible to say that either of those is 100% responsible
[right][snapback]4201738[/snapback][/right]


I have the same offer on my own server, and we havent had anything but 100% uptime, the main difference is.

If you have a good server! things like this wont happen.

PS: The script might have also been a fault for this, since i see no real reason y a webhost would do this to his clients.

Danny...
sandrodz
Dannyboyonline

sorry, I didn't mean your host - well basically my point is that I have to pay for system admin, I have to pay light/room rental fees / I've to pay energy fees, I've to pay taxes - I have to pay to support employees, I don't how people can efford host for 1-2$ millions of GB-s! that's just insane... or you are just another reseller.

yes sure, if you are running a good server that won't happen. But the point is that for those low fees you cannot efford good hosting!

yes I also agree that it could also be scripts fault
Dannyboyonline
LOL sandrodz let me explain how it works with my company,

We were mainly a local company selling hosting only to our local audiece for the last couple of years. Since here in our country hosting is still highly priced, we managed to get a good number of clients who took advantage of our prices and that is why we can afford to sell hosting at very low prices.

sandrodz no need for sorries tongue.gif we're all discussing here smile.gif i know u didnt mean my host, i was just counter-explianing your statement thats all smile.gif

Danny...
attagirl
QUOTE(kiwideals @ Jan 27 2006, 09:23 PM)
I offer cheaper hosting plans when paying yearly.
$3 per Gb... I would happily match that, currently I am looking at high-bandwidth sites and charge 9.99 for 20Gb bandwidth (mthly)
so 3 bucks a gig Id happily accept.
Although I do not own my servers, they are located in a very reliable datacenter, and I have been using them for a long time. I also spread risk across several dedicated servers in different data centers.
anyone could get a dedicated server (usually cost between 200-600 per mth)
with that you would likely get 1000-1500Gb mthly bandwidth, calculated at $3 per Gb if you fill the server thats over $2000 per mth profit with minimal outgoings.
price is never a good way to decide on a good host, even the expensive ones can be dodgy. Go with recomendations from friends, people you know who already have websites, ask them who their host is, and check them out.
Kiwi
[right][snapback]4237386[/snapback][/right]


This is what many companies do, and I would recommend that if you are very established that you continue to offer discounts to your yearly members. I think that not all yearly hosting plans are a scam. They are established to keep customers a long period of time. But you have to make sure that you have excellent service always and that those longer hosted companies are treated extremely well.

I agree that just because they are more expensive that does not make them better. I think at one time or another most every company that has a site will change hosts for whatever reason. You need to do some work for yourself and ask around, check people out, and see how realiable the hosting place is and not just decide because people tell you that lower prices are crappy.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.